grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
From: lsorense@csclub.uwaterloo.ca (Lennart Sorensen)
To: The development of GNU GRUB <grub-devel@gnu.org>
Subject: Re: Ubuntu - GNU GRUB - question
Date: Thu, 1 Dec 2011 10:11:36 -0500	[thread overview]
Message-ID: <20111201151136.GX6033@caffeine.csclub.uwaterloo.ca> (raw)
In-Reply-To: <1322682820.26536.YahooMailNeo@web113319.mail.gq1.yahoo.com>

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: *******************************
> einatbauman@einatbauman-laptop:~/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


      parent reply	other threads:[~2011-12-01 15:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1322680956.64425.YahooMailNeo@web113315.mail.gq1.yahoo.com>
     [not found] ` <1322681061.54872.YahooMailNeo@web113301.mail.gq1.yahoo.com>
     [not found]   ` <1322682315.99288.YahooMailNeo@web113310.mail.gq1.yahoo.com>
2011-11-30 19:53     ` Ubuntu - GNU GRUB - question Einat Bauman
2011-12-01 15:08       ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-12-01 15:11       ` Lennart Sorensen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111201151136.GX6033@caffeine.csclub.uwaterloo.ca \
    --to=lsorense@csclub.uwaterloo.ca \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).