pjsip 2.5.5 build error

匿名 (未验证) 提交于 2019-12-03 08:41:19

问题:

I'm trying to build pjsip for android with NDK r13b. Standard build like ./configure-android --with-opus=/home/user/pjsip/pjproject/opus-dev-lib works perfect. But i need several TARGET_ABI and all my tries to do it ends with configure-android error: compiler not found, please check environment settings (TARGET_ABI, etc)

Commands as TARGET_ABI=armeabi-v7a ./configure-android --use-ndk-cflags --with-opus=/home/user/pjsip/pjproject/opus-dev-lib

TARGET_ABI=armeabi-v7a APP_PLATFORM=android-21 ./configure-android --use-ndk-cflags --with-opus=/home/user/pjsip/pjproject/opus-dev-lib return the same error.

I'm search a lot of links but no result. I know that error is in configure-android file and throwing by

  if test "x${CC}" = "x" || test ! -e ${CC}; then       echo "$F error: compiler not found, please check environment       settings     (TARGET_ABI, etc)"     exit 1   fi 

But i have no idea how to solve it. Thanks in advance.

回答1:

So, i'm finished with build.

Using Alex Gotev build and modify config.conf, prepare-build-system and build for needed configuration and latest pjsip source. Also i had to use latest libyuv from googlesource and NDK r10e.

UPDATED

Using android-ndk-r13 or later use NDK_TOOLCHAIN_VERSION=4.9 TARGET_ABI=armeabi-v7a ./configure-android --use-ndk-cflags. At the moment it's able to build pjsip 2.6



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!