jimstin / imsdroid

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

Build error : collect2: ld returned 1 exit status #456

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
../bindings/java/android/buildAll.sh

What is the expected output? What do you see instead?
libtinyWRAP_armv5te.so in output folder is expected,
But when i run the above script the following error appears:

android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/.
./lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: 
error: linker defined: multiple definition of '_edata'
android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/.
./lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: 
command line: previous definition here
android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/.
./lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: 
error: linker defined: multiple definition of '__bss_start'
android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/.
./lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: 
command line: previous definition here
android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/.
./lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: 
error: linker defined: multiple definition of '_end'
android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86_64/bin/.
./lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/ld: 
command line: previous definition here
collect2: ld returned 1 exit status
make[1]: *** [libtinyWRAP_armv5te.so] Error 1
make[1]: Leaving directory `doubango-read-only/bindings/java/android'
arm-linux-androideabi-strip: './libtinyWRAP_armv5te.so': No such file
cp: cannot stat `./libtinyWRAP_armv5te.so': No such file or directory
make: *** [all] Error 1

What version of the product are you using? On what operating system?
Revision 902 ,Ubuntu 11.04

Original issue reported on code.google.com by kris...@gmail.com on 11 Jun 2013 at 3:39