Linux-Libc-Headers- problem

Duncan Webb duncan-lfs at
Wed Oct 26 00:58:08 PDT 2005

I think that there's a small problem with installation of chapter 10 
Linux-Libc-Headers- installation.

I creates a the file /usr/include/linux/config.h with the lines:
#error "Compilation aborted. Please read the FAQ for linux-libc-headers 
#error "(can be found at"

The FAQ says that most users want to empty this file but in gentoo and 
my older LFS 4 build I've this in the config.h

#include <linux/autoconf.h>


This config.h and autoconf.h come from the kernel build.

Question is what to do, empty or copy these two files from the kernel build.


BTW only noticed this when building Xorg.

More information about the lfs-dev mailing list