Chapter 5.2. Linux-Libc-Headers-

Robert Connolly robert at
Thu Feb 24 19:32:08 PST 2005

On February 24, 2005 10:24 pm, Nabil SEFRIOUI wrote:
> hi
> there is a minor problem when copying linux-libc-headers, the file
> include/linux/version.h is missing and next step (glibc headers) won't
> configure whithout it.
> i suggest adding
>   # make include/linux/version.h
>  before
>  # cp -R include/asm-i386 /tools/include/asm
>  # cp -R include/linux /tools/include

I think you're using headers from the kernel source. You should be using the 
linux-libc-headers package from:

which has a include/linux/version.h. The headers in the kernel source are not 
intended to be installed in the userland, they're internal to the kernel. The 
linux-libc-headers package is based off the kernel's headers, but they're 
cleaned up and stabilized for the userland.


More information about the hlfs-dev mailing list