glibc configure error

Gerard Beekmans gerard at
Mon Nov 13 08:02:23 PST 2000

> --with-headers=$LFS/usr/include &&
> to
> --with-headers=$LFS/usr/src/linux/include &&

Is $LFS/usr/include/linux a valid link then? If it complains it can't find 
the header files, or are too old (caused by the same problem), it's often 
because $LFS/usr/include/linux does not point to ../src/linux/include/linux

Did you create the two symlinks after you setup the kernel just before you 
started installing Glibc?

And the message you got about not being able to determin host system. This 
can be due to the same: not able to find kernel headers due to possible 
invalid $LFS/usr/include/linux and $LFS/usr/include/asm symlinks.

A second reason for that error is that you forgot the create the 
$LFS/usr/bin/cc symlink that must point to 'gcc'

Gerard Beekmans

-*- If Linux doesn't have the solution, you have the wrong problem -*-

Unsubscribe: send email to lfs-discuss-request at
and put unsubscribe in the subject header of the message

More information about the lfs-dev mailing list