Building pjsip 2.6 for armeabi-v7a with Android NDK

TM
Tailor, Mayur
Fri, May 26, 2017 11:48 AM

Hi,

I am facing some issue.

I am building pjsip for android and want to create .so file for armeabi-v7a
architecture.

i successfully run command for armeabi-v7a

TARGET_ABI=armeabi-v7a ./configure-android --use-ndk-cflags
--with-openh264=/Users/nisha/pjsipnew/openh264-master/android
But problem is where do i find libpjsua2.so file for armeabi-v7a
architecure.

I am following https://trac.pjsip.org/repos/wiki/Getting-Started/Android
for reference.

Please help

Regards
Mayur Tailor

--


DISCLAIMER:This e-mail and any attachment(s) transmitted with it are
intended solely for the use of the intended recipient(s) and may contain
confidential and privileged information. If you are not the named
addressee, you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete it from your system. Any views or opinions
expressed are solely those of the sender and do not necessarily represent
those of Pratham Software or its affiliates or group companies, unless
sender does so with due authority from Pratham Software. Electronic
Correspondence cannot be guaranteed to be secure, timely or error free.
This is subject to change without notice and is intended only for
employees, Licensees and/or affiliates. We do not take responsibility for
acting on time-sensitive instructions sent by email. Any form of
reproduction, dissemination, copying, disclosure, modification,
distribution and/or publication of this e-mail and attachments, if any,
and/or any action taken in reliance of this e-mail, without the prior
written consent of the sender is strictly prohibited. The recipient should
check this e-mail and attachment(s), if any, for the presence of viruses
and/or defects. Pratham Software accepts no liability for any damage caused
by any virus and/or defects transmitted by this email.

Hi, I am facing some issue. I am building pjsip for android and want to create .so file for armeabi-v7a architecture. i successfully run command for armeabi-v7a TARGET_ABI=armeabi-v7a ./configure-android --use-ndk-cflags --with-openh264=/Users/nisha/pjsipnew/openh264-master/android But problem is where do i find *libpjsua2.so* file for *armeabi-v7a* architecure. I am following https://trac.pjsip.org/repos/wiki/Getting-Started/Android for reference. Please help Regards Mayur Tailor -- ------------------------------ *DISCLAIMER:This e-mail and any attachment(s) transmitted with it are intended solely for the use of the intended recipient(s) and may contain confidential and privileged information. If you are not the named addressee, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete it from your system. Any views or opinions expressed are solely those of the sender and do not necessarily represent those of Pratham Software or its affiliates or group companies, unless sender does so with due authority from Pratham Software. Electronic Correspondence cannot be guaranteed to be secure, timely or error free. This is subject to change without notice and is intended only for employees, Licensees and/or affiliates. We do not take responsibility for acting on time-sensitive instructions sent by email. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail and attachments, if any, and/or any action taken in reliance of this e-mail, without the prior written consent of the sender is strictly prohibited. The recipient should check this e-mail and attachment(s), if any, for the presence of viruses and/or defects. Pratham Software accepts no liability for any damage caused by any virus and/or defects transmitted by this email.*
ND
Nick Dowell
Fri, May 26, 2017 3:19 PM

After running make dep and make in the top-level directory, cd into pjsip-apps/src/swig and run make

libpjsua2.so will be produced in pjsip-apps/src/swig/java/android/app/src/main/jniLibs/armeabi/

Confusingly, all architectures produce their output in the jniLibs/armeabi directory.
You can run file libpjsua.so to verify its architecture.

Hope that helps!
Nick

On 26 May 2017, at 12:48, Tailor, Mayur mayur.tailor@thepsi.com wrote:

Hi,

I am facing some issue.

I am building pjsip for android and want to create .so file for armeabi-v7a architecture.

i successfully run command for armeabi-v7a
TARGET_ABI=armeabi-v7a ./configure-android --use-ndk-cflags --with-openh264=/Users/nisha/pjsipnew/openh264-master/android

But problem is where do i find libpjsua2.so file for armeabi-v7a architecure.

I am following https://trac.pjsip.org/repos/wiki/Getting-Started/Android https://trac.pjsip.org/repos/wiki/Getting-Started/Android for reference.

Please help

Regards
Mayur Tailor

After running `make dep` and `make` in the top-level directory, cd into pjsip-apps/src/swig and run `make` libpjsua2.so will be produced in pjsip-apps/src/swig/java/android/app/src/main/jniLibs/armeabi/ Confusingly, all architectures produce their output in the jniLibs/armeabi directory. You can run `file libpjsua.so` to verify its architecture. Hope that helps! Nick > On 26 May 2017, at 12:48, Tailor, Mayur <mayur.tailor@thepsi.com> wrote: > > Hi, > > I am facing some issue. > > I am building pjsip for android and want to create .so file for armeabi-v7a architecture. > > i successfully run command for armeabi-v7a > TARGET_ABI=armeabi-v7a ./configure-android --use-ndk-cflags --with-openh264=/Users/nisha/pjsipnew/openh264-master/android > > But problem is where do i find libpjsua2.so file for armeabi-v7a architecure. > > I am following https://trac.pjsip.org/repos/wiki/Getting-Started/Android <https://trac.pjsip.org/repos/wiki/Getting-Started/Android> for reference. > > Please help > > Regards > Mayur Tailor
TM
Tailor, Mayur
Tue, May 30, 2017 4:46 AM

Hi Nick,

Thanks for reply.

when i am running TARGET_ABI=armeabi-v7a ./configure-android
--use-ndk-cflags
command on mac i am getting configure-android error:
compiler not found, please check environment settings (TARGET_ABI, etc)
error
on my terminal. i am not able to find out reason what i am missing.

please help

Regards
Mayur Tailor

On Fri, May 26, 2017 at 8:49 PM, Nick Dowell nick@nickdowell.com wrote:

After running make dep and make in the top-level directory, cd into
pjsip-apps/src/swig and run make

libpjsua2.so will be produced in pjsip-apps/src/swig/java/
android/app/src/main/jniLibs/armeabi/

Confusingly, all architectures produce their output in the jniLibs/armeabi
directory.
You can run file libpjsua.so to verify its architecture.

Hope that helps!
Nick

On 26 May 2017, at 12:48, Tailor, Mayur mayur.tailor@thepsi.com wrote:

Hi,

I am facing some issue.

I am building pjsip for android and want to create .so file for
armeabi-v7a architecture.

i successfully run command for armeabi-v7a

TARGET_ABI=armeabi-v7a ./configure-android --use-ndk-cflags
--with-openh264=/Users/nisha/pjsipnew/openh264-master/android
But problem is where do i find libpjsua2.so file for armeabi-v7a
architecure.

I am following https://trac.pjsip.org/repos/wiki/Getting-Started/Android
for reference.

Please help

Regards
Mayur Tailor


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

--


DISCLAIMER:This e-mail and any attachment(s) transmitted with it are
intended solely for the use of the intended recipient(s) and may contain
confidential and privileged information. If you are not the named
addressee, you should not disseminate, distribute or copy this e-mail.
Please notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete it from your system. Any views or opinions
expressed are solely those of the sender and do not necessarily represent
those of Pratham Software or its affiliates or group companies, unless
sender does so with due authority from Pratham Software. Electronic
Correspondence cannot be guaranteed to be secure, timely or error free.
This is subject to change without notice and is intended only for
employees, Licensees and/or affiliates. We do not take responsibility for
acting on time-sensitive instructions sent by email. Any form of
reproduction, dissemination, copying, disclosure, modification,
distribution and/or publication of this e-mail and attachments, if any,
and/or any action taken in reliance of this e-mail, without the prior
written consent of the sender is strictly prohibited. The recipient should
check this e-mail and attachment(s), if any, for the presence of viruses
and/or defects. Pratham Software accepts no liability for any damage caused
by any virus and/or defects transmitted by this email.

Hi Nick, Thanks for reply. when i am running *TARGET_ABI=armeabi-v7a ./configure-android --use-ndk-cflags* command on mac i am getting *configure-android error: compiler not found, please check environment settings (TARGET_ABI, etc)* error on my terminal. i am not able to find out reason what i am missing. please help Regards Mayur Tailor On Fri, May 26, 2017 at 8:49 PM, Nick Dowell <nick@nickdowell.com> wrote: > After running `make dep` and `make` in the top-level directory, cd into > pjsip-apps/src/swig and run `make` > > libpjsua2.so will be produced in pjsip-apps/src/swig/java/ > android/app/src/main/jniLibs/armeabi/ > > Confusingly, all architectures produce their output in the jniLibs/armeabi > directory. > You can run `file libpjsua.so` to verify its architecture. > > Hope that helps! > Nick > > > On 26 May 2017, at 12:48, Tailor, Mayur <mayur.tailor@thepsi.com> wrote: > > Hi, > > I am facing some issue. > > I am building pjsip for android and want to create .so file for > armeabi-v7a architecture. > > i successfully run command for armeabi-v7a > > TARGET_ABI=armeabi-v7a ./configure-android --use-ndk-cflags > --with-openh264=/Users/nisha/pjsipnew/openh264-master/android > But problem is where do i find *libpjsua2.so* file for *armeabi-v7a* > architecure. > > I am following https://trac.pjsip.org/repos/wiki/Getting-Started/Android > for reference. > > Please help > > Regards > Mayur Tailor > > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > -- ------------------------------ *DISCLAIMER:This e-mail and any attachment(s) transmitted with it are intended solely for the use of the intended recipient(s) and may contain confidential and privileged information. If you are not the named addressee, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete it from your system. Any views or opinions expressed are solely those of the sender and do not necessarily represent those of Pratham Software or its affiliates or group companies, unless sender does so with due authority from Pratham Software. Electronic Correspondence cannot be guaranteed to be secure, timely or error free. This is subject to change without notice and is intended only for employees, Licensees and/or affiliates. We do not take responsibility for acting on time-sensitive instructions sent by email. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail and attachments, if any, and/or any action taken in reliance of this e-mail, without the prior written consent of the sender is strictly prohibited. The recipient should check this e-mail and attachment(s), if any, for the presence of viruses and/or defects. Pratham Software accepts no liability for any damage caused by any virus and/or defects transmitted by this email.*