chinaunix网友2011-01-11 19:11
你好,我看了你写的移植Android至龙芯笔记本的文章,并按照上面的操作一一实现,但到第四篇时2.6 编译 Mipsandroid Froyo时 ,当我在命令行中输入make showcommands后会出现如下错误: /home/qinjiajia/mipsandroid/prebuilt/linux-x86/toolchain/mips-4.4.3/bin/../lib/gcc/mips-linux-gnu/4.4.3/../../../../mips-linux-gnu/bin/ld: out/target/product/generic/obj/SHARED_LIBRARIES/libdl_intermediates/libdl.o: compiled for a little endian system and target is big endian /home/qinjiajia/mipsandroid/prebuilt/linux-x86/toolchain/mips-4.4.3/bin/../lib/gcc/mips-linux-gnu/4.4.3/../../../../mips-linux-gnu/bin/ld: out/target/product/generic/obj/SHARED_LIBRARIES/libdl_intermediates/libdl.o: endianness incompatible with that of the selected emulation /home/qinjiajia/mipsandroid/prebuilt/linux-x86/toolchain/mips-4.4.3/bin/../lib/gcc/mips-linux-gnu/4.4.3/../../../../mips-linux-gnu/bin/ld: failed to merge target specific data of file out/target/product/generic/obj/SHARED_LIBRARIES/libdl_intermediates/libdl.o collect2: ld 返回 1 make: *** [out/target/product/generic/obj/SHARED_LIBRARIES/libdl_intermediates/LINKED/libdl.so] 错误 1 错误的主要原因是:compiled for a little endian system and target is big endian。但我不知道该如何修改,不知道你是否遇到了上面的问题,或是对于这个问题,给我一些参考意见或解决方法。我的邮箱是qinjiajia1215@163.com,非常期待你的答复。