<< Back to man.ChinaUnix.net

5.6. Linux-Libc-Headers-2.6.8.1

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

Approximate build time: 0.1 SBU

Required disk space: 22 MB

Linux-Libc-Headers installation depends on: Coreutils

5.6.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.”