diff options
Diffstat (limited to 'chapter06/kernel-headers.xml')
-rw-r--r-- | chapter06/kernel-headers.xml | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/chapter06/kernel-headers.xml b/chapter06/kernel-headers.xml index 14d73d992..1a51b1a31 100644 --- a/chapter06/kernel-headers.xml +++ b/chapter06/kernel-headers.xml @@ -1,11 +1,19 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ + <!ENTITY % general-entities SYSTEM "../general.ent"> + %general-entities; +]> <sect1 id="ch-system-kernel-headers"> -<title>Installing Linux-&kernel-version; headers</title> -<?dbhtml filename="kernelheaders.html" dir="chapter06"?> +<title>Linux-&linux-version; headers</title> +<?dbhtml filename="kernelheaders.html"?> -<screen>&buildtime; &kernel-time-headers; -&diskspace; &kernel-compsize-headers;</screen> +<indexterm zone="ch-system-kernel-headers"> +<primary sortas="a-Linux">Linux</primary> +<secondary>system, headers</secondary></indexterm> + +<screen>&buildtime; 0.1 SBU +&diskspace; 186 MB</screen> -<sect2><title> </title><para> </para></sect2> <sect2> <title>Installation of the kernel headers</title> @@ -28,7 +36,6 @@ Create an empty <filename>autoconf.h</filename> file with:</para> </sect2> -<sect2><title> </title><para> </para></sect2> <sect2> <title>Why we copy the kernel headers</title> @@ -42,8 +49,8 @@ post by Linus Torvalds to the Linux Kernel Mailing List points out:</para> <screen>I would suggest that people who compile new kernels should: - not have a single symbolic link in sight (except the one that the - kernel build itself sets up, namely the "linux/include/asm" symlink - that is only used for the internal kernel compile itself) + kernel build itself sets up, namely the <quote>linux/include/asm</quote> + symlink that is only used for the internal kernel compile itself) And yes, this is what I do. My /usr/src/linux still has the old 2.2.13 header files, even though I haven't run a 2.2.13 kernel in a _loong_ @@ -54,8 +61,8 @@ And this is actually what has been the suggested environment for at least the last five years. I don't know why the symlink business keeps on living on, like a bad zombie. Pretty much every distribution still has that broken symlink, and people still remember that the linux -sources should go into "/usr/src/linux" even though that hasn't been -true in a _loong_ time.</screen> +sources should go into <quote>/usr/src/linux</quote> even though that hasn't +been true in a _loong_ time.</screen> <para>The essential part is where Linus states that the header files should be <emphasis>the ones which Glibc was compiled against</emphasis>. These are @@ -71,4 +78,3 @@ symlinks.</para> </sect2> </sect1> - |