On Wed, Jun 12, 2002 at 09:06:07PM +1200, Bill Wilson wrote:

> I am stuck at the question that asks for the directory that contains
> the kernel header files.  When I replied /usr/include   I got back the
> message: "The directory of the kernel headers (version 2.4.9-9) does
> not match your running kernel (version 2.4.18-3). Even if the module
> were to compile successfully, it would not load into the running
> kernel."

> I can only assume the RH people have not included the correct header files
> etc to match the distro.

No. Redhat should be providing, by default, the kernel includes that glibc
is built against. They are doing the Right Thing.

You should NOT overwrite these kernel includes with the ones for your
kernel. Install the kernel includes corresponding to your kernel
somewhere else, and when building kernel modules; point them to these
includes instead.

> Has anyone got suggestions.

Install the correct kernel includes for the kernel you are running
somewhere. When building kernel modules, such as in this case, point
them to the kernel includes you installed, not the ones in /usr/include. 

Cheers
-- 
Matthew Gregan                     |/
                                  /|                [EMAIL PROTECTED]

Reply via email to