Re: Unidentified subject!

From: Miquel van Smoorenburg <list-squid@dont-contact.us>
Date: 3 Jan 2000 23:44:23 GMT

In article <cistron.3870F608.6D4276E3@hem.passagen.se>,
Henrik Nordstrom <hno@hem.passagen.se> wrote:
>Or actually Linus is claiming it is a glibc bug where glibc depends on
>Linux kernel headers it should not depend on. See Linux kernel-hacker
>archives for details.

Well no, not quite.

Glibc (or rather, your distributions glibc-devel package) should come
with a copy of the kernel headers that were used to compile glibc
against in /usr/include/linux and /usr/include/asm. You cannot simply
put new headers there and expect glibc (which was itself compiled
against and developed to work with another set of headers) to work 100%

>For the time being, make sure /usr/include/linux and /usr/include/asm is
>from a recent Linux-2.2.X source tree.

Don't follow this advice on all systems, *especially* not Debian systems.
Just make sure you use the latest glibc-devel (or, on Debian,
libc6-dev) package.

On RedHat it may be different, but indeed, broken as well ..

It was about time I put this in a FAQ somewhere. I keep fighting over
this with other people who do not understand what Linus and Ulrich
mean exactly.

Mike.

-- 
There's a lot to be said for not saying a lot.
-- 
The From: and Reply-To: addresses are internal news2mail gateway addresses.
Reply to the list or to miquels@cistron.nl (Miquel van Smoorenburg)
Received on Mon Jan 03 2000 - 23:20:16 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:50:13 MST