Search code examples
x86makefilesippjsipportaudio

PJSIP Error building for x86


Hello fellow developers,

I have successfully built for armeabi-v7a, armeabi... And when I am trying to build PJSIP for x86 ABI using:

TARGET_ABI=x86 ./configure-android --use-ndk-cflags --with-openh264=/root/openh264-x86 --with-libyuv=/root/libyuv-x86/jni --with-ssl=/root/openssl-x86
make dep && make

I am getting errors:

make[3]: *** [output/libportaudio-x86-unknown-none/pa_unix_util.o] Error 1
make[3]: Leaving directory `/root/pjproject-x86/third_party/build/portaudio'
make[2]: *** [libportaudio-x86-unknown-none.a] Error 2
make[2]: Leaving directory `/root/pjproject-x86/third_party/build/portaudio'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/root/pjproject-x86/third_party/build'
make: *** [all] Error 1

Full error log

Where and What am I doing wrong?

Thanks in advance


Solution

  • I have resolved issue, using ready "script"..

    pjsip-android-builder

    Simply follow the instructions :)