Re: PROBLEM: kernel 2.3.99-pre5 does not compile without system-wide kernel headers

From: Oliver Xymoron (oxymoron@waste.org)
Date: Fri Apr 21 2000 - 23:25:20 EST


On Thu, 20 Apr 2000, Jeff Garzik wrote:

> "Theodore Y. Ts'o" wrote:
> > From: Jeff Garzik <jgarzik@mandrakesoft.com>
> > 1) You need headers in /usr/include/linux. For 2.3.x/2.4.x kernels it
> > is generally assumed that the systemwide /usr/include/linux should be
> > upgraded independently of the kernel includes.
>
> > .... except if you want to build stand-alone kernel modules that work
> > against the kernel that you are currently booting.
>
> Even though the distro default is /usr/src/linux == currently running
> kernel, that rule is so frequently violated I adocate simply requiring a
> pointer to the kernel headers. Even if you are currently running the
> kernel whose sources are in /usr/src/linux, that might not be the best
> version choice for the module being built.

Ooh! What we really need is (/proc|/dev(fs)?|/var/shm)/config(.gz)?!

Sigh..

--
 "Love the dolphins," she advised him. "Write by W.A.S.T.E.." 

- 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 : Sun Apr 23 2000 - 21:00:20 EST