zighouse / doubango

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

Unable to compile the shared lib for Android #206

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. I have made the changes based on the documentation.
2. when i run the following command ../bindings/java/android/buildAll.sh

What is the expected output? What do you see instead?

(cd ../tinySAK; make -f droid-makefile clean)
libtinySAK_armv5te.so
(cd ../tinySAK; make -f droid-makefile all; cp -f libtinySAK_armv5te.a 
/Users/warren/Desktop/mydoubs/doubango/branches/2.0/doubango/android-projects/ou
tput)
gcc -c    -I/opt/android-ndk/platforms/android-8/arch-arm/usr/include 
-L/opt/android-ndk/sources/cxx-stl/gnu-libstdc++/4.6/include -msoft-float -fpic 
-fno-exceptions -mthumb-interwork -funwind-tables -fstack-protector -D__arm__ 
-D__ARM_ARCH__ -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ 
-D__ARM_ARCH_5TE__ -MMD -MP -fno-short-enums -DWEBRTC_ANDROID -DWEBRTC_ARCH_ARM 
-D__ANDROID__ -DANDROID=1  -ffunction-sections -fdata-sections -march=armv5te 
-mtune=xscale -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64 -Os 
-s -static src/tsk.c -o src/tsk.o
gcc: error trying to exec 'cc1': execvp: No such file or directory

What version of the product are you using? On what operating system?

Mac OS X Lion 10.7.5

Please provide any additional information below.

I am new to this kind of compilation please help. 

Original issue reported on code.google.com by amitbagg...@gmail.com on 4 Feb 2013 at 6:21