Changeset 2081905 for chapter06/kernel-headers.xml
- Timestamp:
- 02/05/2004 10:17:48 PM (21 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 12.2, 12.2-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 0dda614
- Parents:
- 2309b72
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
chapter06/kernel-headers.xml
r2309b72 r2081905 1 <sect1 id="ch-system-kernel-headers"> 2 <title>Installing Linux-&kernel-version; headers</title> 3 <?dbhtml filename="kernelheaders.html" dir="chapter06"?> 4 5 <screen>&buildtime; &kernel-time-headers; 6 &diskspace; &kernel-compsize-headers;</screen> 7 1 8 <sect2><title> </title><para> </para></sect2> 2 9 3 10 <sect2> 4 <title>Why we copy the kernel headers and don't symlink them</title> 11 <title>Installation of the kernel headers</title> 12 13 <para>We won't be compiling a new kernel yet -- we'll do that when we have 14 finished the installation of all the packages. But the libraries installed in 15 the next section need to refer to the kernel header files in order to know how 16 to interface with the kernel. Instead of unpacking the kernel sources again, 17 making the version file and the symlinks and so on, we will simply copy the 18 headers from the temporary tools directory in one swoop:</para> 19 20 <screen><userinput>cp -a /tools/include/{asm,asm-generic,linux} /usr/include</userinput></screen> 21 22 <para>A few kernel header files refer to the <filename>autoconf.h</filename> 23 header file. Since we have not yet configured the kernel, we need to create 24 this file ourselves in order to avoid a compilation failure of Sysklogd. 25 Create an empty <filename>autoconf.h</filename> file with:</para> 26 27 <screen><userinput>touch /usr/include/linux/autoconf.h</userinput></screen> 28 29 </sect2> 30 31 <sect2><title> </title><para> </para></sect2> 32 33 <sect2> 34 <title>Why we copy the kernel headers</title> 5 35 6 36 <para>In the past it was common practice to symlink the … … 41 71 </sect2> 42 72 73 </sect1> 74
Note:
See TracChangeset
for help on using the changeset viewer.