Re: kernel headers not matching kernel version?
Rory O'Connor, 2001-Nov-13 00:28 -0600:
> I'm trying to install VMware on debian and all goes smoothly until it
> tries to find a 'vmmon' module for my kernel. it's asking for the dir
> where my C header files are, but then saying that they don't match the
> version i'm running. i don't see how that's possible. here's the
> error:
>
> The directory of kernel headers (version 2.2.19) does not match your
> running
> kernel (version 2.2.19pre17). Even if the module were to compile
> successfully, it would not load into the running kernel.
>
> seems like it might be a syntactical error somewhere. any ideas? any
> help appreciated!
>
> thanks,
>
> rory
The kernel you are running is the pre-built one that comes in the
initial installation. You need to install the kernel headers for
that kernel since you didn't compile it yourself:
One of these packages I think:
kernel-headers-2.2.19
kernel-headers-2.2.19pre17-idepci (I'm betting this one)
kernel-headers-2.2.19-ide
If these don't work, you can get the kernel source and compile
your kernel, matching the existing kernel config found in
/boot/config-2.2.19pre17. You'll need to run this new kernel
too.
jc
--
Jeff Coppock Systems Engineer
Diggin' Debian Admin and User
Reply to: