Compiling pjsip2.2.1 for Android

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

 



Dear all,

I am trying to compile pjsip 2.2.1 for Android,

I have come so far as

$ cd /path/to/your/pjsip/dir
$ export ANDROID_NDK_ROOT=/path_to_android_ndk_dir
$ ./configure-android
$ make dep && make clean && make

When I get this error

/home/avant/adt-bundle-linux-x86_64-20130917/android-ndk-r9d/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc
-c -Wall -DPJ_AUTOCONF=1
 -I/home/avant/adt-bundle-linux-x86_64-20130917/android-ndk-r9d/platforms/android-19/arch-arm/usr/include
-I/home/avant/adt-bundle-linux-x86_64-20130917/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.8/include
-I/home/avant/adt-bundle-linux-x86_64-20130917/android-ndk-r9d/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi/include
-DPJ_IS_BIG_ENDIAN=0 -DPJ_IS_LITTLE_ENDIAN=1
 -I/data/work/voip/pjproject-2.2.1/third_party/build/speex
-I/data/work/voip/pjproject-2.2.1/third_party/speex/include
-DPJMEDIA_HAS_OPENCORE_AMRNB_CODEC=0 -DPJMEDIA_HAS_OPENCORE_AMRWB_CODEC=0
-I/data/work/voip/pjproject-2.2.1/third_party/build/srtp
-I/data/work/voip/pjproject-2.2.1/third_party/srtp/crypto/include
-I/data/work/voip/pjproject-2.2.1/third_party/srtp/include
-DPJMEDIA_RESAMPLE_IMP=PJMEDIA_RESAMPLE_LIBRESAMPLE
-DPJMEDIA_AUDIO_DEV_HAS_WMME=0 -I../include -I../../pjlib/include
-I../../pjlib-util/include -I../../pjmedia/include -I../../pjnath/include
-I../.. \
 -o output/pjmedia-audiodev-arm-unknown-linux-androideabi/errno.o \
 ../src/pjmedia-audiodev/errno.c
../src/pjmedia-audiodev/errno.c:23:26: fatal error: portaudio.h: No such
file or directory
 #   include <portaudio.h>

compilation terminated.
make[2]: ***
[output/pjmedia-audiodev-arm-unknown-linux-androideabi/errno.o] Error 1
make[2]: Leaving directory `/data/work/voip/pjproject-2.2.1/pjmedia/build'
make[1]: *** [libpjmedia-audiodev-arm-unknown-linux-androideabi.a] Error 2
make[1]: Leaving directory `/data/work/voip/pjproject-2.2.1/pjmedia/build'
make: *** [all] Error 1



It looks strange to me, because all those dependancies files are there, but
somehow when it want to compile codes
under pjproject-2.2.1/pjmedia/src/pjmedia, they are included.

I need to compile it with port-audio, so "--enable-ext-sound" is not an
option for me.

Is there any flag that I am missing?

Thanks,
Saeed
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20140411/f6387a36/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