VMware Server and kernel 2.6.33
Trying to recompile the VMware Server 2.0.2 on kernel 2.6.33 I came upon these two errors:
# uname -a Linux Sauron 2.6.33 #1 SMP Tue Mar 9 15:09:05 CET 2010 x86_64 AMD Opteron(tm) Processor 248 AuthenticAMD GNU/Linux
This is a Gentoo machine.
Error 1:
The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not matchyour running kernel (version 2.6.33). Even if the module were to compilesuccessfully, it would not load into the running kernel.What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include]
This can be resolved by editing version.h (usually in /usr/src/linux/include/linux) and adding this line: