首页 > 系统服务 > 详细

异常之交叉编译---arm-vfp-linux-gnu/bin/ld: cgic.o: Relocations in generic ELF (EM: 3)

时间:2015-12-18 16:37:03      阅读:975      评论:0      收藏:0      [点我收藏+]

 

/opt/arm-2009q1/bin/../lib/gcc/arm-none-linux-gnueabi/4.3.3/../../../../arm-none-linux-gnueabi/bin/ld: inilib.a(iniApi.o): Relocations in generic ELF (EM: 3)
inilib.a: could not read symbols: File in wrong format

 

这是网上的解决办法:

在编译交叉编译cgi程序时,出现:arm-vfp-linux-gnu/bin/ld: cgic.o: Relocations in generic ELF (EM: 3)问题,上网查了下,只要条命令就解决问题了,进入程序目录,终端执行。

#make clean -w

这个命令会删除一些文件,执行完后,你再重新编译应该就没错了 !!!

其实问题并不是这样:

而是编译是调用的静态库编译有问题是gcc格式编译的

异常之交叉编译---arm-vfp-linux-gnu/bin/ld: cgic.o: Relocations in generic ELF (EM: 3)

原文:http://www.cnblogs.com/pengkunfan/p/5057263.html

(1)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!