compile glibc-2.3.3-lfs-5.1 error

Chris Lingard chris at stockwith.co.uk
Tue Jun 15 16:30:26 PDT 2004


SubCode wrote:

> hi all,
> 
> well, here i am...
> 
> when running ./configure --prefix=/usr --disable-profile
> --enable-add-ons=linuxthreads --libexecdir=/usr/lib
> --with-headers=/usr/include --without-cvs command (page 77 LFS-book)
> 
> i've got the following error:
> 
> configure:6994: error: cannot compute sizeof (long double), 77
> see 'config.log' for more details.
> 
> when i test the 'ld' (file /tools/bin/ld) i've got the following:
> /tools/bin/ld: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
> for GNU/Linux 2.0.0, dynamically linked (uses shared libs), not stripped
> 
> this is not to be a statically linked?

This must be statically linked, this is the mistake.

> well, i redo the binutils pass1 but the same errors persists.

You need to rebuild it again :-(
Have you got the development packages installed, you should have
a /usr/lib/libc.a

Rebuild binutils again; make sure it is static.  If it not static
please report what happens.

> i have the entire 'config.log', but i think it's too long to post here
> (or not?)
> 
> any ideas? thanx..




More information about the lfs-support mailing list