eclipes项目中有c程序,配置ndk环境后出现的错误

I_am_fanny 发布于 2012/03/26 16:10
阅读 870
收藏 0
下面的错误,那个能帮我解决下
Note that the -d switch is necessary for domain users.
Android NDK: WARNING: Rebuilding STLport libraries from sources!  
Android NDK: You might want to use $NDK/build/tools/build-stlport.sh  
Android NDK: in order to build prebuilt versions to speed up your builds!  
make: 鏀惧純寰幆渚濊禆 /cygdrive/D/android/workspace/FBReaderJ-sources-1.2.2/obj/local/armeabi/libstlport_static.a <- /cygdrive/D/android/workspace/FBReaderJ-sources-1.2.2/obj/local/armeabi/libstlport_static.a 銆?SharedLibrary : libDeflatingDecompressor.so
E:/android-ndk-r6/toolchains/x86-4.4.3/prebuilt/windows/bin/../lib/gcc/i686-android-linux/4.4.3/../../../../i686-android-linux/bin/ld.exe: D:/android/workspace/FBReaderJ-sources-1.2.2/obj/local/armeabi/objs/DeflatingDecompressor/DeflatingDecompressor/DeflatingDecompressor.o: Relocations in generic ELF (EM: 40)
E:/android-ndk-r6/toolchains/x86-4.4.3/prebuilt/windows/bin/../lib/gcc/i686-android-linux/4.4.3/../../../../i686-android-linux/bin/ld.exe: D:/android/workspace/FBReaderJ-sources-1.2.2/obj/local/armeabi/objs/DeflatingDecompressor/DeflatingDecompressor/DeflatingDecompressor.o: Relocations in generic ELF (EM: 40)
E:/android-ndk-r6/toolchains/x86-4.4.3/prebuilt/windows/bin/../lib/gcc/i686-android-linux/4.4.3/../../../../i686-android-linux/bin/ld.exe: D:/android/workspace/FBReaderJ-sources-1.2.2/obj/local/armeabi/objs/DeflatingDecompressor/DeflatingDecompressor/DeflatingDecompressor.o: Relocations in generic ELF (EM: 40)
E:/android-ndk-r6/toolchains/x86-4.4.3/prebuilt/windows/bin/../lib/gcc/i686-android-linux/4.4.3/../../../../i686-android-linux/bin/ld.exe: D:/android/workspace/FBReaderJ-sources-1.2.2/obj/local/armeabi/objs/DeflatingDecompressor/DeflatingDecompressor/DeflatingDecompressor.o: Relocations in generic ELF (EM: 40)
E:/android-ndk-r6/toolchains/x86-4.4.3/prebuilt/windows/bin/../lib/gcc/i686-android-linux/4.4.3/../../../../i686-android-linux/bin/ld.exe: D:/android/workspace/FBReaderJ-sources-1.2.2/obj/local/armeabi/objs/DeflatingDecompressor/DeflatingDecompressor/DeflatingDecompressor.o: Relocations in generic ELF (EM: 40)
E:/android-ndk-r6/toolchains/x86-4.4.3/prebuilt/windows/bin/../lib/gcc/i686-android-linux/4.4.3/../../../../i686-android-linux/bin/ld.exe: D:/android/workspace/FBReaderJ-sources-1.2.2/obj/local/armeabi/objs/DeflatingDecompressor/DeflatingDecompressor/DeflatingDecompressor.o: Relocations in generic ELF (EM: 40)
E:/android-ndk-r6/toolchains/x86-4.4.3/prebuilt/windows/bin/../lib/gcc/i686-android-linux/4.4.3/../../../../i686-android-linux/bin/ld.exe: D:/android/workspace/FBReaderJ-sources-1.2.2/obj/local/armeabi/objs/DeflatingDecompressor/DeflatingDecompressor/DeflatingDecompressor.o: Relocations in generic ELF (EM: 40)
E:/android-ndk-r6/toolchains/x86-4.4.3/prebuilt/windows/bin/../lib/gcc/i686-android-linux/4.4.3/../../../../i686-android-linux/bin/ld.exe: D:/android/workspace/FBReaderJ-sources-1.2.2/obj/local/armeabi/objs/DeflatingDecompressor/DeflatingDecompressor/DeflatingDecompressor.o: Relocations in generic ELF (EM: 40)
E:/android-ndk-r6/toolchains/x86-4.4.3/prebuilt/windows/bin/../lib/gcc/i686-android-linux/4.4.3/../../../../i686-android-linux/bin/ld.exe: D:/android/workspace/FBReaderJ-sources-1.2.2/obj/local/armeabi/objs/DeflatingDecompressor/DeflatingDecompressor/DeflatingDecompressor.o: Relocations in generic ELF (EM: 40)
E:/android-ndk-r6/toolchains/x86-4.4.3/prebuilt/windows/bin/../lib/gcc/i686-android-linux/4.4.3/../../../../i686-android-linux/bin/ld.exe: D:/android/workspace/FBReaderJ-sources-1.2.2/obj/local/armeabi/objs/DeflatingDecompressor/DeflatingDecompressor/DeflatingDecompressor.o: Relocations in generic ELF (EM: 40)
E:/android-ndk-r6/toolchains/x86-4.4.3/prebuilt/windows/bin/../lib/gcc/i686-android-linux/4.4.3/../../../../i686-android-linux/bin/ld.exe: D:/android/workspace/FBReaderJ-sources-1.2.2/obj/local/armeabi/objs/DeflatingDecompressor/DeflatingDecompressor/DeflatingDecompressor.o: Relocations in generic ELF (EM: 40)
E:/android-ndk-r6/toolchains/x86-4.4.3/prebuilt/windows/bin/../lib/gcc/i686-android-linux/4.4.3/../../../../i686-android-linux/bin/ld.exe: D:/android/workspace/FBReaderJ-sources-1.2.2/obj/local/armeabi/objs/DeflatingDecompressor/DeflatingDecompressor/DeflatingDecompressor.o: Relocations in generic ELF (EM: 40)
E:/android-ndk-r6/toolchains/x86-4.4.3/prebuilt/windows/bin/../lib/gcc/i686-android-linux/4.4.3/../../../../i686-android-linux/bin/ld.exe: D:/android/workspace/FBReaderJ-sources-1.2.2/obj/local/armeabi/objs/DeflatingDecompressor/DeflatingDecompressor/DeflatingDecompressor.o: Relocations in generic ELF (EM: 40)
D:/android/workspace/FBReaderJ-sources-1.2.2/obj/local/armeabi/objs/DeflatingDecompressor/DeflatingDecompressor/DeflatingDecompressor.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make: *** [/cygdrive/D/android/workspace/FBReaderJ-sources-1.2.2/obj/local/armeabi/libDeflatingDecompressor.so] Error /cygdrive/e/android-ndk-r6/build/core/build-binary.mk:280: recipe for target `/cygdrive/D/android/workspace/FBReaderJ-sources-1.2.2/obj/local/armeabi/libDeflatingDecompressor.so' failed
1
我认为是c编译的错误,但是不确定怎么修改,cdt插件安装没有成功,我是直接把里面的features和plugins给解压到eclipes的features和plugins的,可以建c++工程。
我的环境是win7下,eclipse——eclipse-jee-indigo-SR2-win32
ndk——r6
加载中
返回顶部
顶部