linphone-android“运行prepare.py时出错”

时间:2016-06-28 09:50:22

标签: android ubuntu-14.04 linphone

我正在Ubuntu 14.04上构建linphone-android。 根据README文件,我完成了所有预安装,运行check_tools.sh,并发现没问题。

但是,然后运行prepare.py,我遇到了以下问题(在cmake / CMakeFiles / CMakeError.log中):

使用以下输出确定C编译器是否失败:

Change Dir: /home/joelly/Downloads/linphone-android/WORK/android-arm/cmake/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec3545077747/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec3545077747.dir/build.make CMakeFiles/cmTryCompileExec3545077747.dir/build
make[1]: Entering directory `/home/joelly/Downloads/linphone-android/WORK/android-arm/cmake/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/joelly/Downloads/linphone-android/WORK/android-arm/cmake/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec3545077747.dir/testCCompiler.c.o
/opt/android/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang  -DANDROID -fPIE -isystem /opt/android/ndk/sources/android/cpufeatures -isystem /opt/android/ndk/sources/cxx-stl/gnu-libstdc++/4.9/include -isystem /opt/android/ndk/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi/include -isystem /opt/android/ndk/sources/android/support/include    -ffunction-sections -funwind-tables -fstack-protector -no-canonical-prefixes -march=armv5te -mtune=xscale -msoft-float -fomit-frame-pointer -fno-strict-aliasing -o CMakeFiles/cmTryCompileExec3545077747.dir/testCCompiler.c.o   -c /home/joelly/Downloads/linphone-android/WORK/android-arm/cmake/CMakeFiles/CMakeTmp/testCCompiler.c
error: unknown target CPU 'armv5te'
make[1]: Leaving directory `/home/joelly/Downloads/linphone-android/WORK/android-arm/cmake/CMakeFiles/CMakeTmp'
make[1]: *** [CMakeFiles/cmTryCompileExec3545077747.dir/testCCompiler.c.o] Error 1
make: *** [cmTryCompileExec3545077747/fast] Error 2

1 个答案:

答案 0 :(得分:0)

好极了! 我将我的cmake更新到最新版本,然后解决它!