5.5. Linux-Libc-Headers-

The Linux-Libc-Headers package contains the “sanitized” kernel headers.

Approximate build time: 0.1 SBU
Required disk space: 26.9 MB
Installation depends on: Coreutils

5.5.1. Installation of Linux-Libc-Headers

For years it has been common practice to use “raw” kernel headers (straight from a kernel tarball) in /usr/include, but over the last few years, the kernel developers have taken a strong stance that this should not be done. This gave birth to the Linux-Libc-Headers Project, which was designed to maintain an Application Programming Interface (API) stable version of the Linux headers.

Install the header files:

cp -R include/asm-i386 /tools/include/asm
cp -R include/linux /tools/include

If your architecture is not i386 (compatible), adjust the first command accordingly.

Details on this package are located in Section 6.9.2, “Contents of Linux-Libc-Headers.”