LinuxSir.cn,穿越时空的Linuxsir!

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

Grub 0.96 in Slackware upgrade your binutils

[复制链接]
发表于 2005-5-2 11:40:51 | 显示全部楼层 |阅读模式
各位好,
我在slackware10上編譯grub 0.96時出現以下錯誤, 請指教.

  1. root@localhost:~/grub# ./configure --prefix=/usr
  2. checking for a BSD-compatible install... /usr/bin/ginstall -c
  3. checking whether build environment is sane... yes
  4. checking for gawk... gawk
  5. checking whether make sets $(MAKE)... yes
  6. checking build system type... i686-pc-linux-gnu
  7. checking host system type... i686-pc-linux-gnu
  8. checking whether to enable maintainer-specific portions of Makefiles... no
  9. checking for gcc... gcc
  10. checking for gcc... (cached) gcc
  11. checking for C compiler default output file name... a.out
  12. checking whether the C compiler works... yes
  13. checking whether we are cross compiling... no
  14. checking for suffix of executables...
  15. checking for suffix of object files... o
  16. checking whether we are using the GNU C compiler... yes
  17. checking whether gcc accepts -g... yes
  18. checking for gcc option to accept ANSI C... none needed
  19. checking for style of include used by make... GNU
  20. checking dependency style of gcc... gcc3
  21. checking dependency style of gcc... (cached) gcc3
  22. checking for ranlib... ranlib
  23. checking whether optimization for size works... yes
  24. checking whether gcc has -fno-stack-protector... no
  25. checking whether -Wundef works... yes
  26. checking whether -falign-loops works... yes
  27. checking for objcopy... objcopy
  28. checking if C symbols get an underscore after compilation... no
  29. checking whether objcopy works for absolute addresses... no
  30. configure: error: GRUB requires a working absolute objcopy; upgrade your binutils
  31. root@localhost:~/grub#
复制代码


但我的binutils 是2.15的呢. 在README內是最新版本的binutils.
thanks.
发表于 2005-5-3 13:13:20 | 显示全部楼层
没安装tgz包试下么?
回复 支持 反对

使用道具 举报

发表于 2005-5-3 23:58:49 | 显示全部楼层
Post by kobe0208
没安装tgz包试下么?

对呀,请下载slackware官方的extra包:
http://slackware.at/data/slackwa ... rub-0.95-i486-2.tgz
回复 支持 反对

使用道具 举报

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

本版积分规则

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