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

Jamie Lokier (lkd@tantalophile.demon.co.uk)
Thu, 16 Dec 1999 22:35:06 +0100


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).

-- Jamie

-
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/