分页: 1 / 1

[问题]ubuntu-amd64-9.04 编译GRUB-0.97 不能通过

发表于 : 2009-08-25 8:34
manbuzhe
我使用apt来获得源码极其补丁

sudo apt-get sources grub
sudo tar -xzvf grub_0.97.orig.tar.gz
sudo gzip -d grub_0.97-29ubuntu53.diff.gz

cd grub_0.97
sudo patch -Np1 -i ../grub_0.97-29ubuntu53.diff
sudo ./configure --prefix=/usr

然后就出现如如下错误

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-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... configure: error: C compiler cannot create executables
See `config.log' for more details.


上网查询许久也不能找到解决的方法,敬请赐教!

Re: [问题]ubuntu-amd64-9.04 编译GRUB-0.97 不能通过

发表于 : 2009-08-30 21:35
tusooa
GRUB不能在amd64系统下编译