Re: [PATCH] asm*/resource.h fix for glibc

Thomas Molina (tmolina@home.com)
Thu, 16 Dec 1999 16:29:42 -0600 (CST)


On Thu, 16 Dec 1999, Jamie Lokier wrote:

> Alan Cox wrote:
> > > fwiw, Red Hat 6.0 glibc-devel depends on kernel-headers. That means to
> > > compile things with Glibc you have to have a set of kernel headers
> > > installed.
> > >
> > > Which is always annoying because I /never/ want the same kernel headers
> > > as the package manager would like there.
> >
> > Your glibc headers are dependant on a suitable set of kernel headers. Thats
> > /usr/src/linux-2.2.12-20/... from memory - ie tied to a version. You don't
> > want to remove those when you change your kernel version. Thats one reason
> > they arent in /usr/src/linux/..
>
> I don't see any version tie.
>
> glibc-devel includes references to <linux/*.h> headers not
> <linux-version/*.h>, and no symlinks. kernel-headers includes the
> symlinks but they are to /usr/src/linux.
>
> /usr/src/linux is a link to /usr/src/linux-VERSION, for whatever version
> of kernel-headers is installed. glibc-devel is not involved in this.
>
> It doesn't take long before /usr/src/linux gets changed for obvious
> reasons. Then a few things start working (i.e. programs using recent
> ioctls, O_ flags that aren't in Glibc, that sort of thing).

I haven't had a kernel or kernel-headers rpm installed since early in
the 2.1 series and haven't noticed any side effects from that aside from
an annoying message when doing a system-wide package verification.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/