Sanjivkumarroshan / csipsimple

Automatically exported from code.google.com/p/csipsimple
0 stars 0 forks source link

Unable to Invoke Compiler. #2854

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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-linu
x-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

Original issue reported on code.google.com by myasir...@gmail.com on 15 Dec 2014 at 8:23

GoogleCodeExporter commented 9 years ago
did you solve it ? i am facing the save problem.

Original comment by lw8...@gmail.com on 17 Jan 2015 at 8:48

GoogleCodeExporter commented 9 years ago
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.  

Original comment by myasir...@gmail.com on 17 Jan 2015 at 9:18

GoogleCodeExporter commented 9 years ago
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/

Original comment by lw8...@gmail.com on 17 Jan 2015 at 9:53

GoogleCodeExporter commented 9 years ago
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.

Original comment by myasir...@gmail.com on 17 Jan 2015 at 10:34

GoogleCodeExporter commented 9 years ago
thks, some patch i merge missed caused my problem. i solved now. 

Original comment by lw8...@gmail.com on 19 Jan 2015 at 2:11

GoogleCodeExporter commented 9 years ago

Original comment by r3gis...@gmail.com on 22 Jun 2015 at 11:31