2002-05-25 01:21:12 +01:00
|
|
|
<sect2>
|
2002-09-22 15:22:43 +01:00
|
|
|
<title>Installation of the kernel headers</title>
|
2002-05-25 01:21:12 +01:00
|
|
|
|
2002-09-22 15:22:43 +01:00
|
|
|
<para>We won't be compiling a new kernel yet -- we'll do that when we have
|
|
|
|
finished the installation of all the packages. But as some packages need the
|
|
|
|
kernel header files, we're going to unpack the kernel archive now, set it up,
|
|
|
|
and copy the header files to where they will be found by these packages.</para>
|
2002-05-25 01:21:12 +01:00
|
|
|
|
2002-09-22 15:22:43 +01:00
|
|
|
<para>The kernel headers are copied by running the following commands:</para>
|
2002-05-25 01:21:12 +01:00
|
|
|
|
|
|
|
<para><screen><userinput>ln -s /static/bin/pwd /bin/pwd &&
|
|
|
|
make mrproper &&
|
|
|
|
make include/linux/version.h &&
|
|
|
|
make symlinks &&
|
|
|
|
mkdir /usr/include/asm &&
|
|
|
|
cp include/asm/* /usr/include/asm &&
|
2002-08-08 18:28:01 +01:00
|
|
|
cp -R include/asm-generic /usr/include &&
|
2002-05-25 01:21:12 +01:00
|
|
|
cp -R include/linux /usr/include &&
|
|
|
|
touch /usr/include/linux/autoconf.h &&
|
|
|
|
rm /bin/pwd</userinput></screen></para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|