chiragck9 / imsdroid

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

Build Error #481

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Building libtinyWRAP.so without G729AB

a syntax error

/home/hyjiao/android-ndk/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86
/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/
ld: error: 
/home/hyjiao/android-ndk/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86
/arm-linux-androideabi/lib/ldscripts/armelf_linux_eabi.xsc:60:22: syntax error, 
unexpected '('
/home/hyjiao/android-ndk/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86
/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-androideabi/bin/
ld: fatal error: unable to parse script file 
/home/hyjiao/android-ndk/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86
/arm-linux-androideabi/lib/ldscripts/armelf_linux_eabi.xsc
collect2: error: ld returned 1 exit status
make[1]: *** [libtinyWRAP_armv5te.so] 错误 1
make[1]:正在离开目录 `/home/hyjiao/doubango/bindings/java/android'
arm-linux-androideabi-strip: './libtinyWRAP_armv5te.so': No such file
cp: 无法获取"./libtinyWRAP_armv5te.so" 的文件状态(stat): 
没有那个文件或目录
make: *** [all] 错误 1

Original issue reported on code.google.com by hyjia...@gmail.com on 2 Sep 2013 at 9:52

Attachments:

GoogleCodeExporter commented 8 years ago
I got the same error. win7.

1, I check out doubango source code from http://doubango.googlecode.com/svn.
2, Install cygwin with gnu make 4.0.
3, Modified root.mk.
4, NDK version is r9c.

error msg:
user@computer /cygdrive/e/code/doubango/branches/2.0/doubango/android-projects
$ ./buildAll.sh NEON=yes DEBUG=yes > build.log
e:/android_dev/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/win
dows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-andro
ideabi/bin/ld.exe: error: 
e:/android_dev/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/win
dows-x86_64/arm-linux-androideabi/lib/ldscripts/armelf_linux_eabi.xsc:60:22: 
syntax error, unexpected '('
e:/android_dev/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/win
dows-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.8/../../../../arm-linux-andro
ideabi/bin/ld.exe: fatal error: unable to parse script file 
e:/android_dev/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/win
dows-x86_64/arm-linux-androideabi/lib/ldscripts/armelf_linux_eabi.xsc
collect2.exe: error: ld returned 1 exit status
make[1]: *** [libtinySAK_armv5te.so] Error 1
cp: 无法获取"libtinySAK_armv5te.so" 的文件状态(stat): No such file or 
directory
make: *** [all] Error 1

Original comment by aday...@gmail.com on 2 Feb 2014 at 10:09

Attachments:

GoogleCodeExporter commented 8 years ago
en, I think i solved the problem. 

1,   Go to the android-projects root directory:

    cd $(DOUBANGO_HOME)/android-projects

2,   Build all projects:

    ../bindings/java/android/buildAll.sh

    # For neon optimizations
    #../bindings/java/android/buildAll.sh NEON=yes

build script is  ../bindings/java/android/buildAll.sh not 
$(DOUBANGO_HOME)/android-projects/buildAll.sh

Original comment by aday...@gmail.com on 2 Feb 2014 at 10:15

GoogleCodeExporter commented 8 years ago
sorry, I compile tinyWRAP failed still with the same error.

Original comment by aday...@gmail.com on 2 Feb 2014 at 2:16

GoogleCodeExporter commented 8 years ago
I also encountered this problem now. Do you now have not solved the problem?

Original comment by lxs1...@gmail.com on 20 Dec 2014 at 4:13