/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格式编译的

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-21
  • 2021-05-15
  • 2022-02-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-02-09
  • 2021-11-22
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案