Re: 2.4.0-test2 requires gcc-2.95, and /usr/include/linux

From: ferret@phonewave.net
Date: Sat Jun 24 2000 - 23:45:58 EST


On Sat, 24 Jun 2000, Matthew Vanecek wrote:

> Adam Sampson wrote:
> > Also, what's the official stance on what headers should be in
> > /usr/include/linux? The glibc 2.1.3 documentation says that
> > /usr/include/linux and usr/include/asm should be symlinks into the source
> > tree, but this hasn't been true for a long time now. Where should we get
> > the "new" headers from?
> >
>
> How long has it not been true? I've never heard anything like that.
> I'm running test1, with glibc-2.1.3, and mine are links:

Mine's never been symlinked. The rationale behind it (from memory; and I
believe Linus ranted about this once) is that userspace programs do not
want to link directly to the kernel's header files, because exported
kernel interfaces might be different between the C library and the kernel,
and might cause subtle breakage.

Try running a "legacy" system with glibc 2.0.7 compiled against 2.0.34,
then run 'foo' which you compiled against 2.4.0's headers. =)

>
> lrwxrwxrwx 1 root root 32 Apr 21 00:15 /usr/include/asm
> -> /usr/src/linux/include/asm-i386/
> lrwxrwxrwx 1 root root 26 Apr 21 00:15
> /usr/include/linux -> ../src/linux/include/linux/
>
>
> If yours aren't links, then you've got something misconfigured.

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



This archive was generated by hypermail 2b29 : Mon Jun 26 2000 - 21:00:06 EST