Greetings,
I have the following problem, I can't initiate build for PJSIP for armeabi-v7a arch.
I have applied patch #1950 i found here: https://trac.pjsip.org/repos/ticket/1950 but then I ended up using the configure_android script from revision 5542 found here https://trac.pjsip.org/repos/browser/pjproject/trunk/configure-android
I use the following script to start building:
export ANDROID_NDK_ROOT=/home/devshark/Android/android-ndk-r13b
export JAVA_HOME=/home/devshark/Android/jdk1.8.0_111
export ANDROID_SDK_ROOT=/home/devshark/Android/Sdk/tools
export OPENSSL_ROOT=/home/devshark/SCRATCH/pjsip-repo/openssl-android-incr
export APP_PLATFORM=android-14
export TARGET_ABI=armeabi-v7a
export PATH=$ANDROID_NDK_ROOT:$PATH
make distclean && make clean
NDK_TOOLCHAIN_VERSION=4.9 TARGET_ABI=armeabi-v7a ./configure-android --use-ndk-cflags --with-ssl=$OPENSSL_ROOT
make dep && make clean && make
cd pjsip-apps/src/swig
make distclean && make clean
make
Thing is, it works fine for armeabi, but for armeabi-v7a i get the following errors:
devshark@ubuntu:~/SCRATCH/pjsip-repo/pjproject-2.5.5$ . envsetup-v7a.sh
Makefile:1: build.mak: No such file or directory
Makefile:2: build/host-.mak: No such file or directory
make: *** No rule to make target 'build/host-.mak'. Stop.
/home/devshark/Android/android-ndk-r13b/build/core/add-application.mk:198: *** Android NDK: Aborting... . Stop.
configure-android error: compiler not found, please check environment settings (TARGET_ABI, etc)
Makefile:1: build.mak: No such file or directory
Makefile:2: build/host-.mak: No such file or directory
make: *** No rule to make target 'build/host-.mak'. Stop.
Makefile:1: ../../../build.mak: No such file or directory
make: *** No rule to make target '../../../build.mak'. Stop.
Makefile:1: ../../../build.mak: No such file or directory
make: *** No rule to make target '../../../build.mak'. Stop.
At first I thought it was missing an AndroidManifest.xml but after creating a dummy manifest, i found out that was not the case and that did not solve the problem...
I also tried exporting the project path like this
export NDK_PROJECT_PATH=/home/devshark/SCRATCH/pjsip-repo/pjproject-2.5.5/pjsip-apps/src/samples/android_sample
thinking it may solve the issue, but no avail.
It wont even start building for the armeabi-v7a abi... so, can anyone shed some light on this issue please?
FYI, running just the configure_android with --use-ndk-cflags doesn't work either:
devshark@ubuntu:~/SCRATCH/pjsip-repo/pjproject-2.5.5$ ./configure-android --use-ndk-cflags
/home/devshark/Android/android-ndk-r13b/build/core/add-application.mk:198: *** Android NDK: Aborting... . Stop.
configure-android error: compiler not found, please check environment settings (TARGET_ABI, etc)
Kind regards,
Aleksandar
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org