cgy987512 / doubango

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

Buld tinyWrap using NEON=yes gives an errors #72

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.use instructions on the Build wiki
2.run this command 

../bindings/java/android/buildAll.sh NEON=yes LICENSE=gpl NO_FREE=yes 
FFMPEG=yes H264=yes THEORA=yes OPENCORE_AMR=yes SPEEX_DSP=yes SPEEX_JB=yes 
SPEEX_RESAMPLER=yes SPEEX_DENOISE=1 SPEEX=yes ILBC=yes LIBGSM=yes G729=yes

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

the build should work fine with a result on output folder 
 libtinyWRAP_armv7-a.so

but i see this error :

cp: cannot stat `libtinySAK_armv7-a.a': No such file or directory
make: *** [all] Error 1

What version of the product are you using? On what operating system?
Android IMSDROID 2.x

Please provide any additional information below.

i checkout the project again from doubango but i dont find this file at all.

Original issue reported on code.google.com by wmas...@gmail.com on 21 Sep 2011 at 7:30

GoogleCodeExporter commented 9 years ago
Hi

now am try build on linux the above error ok but i get the below one that come 
from root.mk file in the line 

export CFLAGS_COMMON+= -march=$(MARCH) -mtune=cortex-a8 -mfpu=neon 
-DHAVE_NEON=1 \

if i remove the params -march=$(MARCH) -mtune=cortex-a8 -mfpu=neon it works and 
complete the build but in this case we dont have any effect for NEON=yes.

the error :

tinyWRAP_wrap.cxx:1: error: bad value (cortex-a8) for -mtune= switch
tinyWRAP_wrap.cxx:1: error: bad value (armv7-a) for -march= switch
tinyWRAP_wrap.cxx:1: error: invalid floating point option: -mfpu=neon
make[1]: *** [tinyWRAP_wrap.o] Error 1

any idea ?

Original comment by wmas...@gmail.com on 22 Sep 2011 at 11:25

GoogleCodeExporter commented 9 years ago
hi how to build the frame work in Linux. I am new to Doubango.. Kindly help on 
this..
if you have any make file. kindly share it..

Original comment by skarthik...@gmail.com on 22 Sep 2011 at 2:00

GoogleCodeExporter commented 9 years ago
hi 

First of all you should download :

1- Android SDK for linux 
(http://dl.google.com/android/android-sdk_r13-linux_x86.tgz) extract it under 
/home/<username>/android-SDK

2- download NDK r4b for linux 
(http://www.crystax.net/en/download/android-ndk-r4-linux-x86-crystax-4.tar.bz2) 
extract it under /home/<username>/android-ndk-r4

3- find the attached root.mk (replace the one under doubango\android-projects) 
file and replace <username> with your use folder under home directory where u 
extraxt the SDK and NDK folders

4- run this on terminal

export PATH=$ANDROID_NDK_ROOT\build\prebuilt\linux-x86\arm-eabi-4.4.0\bin:$PATH

5- from terminal go under /doubango/android-projects and then run 
../bindings/java/android/gpl.sh

Best Regards

Original comment by wmas...@gmail.com on 23 Sep 2011 at 3:10

Attachments:

GoogleCodeExporter commented 9 years ago
Hi wmas,

I have fallowed the procudure that you described. But it didn't work. i got 
errors as shown in the fallowing logs.

building tinySAK with parameters=NEON=yes

(cd ../tinySAK; make -f droid-makefile clean)
make[1]: Entering directory `/cygdrive/e/Doubango/DoubangoLib/tinySAK'
make[1]: Leaving directory `/cygdrive/e/Doubango/DoubangoLib/tinySAK'
(cd ../tinySAK; make -f droid-makefile all; cp -f libtinySAK_armv7-a.a 
/cygdrive/e/Doubango/DoubangoLib/android-projects/output)
make[1]: Entering directory `/cygdrive/e/Doubango/DoubangoLib/tinySAK'
arm-eabi-gcc-4.4.0 -c    
-I/cygdrive/c/android-ndk-r4-crystax/build/platforms/android-8/arch-arm/usr/incl
ude  -msoft-float  -fpic  -mthumb-interwork  -ffunction-sections  
-funwind-tables  -fstack-protector  -D__ARM_ARCH_5__  -D__ARM_ARCH_5T__  
-D__ARM_ARCH_5E__  -D__ARM_ARCH_5TE__  -MMD  -MP  -fno-short-enums  -DANDROID  
-march=armv7-a -mtune=cortex-a8 -mfpu=neon -DHAVE_NEON=1  -D__ARM_ARCH_7__ 
-D__ARM_ARCH_7A__ -Wno-psabi -mfloat-abi=softfp  -Os  -fomit-frame-pointer  
-fno-strict-aliasing  -finline-limit=64  -DANDROID -static src/tsk.c -o 
src/tsk.o
make[1]: arm-eabi-gcc-4.4.0: Command not found
droid-makefile:47: recipe for target `src/tsk.o' failed
make[1]: *** [src/tsk.o] Error 127
make[1]: Leaving directory `/cygdrive/e/Doubango/DoubangoLib/tinySAK'
building tinyNET with parameters=NEON=yes

(cd ../tinyNET; make -f droid-makefile clean)
make[1]: Entering directory `/cygdrive/e/Doubango/DoubangoLib/tinyNET'
make[1]: Leaving directory `/cygdrive/e/Doubango/DoubangoLib/tinyNET'
(cd ../tinyNET; make -f droid-makefile all; cp -f libtinyNET_armv7-a.a 
/cygdrive/e/Doubango/DoubangoLib/android-projects/output)
make[1]: Entering directory `/cygdrive/e/Doubango/DoubangoLib/tinyNET'
arm-eabi-gcc-4.4.0 -c    
-I/cygdrive/c/android-ndk-r4-crystax/build/platforms/android-8/arch-arm/usr/incl
ude  -msoft-float  -fpic  -mthumb-interwork  -ffunction-sections  
-funwind-tables  -fstack-protector  -D__ARM_ARCH_5__  -D__ARM_ARCH_5T__  
-D__ARM_ARCH_5E__  -D__ARM_ARCH_5TE__  -MMD  -MP  -fno-short-enums  -DANDROID  
-march=armv7-a -mtune=cortex-a8 -mfpu=neon -DHAVE_NEON=1  -D__ARM_ARCH_7__ 
-D__ARM_ARCH_7A__ -Wno-psabi -mfloat-abi=softfp  -Os  -fomit-frame-pointer  
-fno-strict-aliasing  -finline-limit=64  -DANDROID -static -DHAVE_OPENSSL=1 
-I../thirdparties/android/include -I../tinySAK/src -I./src src/tnet.c -o 
src/tnet.o
make[1]: arm-eabi-gcc-4.4.0: Command not found
droid-makefile:97: recipe for target `src/tnet.o' failed
make[1]: *** [src/tnet.o] Error 127
make[1]: Leaving directory `/cygdrive/e/Doubango/DoubangoLib/tinyNET'
building tinyHTTP with parameters=NEON=yes

(cd ../tinyHTTP; make -f droid-makefile clean)
make[1]: Entering directory `/cygdrive/e/Doubango/DoubangoLib/tinyHTTP'
make[1]: Leaving directory `/cygdrive/e/Doubango/DoubangoLib/tinyHTTP'
(cd ../tinyHTTP; make -f droid-makefile all; cp -f libtinyHTTP_armv7-a.a 
/cygdrive/e/Doubango/DoubangoLib/android-projects/output)
make[1]: Entering directory `/cygdrive/e/Doubango/DoubangoLib/tinyHTTP'
arm-eabi-gcc-4.4.0 -c    
-I/cygdrive/c/android-ndk-r4-crystax/build/platforms/android-8/arch-arm/usr/incl
ude  -msoft-float  -fpic  -mthumb-interwork  -ffunction-sections  
-funwind-tables  -fstack-protector  -D__ARM_ARCH_5__  -D__ARM_ARCH_5T__  
-D__ARM_ARCH_5E__  -D__ARM_ARCH_5TE__  -MMD  -MP  -fno-short-enums  -DANDROID  
-march=armv7-a -mtune=cortex-a8 -mfpu=neon -DHAVE_NEON=1  -D__ARM_ARCH_7__ 
-D__ARM_ARCH_7A__ -Wno-psabi -mfloat-abi=softfp  -Os  -fomit-frame-pointer  
-fno-strict-aliasing  -finline-limit=64  -DANDROID -static -I../tinySAK/src 
-I../tinyNET/src -I./include src/thttp.c -o src/thttp.o
make[1]: arm-eabi-gcc-4.4.0: Command not found
droid-makefile:51: recipe for target `src/thttp.o' failed
make[1]: *** [src/thttp.o] Error 127
make[1]: Leaving directory `/cygdrive/e/Doubango/DoubangoLib/tinyHTTP'
building tinyXCAP with parameters=NEON=yes

(cd ../tinyXCAP; make -f droid-makefile clean)
make[1]: Entering directory `/cygdrive/e/Doubango/DoubangoLib/tinyXCAP'
make[1]: Leaving directory `/cygdrive/e/Doubango/DoubangoLib/tinyXCAP'
(cd ../tinyXCAP; make -f droid-makefile all; cp -f libtinyXCAP_armv7-a.a 
/cygdrive/e/Doubango/DoubangoLib/android-projects/output)
make[1]: Entering directory `/cygdrive/e/Doubango/DoubangoLib/tinyXCAP'
arm-eabi-gcc-4.4.0 -c    
-I/cygdrive/c/android-ndk-r4-crystax/build/platforms/android-8/arch-arm/usr/incl
ude  -msoft-float  -fpic  -mthumb-interwork  -ffunction-sections  
-funwind-tables  -fstack-protector  -D__ARM_ARCH_5__  -D__ARM_ARCH_5T__  
-D__ARM_ARCH_5E__  -D__ARM_ARCH_5TE__  -MMD  -MP  -fno-short-enums  -DANDROID  
-march=armv7-a -mtune=cortex-a8 -mfpu=neon -DHAVE_NEON=1  -D__ARM_ARCH_7__ 
-D__ARM_ARCH_7A__ -Wno-psabi -mfloat-abi=softfp  -Os  -fomit-frame-pointer  
-fno-strict-aliasing  -finline-limit=64  -DANDROID -static -I../tinySAK/src 
-I../tinyNET/src -I../tinyHTTP/include -I./include src/txcap.c -o src/txcap.o
make[1]: arm-eabi-gcc-4.4.0: Command not found
droid-makefile:25: recipe for target `src/txcap.o' failed
make[1]: *** [src/txcap.o] Error 127
make[1]: Leaving directory `/cygdrive/e/Doubango/DoubangoLib/tinyXCAP'
building tinyIPSec with parameters=NEON=yes

(cd ../tinyIPSec; make -f droid-makefile clean)

Original comment by balaji.m...@gmail.com on 9 Jul 2013 at 11:38