Re: version.h in 2.2.10

Otel Florian-Daniel (otel@ce.chalmers.se)
Mon, 21 Jun 1999 21:48:33 +0200 (MET DST)


>>
>> Wouldn't compiling with -I/usr/include -I/usr/src/linux-2.2.10/include
>> do what you want? (Take the glibc version if it exists, peek at the
>> kernel sources otherwise.)

> No, since /usr/include/{linux,asm} are there, they just don't match
> with the current kernel. Hmm, perhaps glibc needs to move away from
> /usr/include/{linux,asm}. After all, no application should include
> linux/* or asm/* right ..

> I want
> -I/usr/src/linux-2.2.10/include --exclude /usr/src/linux-2.2.10/include/net ;)

That's _exactly_ why you need the _real_ kernel headers and not what
glibc _thinks_ are kernel headers. I just had this argument today w/
some Debian people (Debian has /usr/include/linux as glibc stuff and
i'm on a RH having /usr/include/linux pointing in the kernel source ---
IMHO _rightfully_).

Florian.

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