grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
* Ubuntu - GNU GRUB - question
       [not found]   ` <1322682315.99288.YahooMailNeo@web113310.mail.gq1.yahoo.com>
@ 2011-11-30 19:53     ` Einat Bauman
  2011-12-01 15:08       ` Vladimir 'φ-coder/phcoder' Serbinenko
  2011-12-01 15:11       ` Lennart Sorensen
  0 siblings, 2 replies; 3+ messages in thread
From: Einat Bauman @ 2011-11-30 19:53 UTC (permalink / raw)
  To: grub-devel@gnu.org

[-- Attachment #1: Type: text/plain, Size: 10355 bytes --]

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 

$ ./configure 

## --------- ## 
## Platform. ## 
## --------- ## 

hostname = einatbauman-laptop 
uname -m = x86_64 
uname -r = 2.6.32-33-generic 
uname -s = Linux 
uname -v = #70-Ubuntu SMP Thu Jul 7 21:13:52 UTC 2011 

/usr/bin/uname -p = unknown 
/bin/uname -X     = unknown 

/bin/arch              = unknown 
/usr/bin/arch -k       = unknown 
/usr/convex/getsysinfo = unknown 
hostinfo               = unknown 
/bin/machine           = unknown 
/usr/bin/oslevel       = unknown 
/bin/universe          = unknown 

PATH: /usr/local/sbin 
PATH: /usr/local/bin 
PATH: /usr/sbin 
PATH: /usr/bin 
PATH: /sbin 
PATH: /bin 
PATH: /usr/games 


## ----------- ## 
## Core tests. ## 
## ----------- ## 

configure:1434: checking for a BSD-compatible install 
configure:1489: result: /usr/bin/install -c 
configure:1500: checking whether build environment is sane 
configure:1543: result: yes 
configure:1608: checking for gawk 
configure:1624: found /usr/bin/gawk 
configure:1634: result: gawk 
configure:1644: checking whether make sets $(MAKE) 
configure:1664: result: yes 
configure:1839: checking build system type 
configure:1857: result: x86_64-unknown-linux-gnu 
configure:1865: checking host system type 
configure:1879: result: x86_64-unknown-linux-gnu 
configure:1903: checking whether to enable maintainer-specific portions of Makefiles 
configure:1912: result: no 
configure:2028: checking for gcc 
configure:2044: found /usr/bin/gcc 
configure:2054: result: gcc 
configure:2112: checking for gcc 
configure:2138: result: gcc 
configure:2382: checking for C compiler version 
configure:2385: gcc --version </dev/null >&5 
gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3 
Copyright (C) 2009 Free Software Foundation, Inc. 
This is free software; see the source for copying conditions.  There is NO 
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 

configure:2388: $? = 0 
configure:2390: gcc -v </dev/null >&5 
Using built-in specs. 
Target: x86_64-linux-gnu 
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu 
Thread model: posix 
gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) 
configure:2393: $? = 0 
configure:2395: gcc -V </dev/null >&5 
gcc: '-V' option must have argument 
configure:2398: $? = 1 
configure:2421: checking for C compiler default output file name 
configure:2424: gcc -m32    conftest.c  >&5 
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.3/libgcc.a when searching for -lgcc 
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-gnu/4.4.3/libgcc.a when searching for -lgcc 
/usr/bin/ld: cannot find -lgcc 
collect2: ld returned 1 exit status 
configure:2427: $? = 1 
configure: failed program was: 
| /* confdefs.h.  */ 
| 
| #define PACKAGE_NAME "GRUB" 
| #define PACKAGE_TARNAME "grub" 
| #define PACKAGE_VERSION "0.97" 
| #define PACKAGE_STRING "GRUB 0.97" 
| #define PACKAGE_BUGREPORT "bug-grub@gnu.org" 
| #define PACKAGE "grub" 
| #define VERSION "0.97" 
| /* end confdefs.h.  */ 
| 
| int 
| main () 
| { 
| 
|   ; 
|   return 0; 
| } 
configure:2466: error: C compiler cannot create executables 
See `config.log' for more details. 

## ---------------- ## 
## Cache variables. ## 
## ---------------- ## 

ac_cv_build=x86_64-unknown-linux-gnu 
ac_cv_build_alias=x86_64-unknown-linux-gnu 
ac_cv_env_CC_set= 
ac_cv_env_CC_value= 
ac_cv_env_CFLAGS_set= 
ac_cv_env_CFLAGS_value= 
ac_cv_env_CPPFLAGS_set= 
ac_cv_env_CPPFLAGS_value= 
ac_cv_env_CPP_set= 
ac_cv_env_CPP_value= 
ac_cv_env_LDFLAGS_set= 
ac_cv_env_LDFLAGS_value= 
ac_cv_env_build_alias_set= 
ac_cv_env_build_alias_value= 
ac_cv_env_host_alias_set= 
ac_cv_env_host_alias_value= 
ac_cv_env_target_alias_set= 
ac_cv_env_target_alias_value= 
ac_cv_host=x86_64-unknown-linux-gnu 
ac_cv_host_alias=x86_64-unknown-linux-gnu 
ac_cv_path_install='/usr/bin/install -c' 
ac_cv_prog_AWK=gawk 
ac_cv_prog_ac_ct_CC=gcc 
ac_cv_prog_make_make_set=yes 

## ----------------- ## 
## Output variables. ## 
## ----------------- ## 

ACLOCAL='${SHELL} /home/einatbauman/grub-0.97/missing --run aclocal-1.9' 
AMDEPBACKSLASH='' 
AMDEP_FALSE='' 
AMDEP_TRUE='' 
AMTAR='${SHELL} /home/einatbauman/grub-0.97/missing --run tar' 
AUTOCONF='${SHELL} /home/einatbauman/grub-0.97/missing --run autoconf' 
AUTOHEADER='${SHELL} /home/einatbauman/grub-0.97/missing --run autoheader' 
AUTOMAKE='${SHELL} /home/einatbauman/grub-0.97/missing --run automake-1.9' 
AWK='gawk' 
BUILD_EXAMPLE_KERNEL_FALSE='' 
BUILD_EXAMPLE_KERNEL_TRUE='' 
CC='gcc' 
CCAS='' 
CCASFLAGS='' 
CCDEPMODE='' 
CFLAGS='-m32 ' 
CPP='' 
CPPFLAGS='' 
CYGPATH_W='echo' 
DEFS='' 
DEPDIR='' 
DISKLESS_SUPPORT_FALSE='' 
DISKLESS_SUPPORT_TRUE='' 
ECHO_C='' 
ECHO_N='-n' 
ECHO_T='' 
EGREP='' 
EXEEXT='' 
FSYS_CFLAGS='' 
GRUB_CFLAGS='' 
GRUB_LIBS='' 
HERCULES_SUPPORT_FALSE='' 
HERCULES_SUPPORT_TRUE='' 
INSTALL_DATA='${INSTALL} -m 644' 
INSTALL_PROGRAM='${INSTALL}' 
INSTALL_SCRIPT='${INSTALL}' 
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' 
LDFLAGS='' 
LIBOBJS='' 
LIBS='' 
LTLIBOBJS='' 
MAINT='#' 
MAINTAINER_MODE_FALSE='' 
MAINTAINER_MODE_TRUE='#' 
MAKEINFO='${SHELL} /home/einatbauman/grub-0.97/missing --run makeinfo' 
NETBOOT_DRIVERS='' 
NETBOOT_SUPPORT_FALSE='' 
NETBOOT_SUPPORT_TRUE='' 
NET_CFLAGS='' 
NET_EXTRAFLAGS='' 
OBJCOPY='' 
OBJEXT='' 
PACKAGE='grub' 
PACKAGE_BUGREPORT='bug-grub@gnu.org' 
PACKAGE_NAME='GRUB' 
PACKAGE_STRING='GRUB 0.97' 
PACKAGE_TARNAME='grub' 
PACKAGE_VERSION='0.97' 
PATH_SEPARATOR=':' 
PERL='' 
RANLIB='' 
SERIAL_SPEED_SIMULATION_FALSE='' 
SERIAL_SPEED_SIMULATION_TRUE='' 
SERIAL_SUPPORT_FALSE='' 
SERIAL_SUPPORT_TRUE='' 
SET_MAKE='' 
SHELL='/bin/bash' 
STAGE1_CFLAGS='' 
STAGE2_CFLAGS='' 
STRIP='' 
VERSION='0.97' 
ac_ct_CC='gcc' 
ac_ct_OBJCOPY='' 
ac_ct_RANLIB='' 
ac_ct_STRIP='' 
am__fastdepCC_FALSE='' 
am__fastdepCC_TRUE='' 
am__include='' 
am__leading_dot='.' 
am__quote='' 
am__tar='${AMTAR} chof - "$$tardir"' 
am__untar='${AMTAR} xf -' 
bindir='${exec_prefix}/bin' 
build='x86_64-unknown-linux-gnu' 
build_alias='' 
build_cpu='x86_64' 
build_os='linux-gnu' 
build_vendor='unknown' 
datadir='${prefix}/share' 
exec_prefix='NONE' 
host='x86_64-unknown-linux-gnu' 
host_alias='' 
host_cpu='x86_64' 
host_os='linux-gnu' 
host_vendor='unknown' 
includedir='${prefix}/include' 
infodir='${prefix}/info' 
install_sh='/home/einatbauman/grub-0.97/install-sh' 
libdir='${exec_prefix}/lib' 
libexecdir='${exec_prefix}/libexec' 
localstatedir='${prefix}/var' 
mandir='${prefix}/man' 
mkdir_p='mkdir -p --' 
oldincludedir='/usr/include' 
prefix='NONE' 
program_transform_name='s,x,x,' 
sbindir='${exec_prefix}/sbin' 
sharedstatedir='${prefix}/com' 
sysconfdir='${prefix}/etc' 
target_alias='' 

## ----------- ## 
## confdefs.h. ## 
## ----------- ## 

#define PACKAGE "grub" 
#define PACKAGE_BUGREPORT "bug-grub@gnu.org" 
#define PACKAGE_NAME "GRUB" 
#define PACKAGE_STRING "GRUB 0.97" 
#define PACKAGE_TARNAME "grub" 
#define PACKAGE_VERSION "0.97" 
#define VERSION "0.97" 

configure: exit 77


*************************************************************


I will very much appreciate your help.

Thank you so much,
Einat Bauman
          Applications Engineer

510-468-2176 c
www.linkedin.com/in/einatbauman 

[-- Attachment #2: Type: text/html, Size: 16538 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Ubuntu - GNU GRUB - question
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Vladimir 'φ-coder/phcoder' Serbinenko @ 2011-12-01 15:08 UTC (permalink / raw)
  To: grub-devel

Please, use plain-text messages
On 30.11.2011 20:53, 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
>
Sorry, but this GRUB version is over 6 years old and we don't support it 
anymore. Please upgrade to modern version.
>
>     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 
> <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 
>
>     $ ./configure 
>
>     ## --------- ## 
>     ## Platform. ## 
>     ## --------- ## 
>
>     hostname = einatbauman-laptop 
>     uname -m = x86_64 
>     uname -r = 2.6.32-33-generic 
>     uname -s = Linux 
>     uname -v = #70-Ubuntu SMP Thu Jul 7 21:13:52 UTC 2011 
>
>     /usr/bin/uname -p = unknown 
>     /bin/uname -X = unknown 
>
>     /bin/arch = unknown 
>     /usr/bin/arch -k = unknown 
>     /usr/convex/getsysinfo = unknown 
>     hostinfo = unknown 
>     /bin/machine = unknown 
>     /usr/bin/oslevel = unknown 
>     /bin/universe = unknown 
>
>     PATH: /usr/local/sbin 
>     PATH: /usr/local/bin 
>     PATH: /usr/sbin 
>     PATH: /usr/bin 
>     PATH: /sbin 
>     PATH: /bin 
>     PATH: /usr/games 
>
>
>     ## ----------- ## 
>     ## Core tests. ## 
>     ## ----------- ## 
>
>     configure:1434: checking for a BSD-compatible install 
>     configure:1489: result: /usr/bin/install -c 
>     configure:1500: checking whether build environment is sane 
>     configure:1543: result: yes 
>     configure:1608: checking for gawk 
>     configure:1624: found /usr/bin/gawk 
>     configure:1634: result: gawk 
>     configure:1644: checking whether make sets $(MAKE) 
>     configure:1664: result: yes 
>     configure:1839: checking build system type 
>     configure:1857: result: x86_64-unknown-linux-gnu 
>     configure:1865: checking host system type 
>     configure:1879: result: x86_64-unknown-linux-gnu 
>     configure:1903: checking whether to enable maintainer-specific
>     portions of Makefiles 
>     configure:1912: result: no 
>     configure:2028: checking for gcc 
>     configure:2044: found /usr/bin/gcc 
>     configure:2054: result: gcc 
>     configure:2112: checking for gcc 
>     configure:2138: result: gcc 
>     configure:2382: checking for C compiler version 
>     configure:2385: gcc --version </dev/null >&5 
>     gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3 
>     Copyright (C) 2009 Free Software Foundation, Inc. 
>     This is free software; see the source for copying conditions.
>     There is NO 
>     warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
>     PURPOSE. 
>
>     configure:2388: $? = 0 
>     configure:2390: gcc -v </dev/null >&5 
>     Using built-in specs. 
>     Target: x86_64-linux-gnu 
>     Configured with: ../src/configure -v --with-pkgversion='Ubuntu
>     4.4.3-4ubuntu5'
>     --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs
>     --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
>     --enable-shared --enable-multiarch --enable-linker-build-id
>     --with-system-zlib --libexecdir=/usr/lib
>     --without-included-gettext --enable-threads=posix
>     --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4
>     --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug
>     --enable-plugin --enable-objc-gc --disable-werror
>     --with-arch-32=i486 --with-tune=generic --enable-checking=release
>     --build=x86_64-linux-gnu --host=x86_64-linux-gnu
>     --target=x86_64-linux-gnu 
>     Thread model: posix 
>     gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) 
>     configure:2393: $? = 0 
>     configure:2395: gcc -V </dev/null >&5 
>     gcc: '-V' option must have argument 
>     configure:2398: $? = 1 
>     configure:2421: checking for C compiler default output file name 
>     configure:2424: gcc -m32 conftest.c >&5 
>     /usr/bin/ld: skipping incompatible
>     /usr/lib/gcc/x86_64-linux-gnu/4.4.3/libgcc.a when searching for -lgcc 
>     /usr/bin/ld: skipping incompatible
>     /usr/lib/gcc/x86_64-linux-gnu/4.4.3/libgcc.a when searching for -lgcc 
>     /usr/bin/ld: cannot find -lgcc 
>     collect2: ld returned 1 exit status 
>     configure:2427: $? = 1 
>     configure: failed program was: 
>     | /* confdefs.h. */ 
>     | 
>     | #define PACKAGE_NAME "GRUB" 
>     | #define PACKAGE_TARNAME "grub" 
>     | #define PACKAGE_VERSION "0.97" 
>     | #define PACKAGE_STRING "GRUB 0.97" 
>     | #define PACKAGE_BUGREPORT "bug-grub@gnu.org" 
>     | #define PACKAGE "grub" 
>     | #define VERSION "0.97" 
>     | /* end confdefs.h. */ 
>     | 
>     | int 
>     | main () 
>     | { 
>     | 
>     | ; 
>     | return 0; 
>     | } 
>     configure:2466: error: C compiler cannot create executables 
>     See `config.log' for more details. 
>
>     ## ---------------- ## 
>     ## Cache variables. ## 
>     ## ---------------- ## 
>
>     ac_cv_build=x86_64-unknown-linux-gnu 
>     ac_cv_build_alias=x86_64-unknown-linux-gnu 
>     ac_cv_env_CC_set= 
>     ac_cv_env_CC_value= 
>     ac_cv_env_CFLAGS_set= 
>     ac_cv_env_CFLAGS_value= 
>     ac_cv_env_CPPFLAGS_set= 
>     ac_cv_env_CPPFLAGS_value= 
>     ac_cv_env_CPP_set= 
>     ac_cv_env_CPP_value= 
>     ac_cv_env_LDFLAGS_set= 
>     ac_cv_env_LDFLAGS_value= 
>     ac_cv_env_build_alias_set= 
>     ac_cv_env_build_alias_value= 
>     ac_cv_env_host_alias_set= 
>     ac_cv_env_host_alias_value= 
>     ac_cv_env_target_alias_set= 
>     ac_cv_env_target_alias_value= 
>     ac_cv_host=x86_64-unknown-linux-gnu 
>     ac_cv_host_alias=x86_64-unknown-linux-gnu 
>     ac_cv_path_install='/usr/bin/install -c' 
>     ac_cv_prog_AWK=gawk 
>     ac_cv_prog_ac_ct_CC=gcc 
>     ac_cv_prog_make_make_set=yes 
>
>     ## ----------------- ## 
>     ## Output variables. ## 
>     ## ----------------- ## 
>
>     ACLOCAL='${SHELL} /home/einatbauman/grub-0.97/missing --run
>     aclocal-1.9' 
>     AMDEPBACKSLASH='' 
>     AMDEP_FALSE='' 
>     AMDEP_TRUE='' 
>     AMTAR='${SHELL} /home/einatbauman/grub-0.97/missing --run tar' 
>     AUTOCONF='${SHELL} /home/einatbauman/grub-0.97/missing --run
>     autoconf' 
>     AUTOHEADER='${SHELL} /home/einatbauman/grub-0.97/missing --run
>     autoheader' 
>     AUTOMAKE='${SHELL} /home/einatbauman/grub-0.97/missing --run
>     automake-1.9' 
>     AWK='gawk' 
>     BUILD_EXAMPLE_KERNEL_FALSE='' 
>     BUILD_EXAMPLE_KERNEL_TRUE='' 
>     CC='gcc' 
>     CCAS='' 
>     CCASFLAGS='' 
>     CCDEPMODE='' 
>     CFLAGS='-m32 ' 
>     CPP='' 
>     CPPFLAGS='' 
>     CYGPATH_W='echo' 
>     DEFS='' 
>     DEPDIR='' 
>     DISKLESS_SUPPORT_FALSE='' 
>     DISKLESS_SUPPORT_TRUE='' 
>     ECHO_C='' 
>     ECHO_N='-n' 
>     ECHO_T='' 
>     EGREP='' 
>     EXEEXT='' 
>     FSYS_CFLAGS='' 
>     GRUB_CFLAGS='' 
>     GRUB_LIBS='' 
>     HERCULES_SUPPORT_FALSE='' 
>     HERCULES_SUPPORT_TRUE='' 
>     INSTALL_DATA='${INSTALL} -m 644' 
>     INSTALL_PROGRAM='${INSTALL}' 
>     INSTALL_SCRIPT='${INSTALL}' 
>     INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s' 
>     LDFLAGS='' 
>     LIBOBJS='' 
>     LIBS='' 
>     LTLIBOBJS='' 
>     MAINT='#' 
>     MAINTAINER_MODE_FALSE='' 
>     MAINTAINER_MODE_TRUE='#' 
>     MAKEINFO='${SHELL} /home/einatbauman/grub-0.97/missing --run
>     makeinfo' 
>     NETBOOT_DRIVERS='' 
>     NETBOOT_SUPPORT_FALSE='' 
>     NETBOOT_SUPPORT_TRUE='' 
>     NET_CFLAGS='' 
>     NET_EXTRAFLAGS='' 
>     OBJCOPY='' 
>     OBJEXT='' 
>     PACKAGE='grub' 
>     PACKAGE_BUGREPORT='bug-grub@gnu.org' 
>     PACKAGE_NAME='GRUB' 
>     PACKAGE_STRING='GRUB 0.97' 
>     PACKAGE_TARNAME='grub' 
>     PACKAGE_VERSION='0.97' 
>     PATH_SEPARATOR=':' 
>     PERL='' 
>     RANLIB='' 
>     SERIAL_SPEED_SIMULATION_FALSE='' 
>     SERIAL_SPEED_SIMULATION_TRUE='' 
>     SERIAL_SUPPORT_FALSE='' 
>     SERIAL_SUPPORT_TRUE='' 
>     SET_MAKE='' 
>     SHELL='/bin/bash' 
>     STAGE1_CFLAGS='' 
>     STAGE2_CFLAGS='' 
>     STRIP='' 
>     VERSION='0.97' 
>     ac_ct_CC='gcc' 
>     ac_ct_OBJCOPY='' 
>     ac_ct_RANLIB='' 
>     ac_ct_STRIP='' 
>     am__fastdepCC_FALSE='' 
>     am__fastdepCC_TRUE='' 
>     am__include='' 
>     am__leading_dot='.' 
>     am__quote='' 
>     am__tar='${AMTAR} chof - "$$tardir"' 
>     am__untar='${AMTAR} xf -' 
>     bindir='${exec_prefix}/bin' 
>     build='x86_64-unknown-linux-gnu' 
>     build_alias='' 
>     build_cpu='x86_64' 
>     build_os='linux-gnu' 
>     build_vendor='unknown' 
>     datadir='${prefix}/share' 
>     exec_prefix='NONE' 
>     host='x86_64-unknown-linux-gnu' 
>     host_alias='' 
>     host_cpu='x86_64' 
>     host_os='linux-gnu' 
>     host_vendor='unknown' 
>     includedir='${prefix}/include' 
>     infodir='${prefix}/info' 
>     install_sh='/home/einatbauman/grub-0.97/install-sh' 
>     libdir='${exec_prefix}/lib' 
>     libexecdir='${exec_prefix}/libexec' 
>     localstatedir='${prefix}/var' 
>     mandir='${prefix}/man' 
>     mkdir_p='mkdir -p --' 
>     oldincludedir='/usr/include' 
>     prefix='NONE' 
>     program_transform_name='s,x,x,' 
>     sbindir='${exec_prefix}/sbin' 
>     sharedstatedir='${prefix}/com' 
>     sysconfdir='${prefix}/etc' 
>     target_alias='' 
>
>     ## ----------- ## 
>     ## confdefs.h. ## 
>     ## ----------- ## 
>
>     #define PACKAGE "grub" 
>     #define PACKAGE_BUGREPORT "bug-grub@gnu.org" 
>     #define PACKAGE_NAME "GRUB" 
>     #define PACKAGE_STRING "GRUB 0.97" 
>     #define PACKAGE_TARNAME "grub" 
>     #define PACKAGE_VERSION "0.97" 
>     #define VERSION "0.97" 
>
>     configure: exit 77
>
>
>     *************************************************************
>
>
>     I will very much appreciate your help.
>
>     Thank you so much,
>     Einat Bauman
>
>           Applications Engineer
>
>     510-468-2176 c
>     www.linkedin.com/in/einatbauman
>     <http://www.linkedin.com/in/einatbauman>
>
>
>
>
>
>
>
>
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel


-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Ubuntu - GNU GRUB - question
  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
  1 sibling, 0 replies; 3+ messages in thread
From: Lennart Sorensen @ 2011-12-01 15:11 UTC (permalink / raw)
  To: The development of GNU GRUB

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-12-01 15:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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 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).