On Wed, Oct 18, 2000 at 04:13:24PM -0700, Carl B. Constantine wrote:
> some of the files in this directory are not in the kernel headers and some
> are. So my question then is, what is the best way to organize things if I
> install a new kernel header package? it seems that this series of
> directories can get pretty messed up.

*very* little software should need a seperate kernel header package.  You
only need them for compiling device drivers that need the exact kernel headers
your kernel was built with.

> quite frankly, I think the kernel-header package should just install things
> in the correct locations in /usr/include instead of creating a dir in
> /usr/src, but that's my opinion.

Linus and Debian disagree with you.  Unless you are rebuilding your libc
with each kernel upgrade (and all other libraries, really), you should not
be changing kernel headers on applications.  This can cause subtle breakage
that you won't be able to debug.  The size of structures can change or be
reorganized, and the lib will see one view of the structure, and libc will
see another, ending up in crashes or weird behaviour.

Basically, you don't really even need the kernel-headers packages installed
unless you are compiling some sort of specialized driver, and have upgraded
your kernel.

-- 
Ryan Murray, Projects Manager, Stormix Technologies Inc., Debian Developer
Opinions expressed in this email are not necessarily those of my employer.


_______________________________________________
Stormlinux-users-list mailing list
[EMAIL PROTECTED]
http://www.stormix.com/community/lists/listinfo/stormlinux-users-list

Reply via email to