LinuxSir.cn,穿越时空的Linuxsir!

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

安装binutils时出现错误(请求解决)

[复制链接]
发表于 2005-5-5 00:46:31 | 显示全部楼层 |阅读模式
安装binutils

在执行
  1. make LDFLAGS="-all-static"
复制代码


出现如下错误
  1. bucomm.o(.text+0x895): In function `make_tempname':
  2. ../../binutils-2.15.94.0.2/binutils/bucomm.c:425: warning: the use of `mktemp' is dangerous, better use `mkstemp'
  3. ar.o(.text+0x23): In function `mri_emul':
  4. : undefined reference to `yyparse'
  5. collect2: ld returned 1 exit status
  6. make[3]: *** [ar] Error 1
  7. make[3]: Leaving directory `/mnt/lfs/sources/binutils-build/binutils'
  8. make[2]: *** [all-recursive] Error 1
  9. make[2]: Leaving directory `/mnt/lfs/sources/binutils-build/binutils'
  10. make[1]: *** [all-recursive-am] Error 2
  11. make[1]: Leaving directory `/mnt/lfs/sources/binutils-build/binutils'
  12. make: *** [all-binutils] Error 2
复制代码

以下是来是config.log的错误信息

  1. configure: In function `main':
  2. configure:2256: error: `choke' undeclared (first use in this function)
  3. configure:2256: error: (Each undeclared identifier is reported only once
  4. configure:2256: error: for each function it appears in.)
  5. configure:2256: error: syntax error before "me"
  6. configure: failed program was:
复制代码


请教各位大侠

我该怎么办??
发表于 2005-5-5 14:16:30 | 显示全部楼层
装上yacc就行了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-5-5 18:45:55 | 显示全部楼层
yacc哪有下载呀???
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-5-5 23:15:10 | 显示全部楼层
不行啊

还是出现一样的错误!!
回复 支持 反对

使用道具 举报

发表于 2005-5-6 18:44:36 | 显示全部楼层
我用的Debian,用apt装上flex和yacc就好使了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-5-7 17:07:50 | 显示全部楼层
我在Ubuntu下编译

也是这样的错误
回复 支持 反对

使用道具 举报

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

本版积分规则

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