glibc-error

randhir phagura rsphagura at hotmail.com
Wed Oct 19 01:58:05 PDT 2005


Hi,

I am installing LFS on Pentium-III - Compaq - Presario. In Chapter-6 of the 
book: LFS-BOOK-SVN-20051015-HTML, while configuring glibc-2.3.5, I get the 
following error:

patching file `iconvdata/jis0208.h'
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
running configure fragment for add-on linuxthreads
linuxthreads disabled because nptl add-on is also in use
running configure fragment for add-on nptl
checking sysdep dirs... sysdeps/i386/elf 
nptl/sysdeps/unix/sysv/linux/i386/i686 nptl/sysdeps/unix/sysv/linux/i386 
nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread 
nptl/sysdeps/unix/sysv nptl/sysdeps/unix nptl/sysdeps/i386/i686 
nptl/sysdeps/i386 sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux 
sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet 
sysdeps/unix/sysv/i386 sysdeps/unix/sysv sysdeps/unix/i386 sysdeps/unix 
sysdeps/posix sysdeps/i386/i686/fpu sysdeps/i386/i686 sysdeps/i386/i486 
nptl/sysdeps/i386/i486 sysdeps/i386/fpu sysdeps/i386 sysdeps/wordsize-32
sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 
sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic
checking for a BSD-compatible install... /tools/bin/install -c
checking whether ln -s works... yes
checking for gcc... gcc
checking for suffix of object files... configure: error: cannot compute 
suffix of object files: cannot compile
See `config.log' for more details.
root:~#

The relevent extract from config.log from 'glibc-build' directory is as 
below. Seems it cannot locate '/tools/bin/gcc', which is very much there.
Also, maybe a clash between 'linuxthreads' and 'nptl' . I am not sure though 
and am at a loss what is to be done.

configure:2233: checking for a BSD-compatible install
configure:2288: result: /tools/bin/install -c
configure:2303: checking whether ln -s works
configure:2307: result: yes
configure:2361: checking for gcc
configure:2377: found /tools/bin/gcc
configure:2387: result: gcc
configure:2631: checking for C compiler version
configure:2634: gcc --version </dev/null >&5
../glibc-2.3.5/configure: line 2635: /tools/bin/gcc: No such file or 
directory
configure:2637: $? = 127
configure:2639: gcc -v </dev/null >&5
../glibc-2.3.5/configure: line 2640: /tools/bin/gcc: No such file or 
directory
configure:2642: $? = 127
configure:2644: gcc -V </dev/null >&5
../glibc-2.3.5/configure: line 2645: /tools/bin/gcc: No such file or 
directory
configure:2647: $? = 127
configure:2651: checking for suffix of object files
configure:2672: gcc -c   conftest.c >&5
../glibc-2.3.5/configure: line 2673: /tools/bin/gcc: No such file or 
directory
configure:2675: $? = 127
configure: failed program was:
/* confdefs.h.  */

#define PACKAGE_NAME "GNU C Library"

Kindly help.

Thanks & Regards.

Randhir Phagura





More information about the lfs-support mailing list