Problem with Configuring Glibc 2.3.3 Chapter 6

Chris Lingard chris at stockwith.co.uk
Tue Mar 16 10:51:25 PST 2004


glycerol at gmx.net wrote:

> Hello together,
> up to this point everything went allright but now I am not able to
> configure Glibc 2.3.3 in Chapter 6. The Output is: "Cannot compute suffix
> of object file: cannot compile" The Output of the config.log is:
> 
> 
> *****************CONFIG.LOG************************
> This file contains any messages produced by compilers while
> running configure, to aid debugging if configure makes a mistake.
> 
> It was created by GNU C Library configure (see version.h), which was
> generated by GNU Autoconf 2.57.  Invocation command line was
> 
>   $ ../glibc-2.3.3-20031202/configure --prefix=/usr --disable-profile
> --enable-add-ons=linuxthreads --libexecdir=/usr/lib
> --with-headers=/usr/include --without-cvs
> 
> ## --------- ##
> ## Platform. ##
> ## --------- ##
> 
> hostname = exodus
> uname -m = i686
> uname -r = 2.4.21-xfs
> uname -s = Linux
> uname -v = #1 SMP Fre Jul 25 00:06:47 CEST 2003
> 
> /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: /bin
> PATH: /usr/bin
> PATH: /sbin
> PATH: /usr/sbin
> PATH: /tools/bin
> 
> 
> ## ----------- ##
> ## Core tests. ##
> ## ----------- ##
> 
> configure:1697: checking build system type
> configure:1715: result: i686-pc-linux-gnu
> configure:1723: checking host system type
> configure:1737: result: i686-pc-linux-gnu
> configure:1906: checking sysdep dirs
> configure:2120: result: sysdeps/generic/elf sysdeps/generic
> configure:2138: checking for a BSD-compatible install
> configure:2192: result: /tools/bin/install -c
> configure:2207: checking whether ln -s works
> configure:2211: result: yes
> configure:2265: checking for gcc
> configure:2281: found /tools/bin/gcc
> configure:2291: result: gcc
> configure:2535: checking for C compiler version
> configure:2538: gcc --version </dev/null >&5
> ../glibc-2.3.3-20031202/configure: line 1: /tools/bin/gcc: No such file or
> directory
> configure:2541: $? = 127
> configure:2543: gcc -v </dev/null >&5
> ../glibc-2.3.3-20031202/configure: line 1: /tools/bin/gcc: No such file or
> directory
> configure:2546: $? = 127
> configure:2548: gcc -V </dev/null >&5
> ../glibc-2.3.3-20031202/configure: line 1: /tools/bin/gcc: No such file or
> directory

Your compiler gcc does not work in the chroot

This will be because it is not linked against /tools/lib

Go back to chapter 5 and rebuild gcc; make sure that you apply
the two patches no_fixincludes-1 and specs-1



More information about the lfs-support mailing list