安装 binutil时出现"collect2: ld returned 1 exit status"

todo9351 2010-01-26 07:26:33
在安装 binutils 时, 解压 ./configure都没有问题, 在make时, 最后阶段
../bfd/.libs/libbfd.a(archures.o): In function 'bfd_scan_arch':
/....... 略路径........./bfd/../../binutils-2.16.1/bfd/archure.c:563:undefined reference to '_bfd_powerpc_archs'
collect2: ld returned 1 exit status

make[3]: *** [size.exe] Error 1

....

=====================================================
分不多, 就友情帮忙一下咯
...全文
150 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
brookmill 2010-01-28
  • 打赏
  • 举报
回复
这里有人遇到了同样的问题,楼主参考一下吧。
后面很多人跟贴,不过我没太看明白,貌似也是和cygwin有关
http://www.mail-archive.com/bug-binutils@gnu.org/msg03061.html
todo9351 2010-01-26
  • 打赏
  • 举报
回复
哦, 我在虚拟机下编译可以,在cygwin下才出现的问题, 是不是make gcc什么的有问题呢. binutils-2.16.1是从gnu网站上下来的, 应该是没有问题的吧
steptodream 2010-01-26
  • 打赏
  • 举报
回复
不会
是不是没有../bfd/.libs/libbfd.a(archures.o): 这个库文件啊

23,120

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧