Re: compiling kernel
"J" == Josh <firstname.lastname@example.org> writes:
J> One other thing I did (that I found on some on-line
J> documentation) when compiling kernel was to make new links
J> from /usr/include/asm /usr/include/linux /usr/include/scsi
J> to /usr/src/linux/include/asm-ppc
J> /usr/src/linux/include/linux /usr/src/linux/include/scsi
J> (after removing the old ones)
J> Is that right?
No, it's not.
You *should not* have links to those directories in your kernel
source. There's a whole thread on this topic in debian-powerpc
from back in January of 2000 -- search for ``Subject: Continuing
annoyances...'' or ``Message-id:
<E125t1w-0000Jvemail@example.com>'' in the archive.
Basically, though, Linus has made it pretty clear that you
shouldn't be including any header files from the kernel sources --
you should use the header files provided with libc (the header
files in /usr/include/linux come from the libc6-dev package), or
copy them into your source tree. Using the kernel header files
directly can cause major breakage when you upgrade your kernel.
(As a point of interest, I recently had to copy a header file
(openpic.h) *from* /usr/include/linux back into the kernel tree,
because someone had taken out some symbols that the kernel needed.
They're back now.)
Behind the counter a boy with a shaven head stared vacantly into space,
a dozen spikes of microsoft protruding from the socket behind his ear.
C.M. Connelly firstname.lastname@example.org SHC, DS