grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ubuntu - GNU GRUB - question


From: Lennart Sorensen
Subject: Re: Ubuntu - GNU GRUB - question
Date: Thu, 1 Dec 2011 10:11:36 -0500
User-agent: Mutt/1.5.20 (2009-06-14)

On Wed, Nov 30, 2011 at 11:53:40AM -0800, Einat Bauman wrote:
> Hi,
> 
> My name is Einat, and I am applications engineer in the Silicon Valley. I 
> have Ubuntu - GNU GRUB error, that I would be very very happy, if you may 
> help me with. I am using GNU GRUB 0.97 in OS Ubuntu 10.04 LTS, and I got an 
> error when I was in a process of building a boot loader stage 1. The 
> “./configure” 
> command failed with the error: “C compiler cannot create executables
> ”. The config.log file content indicate that “/usr/bin/ld: cannot find -lgcc
> ” and that “configure: failed program was:
> | /* confdefs.h.  */”
> 
> I installed multiple tools / SW including:
> - GCC 4:4.4.3-1ubuntu1 (GNC Complier).
> - Automake 1:1.11.1-1 (tool for generating GNUS standards compliant 
> makefiles).
> - binutils 2.20.1-3 ubuntu7.1 (GNU Assembler, Linker and binary Utilities).
> - aoutoconf 2.65-3 ubuntu1 (automatic configure script builder).
> - texinfo 4.13a.dfsg.1-5ubuntu1 (documentation system for an on-line 
> information and printed output).          
>             I issued the following steps:
>             ftp://alpha.gnu.org/gnu/grub/grub-0.97.tar.gz (grab the GRUB 0.97 
> from the web)
>             zcat grub-0.97.tar.gz | tar xv
> (unbundle GRUB)
>             cd grub-0.97 
>             ./configure
> 
> 
> ***************Command line in Ubuntu OS: *******************************
> address@hidden:~/grub-0.97$ ./configure 
> 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. 
> ************************config.log file content: *************************
> ********************
> 
> This file contains any messages produced by compilers while 
> running configure, to aid debugging if configure makes a mistake. 
> 
> It was created by GRUB configure 0.97, which was 
> generated by GNU Autoconf 2.59.  Invocation command line was 

Maybe you shouldn't compile it as 64bit.  Try sticking 'linux32' in
front of your compile command.

But yes that is one ancient grub version.

Of course reading config.log to find out why it failed would be more
helpful if you want to fix it.

-- 
Len Sorensen



reply via email to

[Prev in Thread] Current Thread [Next in Thread]