|
各位好,
我在slackware10上編譯grub 0.96時出現以下錯誤, 請指教.
- root@localhost:~/grub# ./configure --prefix=/usr
- checking for a BSD-compatible install... /usr/bin/ginstall -c
- checking whether build environment is sane... yes
- checking for gawk... gawk
- checking whether make sets $(MAKE)... yes
- checking build system type... i686-pc-linux-gnu
- checking host system type... i686-pc-linux-gnu
- checking whether to enable maintainer-specific portions of Makefiles... no
- checking for gcc... gcc
- checking for gcc... (cached) gcc
- checking for C compiler default output file name... a.out
- checking whether the C compiler works... yes
- checking whether we are cross compiling... no
- checking for suffix of executables...
- checking for suffix of object files... o
- checking whether we are using the GNU C compiler... yes
- checking whether gcc accepts -g... yes
- checking for gcc option to accept ANSI C... none needed
- checking for style of include used by make... GNU
- checking dependency style of gcc... gcc3
- checking dependency style of gcc... (cached) gcc3
- checking for ranlib... ranlib
- checking whether optimization for size works... yes
- checking whether gcc has -fno-stack-protector... no
- checking whether -Wundef works... yes
- checking whether -falign-loops works... yes
- checking for objcopy... objcopy
- checking if C symbols get an underscore after compilation... no
- checking whether objcopy works for absolute addresses... no
- configure: error: GRUB requires a working absolute objcopy; upgrade your binutils
- root@localhost:~/grub#
复制代码
但我的binutils 是2.15的呢. 在README內是最新版本的binutils.
thanks. |
|