Glibc configure error

Duarte Cordeiro Duarte.Cordeiro at netcabo.pt
Tue Jan 13 08:31:03 PST 2004



> -----Original Message-----
> From: lfs-support-bounces at linuxfromscratch.org 
> [mailto:lfs-support-bounces at linuxfromscratch.org] On Behalf Of mmm mmm
> Sent: Tuesday, January 13, 2004 4:12 PM
> To: lfs-support at linuxfromscratch.org
> Cc: mustafa_badr at yahoo.com
> Subject: Glibc configure error
> 
> running configure fragment for /sources/glibc-2.3.2/sysdeps/i386/elf
> running configure fragment for /sources/glibc-2.3.2/sysdeps/pthread
> running configure fragment for 
> /sources/glibc-2.3.2/sysdeps/unix/sysv/linux
> checking for egrep... (cached) grep -E
> 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.
> --------------------------------------------------------------
> ------------------------------------------------------
> What can I do?
> Thanks
Hi,

 you can do this:
rpm -qf /usr/include/linux/version.h
cat /usr/include/linux/version.h

And post the results here.
Also, delete all the \ references in the command line if you specify
everything in a line.

Hope it helps,

 DC




More information about the lfs-support mailing list