[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kernel Headers



On Fri, 6 Mar 1998, Stephen Carpenter wrote:

> Can someone explain to me please this whole debian kernel headers
> thing?
> I use OSS/Linux (unfortunatly my sound card is of a type where I can't
> use anything else)
> and I plan to upgrade to the new version of it later today...
> they say that before installation on Debian systems...
> you have to rename /usr/include/asm and /usr/include/linux
> and make them sym inks into the kernel source tree (easy enough)
> then I got curious here at work (I am installing at home) and noticed
> that /usr/include/linux is a sym link to /usr/src/kerenel-headers-xxx
> why i sthis so?

See the /usr/doc/libc* FAQ.. Excerpt:

Q1: Why does Debian's libc point the /usr/include/linux and
/usr/include/asm symlinks to a specific kernel instead of using the
standard convention of pointing them to the currently installed
kernel?

A1: Occasionally, changes in the kernel headers cause problems with
the compilation of libc and of programs that use libc.  To ensure that
users are not affected by these problems, we configure libc to use the
headers from a kernel that is known to work with libc.


By the way, the most recent OSS should take care of all of this stuff
automatically, I believe.  I install OSS without having to touch any of
the links (which point to 2.0.32 headers).  I am using kernel 2.0.33 and
OSS for 2.0.33 without any modifications or problems.



--
E-mail the word "unsubscribe" to debian-user-request@lists.debian.org
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble?  E-mail to listmaster@debian.org .


Reply to: