unpacking kernel source.
Its been a while since i built a new kernel, and after i unpacked the source to 2.4.18 and read the README file i got slightly confused. Just wondered if anyone could shed any light on this?
In the README file it sais this:
------------------
If you install the full sources, put the kernel tarball in a
directory where you have permissions (eg. your home directory) and
unpack it:
gzip -cd linux-2.4.XX.tar.gz | tar xvf -
Replace "XX" with the version number of the latest kernel.
Do NOT use the /usr/src/linux area! This area has a (usually
incomplete) set of kernel headers that are used by the library header
files. They should match the library, and not get messed up by
whatever the kernel-du-jour happens to be.
--------------------
my confusion is as follows:
1) Id always unpacked the kernel source into /usr/src/ , and then created a sym link called linux to whichever source tree was the current one i was using - and never had problems.
2) I thought the kernel-headers ( on mandrake and redhat ) were installed into /usr/include/linux/. Am i wrong about this? If i am not wrong, then what happens when you build a new kernel but don't change the headers in /usr/include/linux ?
i'd appreciate it if anyone can shed any light on this.
thanks.
|