Glibc config error help request

rick rick at ttys0.us
Fri Feb 3 08:27:11 PST 2006


Using LiveCD 6.1.1 as host I received the following config error at sec 6.11:

checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
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/s
ysdeps/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/i
386 sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux 
sysdeps/gnu sysdeps/unix/comm
on sysdeps/unix/mman sysdeps/unix/inet 
sysdeps/unix/sysv/i386 sysdeps/unix/sysv sysdep
s/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 sy
sdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 
sysdeps/ieee754/flt-32 sysdeps/ieee754 sy
sdeps/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.


The config.log shows


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

configure:1706: checking build system type
configure:1724: result: i686-pc-linux-gnuoldld
configure:1732: checking host system type
configure:1746: result: i686-pc-linux-gnuoldld
configure:1878: result: running configure fragment for 
add-on linuxthreads
configure:9: result: linuxthreads disabled because nptl 
add-on is also in use
configure:1878: result: running configure fragment for 
add-on nptl
configure:1998: checking sysdep dirs
configure:2214: result: sysdeps/generic/elf sysdeps/generic
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
gcc (GCC) 3.4.3
Copyright (C) 2004 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:2637: $? = 0
configure:2639: gcc -v </dev/null >&5
Reading specs from 
/tools/lib/gcc/i686-pc-linux-gnu/3.4.3/specs
Configured with: ../gcc-3.4.3/configure --prefix=/tools 
--libexecdir=/tools/lib --with
-local-prefix=/tools --enable-clocale=gnu --enable-shared 
--enable-threads=posix --ena
ble-__cxa_atexit --enable-languages=c,c++ 
--disable-libstdcxx-pch
Thread model: posix
gcc version 3.4.3
configure:2642: $? = 0
configure:2644: gcc -V </dev/null >&5
gcc: `-V' option must have argument
configure:2647: $? = 1
configure:2651: checking for suffix of object files
configure:2672: gcc -c   conftest.c >&5
gcc: installation problem, cannot exec 
`/tools/lib/gcc/i686-pc-linux-gnu/3.4.3/../../.
./../i686-pc-linux-gnu/bin/as': No such file or directory
configure:2675: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|



I thought this part of the message

"/tools/lib/gcc/i686-pc-linux-gnu/3.4.3/../../../
../i686-pc-linux-gnu/bin/as': No such file or directory"

indicated the problem, but looking in
/tools/i686-pc-linux-gnu/bin the "as" file exists there.




I am not sure where to look next but I do have another 
question:
the configure command command shown in the book is 
../glibc-2.3.4/configure --prefix=/usr \
--disable-profile --enable-add-ons \
--enable-kernel=2.6.0 --libexecdir=/usr/lib/glibc


but output from the config.log indictes that the following 
command was used 

Configured with: ../gcc-3.4.3/configure --prefix=/tools
--libexecdir=/tools/lib --with
-local-prefix=/tools --enable-clocale=gnu --enable-shared
--enable-threads=posix --ena
ble-__cxa_atexit --enable-languages=c,c++
--disable-libstdcxx-pch

Does this indicate an error or does configure modify the 
command?

The build had gone well up to this point with no errors.  I 
followed the book, and dont believe I made any changes or 
skipped any steps.


Rick Richardson



More information about the lfs-support mailing list