我使用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.
上网查询许久也不能找到解决的方法,敬请赐教!
[问题]ubuntu-amd64-9.04 编译GRUB-0.97 不能通过
-
- 帖子: 13
- 注册时间: 2008-05-09 22:39
- 联系:
-
- 帖子: 6548
- 注册时间: 2008-10-31 22:12
- 系统: 践兔
- 联系: