免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1499 | 回复: 2
打印 上一主题 下一主题

LFS 6.1 系统是centos 编译binutils出现错误!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-04-21 23:58 |只看该作者 |倒序浏览
偶是这样的问题,有解决的吗。告诉小弟一声
ar.o(.text+0xb9: In function `main':
../../sources/binutils-2.15.94.0.2.2/binutils/ar.c:342: multiple definition of `main'
arparse.o(.text+0x0):/root/zlls/binutils/binutils/arparse.c:1: first defined here
/usr/bin/ld: Warning: size of symbol `main' changed from 16 in arparse.o to 3195 in ar.o
bucomm.o(.text+0x85e): In function `make_tempname':
../../sources/binutils-2.15.94.0.2.2/binutils/bucomm.c:425: warning: the use of `mktemp' is dangerous, better use `mkstemp'
ar.o(.text+0x23): In function `mri_emul':
: undefined reference to `yyparse'
collect2: ld returned 1 exit status
make[3]: *** [ar] 错误 1
make[3]: Leaving directory `/root/zlls/binutils/binutils'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/root/zlls/binutils/binutils'
make[1]: *** [all-recursive-am] 错误 2
make[1]: Leaving directory `/root/zlls/binutils/binutils'
make: *** [all-binutils] 错误 2
宿主系统
Linux version 2.6.9-22.EL (buildcentos@louisa.home.local) (gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)) #1 Sat Oct 8 17:48:27 CDT 2005

论坛徽章:
0
2 [报告]
发表于 2006-04-22 20:09 |只看该作者
自己顶

论坛徽章:
0
3 [报告]
发表于 2006-04-22 20:38 |只看该作者
装 bison 和 flex
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP