LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 5506|回复: 1

Relocations in generic ELF?(这是什么原因?)

[复制链接]
发表于 2005-7-10 11:45:21 | 显示全部楼层 |阅读模式
在移植GUI时,make的时候出现这个错误,不只是什么原因造成的,请各位指点:
出错现在如下:
/home/kaylar/arm-linux/bin/../lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/
bin/ld: ./physfs/.libs/libphysfs.al(physfs.lo): Relocations in generic ELF (EM:
3)
./physfs/.libs/libphysfs.al(physfs.lo): could not read symbols: File in wrong fo
rmat
collect2: ld returned 1 exit status
make[2]: *** [libparagui.la] Error 1
make[2]: Leaving directory `/home/kaylar/daemon/paragui-1.0.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kaylar/daemon/paragui-1.0.4/src'
make: *** [all-recursive] Error 1

不懂的这个错误到底是怎么回事?
非常感谢!
发表于 2012-3-5 16:09:36 | 显示全部楼层
Post by ningbo;1206700
在移植GUI时,make的时候出现这个错误,不只是什么原因造成的,请各位指点:
出错现在如下:
/home/kaylar/arm-linux/bin/../lib/gcc-lib/arm-linux/3.3.2/../../../../arm-linux/
bin/ld: ./physfs/.libs/libphysfs.al(physfs.lo): Relocations in generic ELF (EM:
3)
./physfs/.libs/libphysfs.al(physfs.lo): could not read symbols: File in wrong fo
rmat
collect2: ld returned 1 exit status
make[2]: *** [libparagui.la] Error 1
make[2]: Leaving directory `/home/kaylar/daemon/paragui-1.0.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/kaylar/daemon/paragui-1.0.4/src'
make: *** [all-recursive] Error 1

不懂的这个错误到底是怎么回事?
非常感谢!




louz check cross compiler prefix as ./configure --host=your target platform eg mips-linux-uclibc, which need to match with you compiler
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表