ubuntu 14.04 - linphone-android "Error while using running prepare.py" -
i building linphone-android on ubuntu 14.04. according the readme file, finish pre-installation, run check_tools.sh, , find no problem.
but, running prepare.py, meet below problem(in cmake/cmakefiles/cmakeerror.log):
determining if c compiler works failed following output:
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
bravo! update cmake newest version , , work out!
Comments
Post a Comment