Re: [OT] Re: Linus's include file strategy redux

From: Dana Lacoste (dana.lacoste@peregrine.com)
Date: Fri Dec 15 2000 - 11:00:38 EST


> Maybe you did not notice, but for months we have
> /lib/modules/`uname -r`/build/include, which points to kernel headers,
> and which should be used for compiling out-of-tree kernel modules
> (i.e. latest vmware uses this).

What about the case where I'm compiling for a kernel that I'm
not running (yet)?

lm_sensors, for example, told me yesterday when I compiled it
that I was running 2.2.17, but it was compiling for 2.2.18
(because I moved the symlink in /usr/src/linux to point to
/usr/src/linux-2.2.18)

I personally wouldn't like some programs to do a `uname -r`
check because it won't do what I want it to :)

--
Dana Lacoste
Linux Developer
Peregrine Systems

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



This archive was generated by hypermail 2b29 : Fri Dec 15 2000 - 21:00:32 EST