|
Vahis
>>> Reply on 14-11-2006 9:18:07 <<<> Andreas Hanke wrote: > > Vahis schrieb: > > > >> Everything is as It's says there. But the script keeps coming to > this: > >> > >> The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) > does > >> not match > >> your running kernel (version 2.6.18.2-4-default). Even if the > module > >> were to > >> compile successfully, it would not load into the running kernel. > >> > > > > Again: > > > > You need to install the kernel-source package. > > > > I have. I always do that. > > I have made instructions on my site for installing vmware by the time > 10.0 came out. > This is also mentioned there, but now following my own instructions > that > worked then, don't work anymore :( > > > The linux-kernel-headers package is not usable to build external > kernel > > modules; whether it matches the running kernel or not is if no > importance. > > > > The important thing is that the commands > > > > rpm -q kernel-default > > rpm -q kernel-source > > > > return exactly the same version. > > > [EMAIL PROTECTED]:~> rpm -q kernel-default > kernel-default-2.6.18.2-4 > > [EMAIL PROTECTED]:~> rpm -q kernel-source > kernel-source-2.6.18.2-4 > [EMAIL PROTECTED]:~> > That's quiet odd. I really just installed the kernel-source, then started vmware-config-tools.pl and it compiled it perfectly.
Be sure to point to the right include in /usr/src/linux/include when it asks for (but most probably you did this).
Then, I did not have any problems.
Maybe it could be worth checking the file /usr/src/linux/include/linux/version.h ?
Just to be sure?
Another idea could come from an upgrade path you made, that the link /usr/src/linux is not pointing to the right place at yours.
Dominique |
