Installing lfs 3.0 and glibc-2.2.4 fails to configure due to old header files....

Gerard Beekmans gerard at
Tue Sep 25 08:53:23 PDT 2001

On Tue, Sep 25, 2001 at 03:05:28AM -0700, Chris Walker wrote:
> So,
> I'm installing LFS 3.0 with a Mandrake 8 host system (gcc-2.96,
> glibc-2.2.2).  All is well through the chroot (default optimization
> only--CFLAGS and CXXFLAGS are unset).  When I attempt to build glibc
> (using the script in lfs-commands-3.0/chapter6/glibc-2.2.4), I get the
> following error:
> ...
> running configure fragment for ../glibc-2.2.4/sysdeps/unix/sysv/linux
> checking installed Linux kernel header files... TOO OLD!
> configure: error: GNU libc requires kernel header files from
> Linux 2.0.10 or later to be installed before configuring.
> The kernel header files are found usually in /usr/include/asm and
> /usr/include/linux; make sure these directories use files from
> Linux 2.0.10 or later.  This check uses <linux/version.h>, so
> make sure that file was built correctly when installing the kernel
> header
> files.  To use kernel headers not from /usr/include/linux, use the
> configure option --with-headers.
> ...

enter chroot
does /usr/include/linux/version.h exist?

Gerard Beekmans

-*- If Linux doesn't have the solution, you have the wrong problem -*-
Unsubscribe: send email to listar at
and put 'unsubscribe lfs-support' in the subject header of the message

More information about the lfs-support mailing list