What version of the Linux kernel headers should be used?
{AJ,UD} The headers from the most recent Linux kernel should be used. The headers used while compiling the GNU C library and the kernel binary used when using the library do not need to match. The GNU C library runs without problems on kernels that are older than the kernel headers used. The other way round (compiling the GNU C library with old kernel headers and running on a recent kernel) does not necessarily work. For example you can’t use new kernel features if you used old kernel headers to compile the GNU C library. {ZW} Even if you are using a 2.0 kernel on your machine, we recommend you compile GNU libc with 2.2 kernel headers. That way you won’t have to recompile libc if you ever upgrade to kernel 2.2. To tell libc which headers to use, give configure the –with-headers switch (e.g. –with-headers=/usr/src/linux-2.2.0/include). Note that you must configure the 2.2 kernel if you do this, otherwise libc will be unable to find