Regarding library build (Ernesto Celis)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux