Hi All,
I am trying to use PJSIP lib for our Android application running on MIPS platform. As per the guidelines specified in https://trac.pjsip.org/repos/wiki/Getting-Started/Android
I tried following steps $ cd /home/mehul/project/pjsip $ export ANDROID_NDK_ROOT=/home/mehul/Android/Sdk/ndk-bundle $ TARGET_ABI=mips ./configure-android --use-ndk-cflags
In result ...
configure-android: APP_PLATFORM not specified, using android-24
configure-android error: compiler not found, please check environment settings (TARGET_ABI, etc) Debugged this and found configure-android is unable to locate mips tool-chain folder and later I explicitly provided path to NDK_CC and NDK_CX, which helped me little more but again there is a new error:
checking build system type... x86_64-unknown-linux-gnu
checking host system type... mipsel-unknown-linux-android checking target system type... mipsel-unknown-linux-android checking for mipsel-linux-android-gcc... /home/mehul/Android/Sdk/ndk-bundle/toolchains/mipsel-linux-android-4.9/prebuilt/linux-x86_64/bin/mipsel-linux-android-gcc checking whether the C compiler works... no aconfigure: error: in `/home/mehul/workspace/feature/pjproject/trunk': aconfigure: error: C compiler cannot create executables >From config.log: mipsel-linux-android-gcc: error: mipsel-none-linux-android: No such file or directory
mipsel-linux-android-gcc: error: mipsel-none-linux-android: No such file or directory mipsel-linux-android-gcc: error: unrecognized command line option '-target' mipsel-linux-android-gcc: error: unrecognized command line option '-target' aconfigure:2970: $? = 1 aconfigure:3008: result: no aconfigure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "pjproject" | #define PACKAGE_TARNAME "pjproject" | #define PACKAGE_VERSION "2.x" | #define PACKAGE_STRING "pjproject 2.x" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } aconfigure:3013: error: in `/home/mehul/workspace/feature/pjproject/trunk': aconfigure:3015: error: C compiler cannot create executables Please let me know if I am missing anything in configuring.
Thanks, Mehul Hirpara
|
_______________________________________________ Visit our blog: http://blog.pjsip.org pjsip mailing list pjsip@xxxxxxxxxxxxxxx http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org