Originally created by: myasir...@gmail.com
I was building native library for csipsimple and facing this issue. what should i do to move further?
[root@localhost CSipSimple]# make
# External sources fetched out from external repos/zip
make[1]: Entering directory `/home/yasir/CSipSimple-trunk/CSipSimple/jni/webrtc'
# Pre process generation done
make[1]: Leaving directory `/home/yasir/CSipSimple-trunk/CSipSimple/jni/webrtc'
make[1]: Entering directory `/home/yasir/CSipSimple-trunk/CSipSimple/jni/libvpx'
cd build/armeabi; \
if [ "build/armeabi/config.mk" = "build/armeabi/config.mk" ]; then TGT=armv5te-android-gcc; fi; \
if [ "build/armeabi-v7a/config.mk" = "build/armeabi/config.mk" ]; then TGT=armv7-android-gcc; fi; \
if [ "build/x86/config.mk" = "build/armeabi/config.mk" ]; then TGT=x86-android-gcc; fi; \
if [ "build/mips/config.mk" = "build/armeabi/config.mk" ]; then TGT=mips32-android-gcc; fi; \
BUILD_PFX=jni/libvpx/build/armeabi/ ../../sources/configure --target=$TGT --disable-examples --sdk-path=/opt/ndk
Configuring selected codecs
enabling vp8_encoder
enabling vp8_decoder
Configuring for target 'armv5te-android-gcc'
enabling armv5te
enabling edsp
enabling realtime_only
Unable to invoke compiler: /opt/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc --sysroot=/opt/ndk/sources/android/libportable/arch-arm -I/opt/ndk/sources/android/cpufeatures/ -O3 -fPIC -Wall -Wdeclaration-after-statement -Wdisabled-optimization -Wpointer-arith -Wtype-limits -Wcast-qual -Wimplicit-function-declaration -Wuninitialized -Wunused-variable -Wunused-but-set-variable -Wno-unused-function
Configuration failed. This could reflect a misconfiguration of your
toolchains, improper options selected, or another problem. If you
don't see any useful error messages above, the next step is to look
at the configure error log file (config.err) to determine what
configure was trying to do when it died.
make[1]: *** [build/armeabi/config.mk] Error 1
make[1]: Leaving directory `/home/yasir/CSipSimple-trunk/CSipSimple/jni/libvpx'
make: *** [libvpx-preprocess] Error 2
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: lw8...@gmail.com
did you solve it ? i am facing the save problem.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: myasir...@gmail.com
instead of 'make' i use 'make SWIG=swig' and i downloaded silk from google and extract it into CSipSimple>silk folder. if you have silk then just use new make command. i hope it will work. machine on which i was working is currently not in my range but i hope this will work.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: lw8...@gmail.com
thks, but make SWIG=swig command is not works for me.
make[1]: Entering directory `/home/macxen/wenson/CSipSimple/CSipSimple/jni/libvpx'
#@quilt push -a && \ #touch .patched_sources
cd build/armeabi; \ if [ "build/armeabi/config.mk" = "build/armeabi/config.mk" ]; then TGT=armv5te-android-gcc; fi; \ if [ "build/armeabi-v7a/config.mk" = "build/armeabi/config.mk" ]; then TGT=armv7-android-gcc; fi; \ if [ "build/x86/config.mk" = "build/armeabi/config.mk" ]; then TGT=x86-android-gcc; fi; \ if [ "build/mips/config.mk" = "build/armeabi/config.mk" ]; then TGT=mips32-android-gcc; fi; \ BUILD_PFX=jni/libvpx/build/armeabi/ ../../sources/configure --target=$TGT --disable-examples --sdk-path=/home/macxen/wenson/android-ndk-linux
Configuring selected codecs
enabling vp8_encoder
enabling vp8_decoder
Configuring for target 'armv5te-android-gcc'
enabling armv5te
enabling edsp
enabling realtime_only
Unable to invoke compiler: /home/macxen/wenson/android-ndk-linux/build/tools/toolchain-patches/gcc --sysroot=/home/macxen/wenson/android-ndk-linux/platforms/android-14/arch-arm -I/home/macxen/wenson/android-ndk-linux/sources/android/cpufeatures/
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: myasir...@gmail.com
use android ndk [r8] instead of [r10]. i hope it will resolve this. and if you are using [r8] then try to cut build and source older and retry with make command. ndk [r10] has some issues so i had to shift move on [r8]. try it. make SWIG=swig use when you face swig error.
Related
Commit: [r10]
Commit: [r8]
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: lw8...@gmail.com
thks, some patch i merge missed caused my problem. i solved now.