[pjsip] Regarding library build (Ernesto Celis)

Sneha Bansal sneha at hostnsoft.com
Fri May 30 04:56:01 EDT 2014


Hi , Here are my system details  and process I have done .When I build lib
pjsip with default architecture it is generating libpjsua2.so  which is for
armeabi architecture which is running on armeabi -v7 but not on armeabi
-v6.

But when I built lib for any other architecture usiing this
*TARGET_ABI=armeabi-v7a
./configure-android --use-ndk-cflags  *I got an error after runnning make
command.

*Error : *
/Users/sneha/android/android-ndk-r9d/sources/cxx-stl/gnu-
libstdc++/4.8/include/ext/atomicity.h: In function 'void
__gnu_cxx::__atomic_add(volatile _Atomic_word*, int)':
/Users/sneha/android/android-ndk-r9d/sources/cxx-stl/gnu-
libstdc++/4.8/include/ext/atomicity.h:54:38: error: '__ATOMIC_ACQ_REL' was
not declared in this scope
/Users/sneha/android/android-ndk-r9d/sources/cxx-stl/gnu-
libstdc++/4.8/include/ext/atomicity.h:54:54: error: '__atomic_fetch_add'
was not declared in this scope
make[2]: *** [output/pjsua2-lib-arm-unknown-linux-androideabi/account.o]
Error 1
make[1]: *** [libpjsua2-arm-unknown-linux-androideabi.a] Error 2
make: *** [all] Error 1

I have also compiled simple c file with NDK for all architecture and it
generated all libs .But getting error while building lib.


*System Details*
Linux :
CentOS release 6.4 (Final)
arch:  64 bit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20140530/4f135e81/attachment-0002.html>


More information about the pjsip mailing list