Today i’ve decided to upgrade my server from Ubuntu 9.10 Server (64bit) to 10.04 LTS. After the upgrade Vmware server (2.0.1) wasn’t working anymore. This is usually fixed by running vmware-install.pl (it rebuilds the modules). Unfortunately the script generated build errors:
make[2]: *** [/tmp/vmware-config1/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config1/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-26-server'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config1/vmmon-only'
Unable to build the vmmon module.
After some googling i found this page via the Ubuntu help page. If you use this script to install Vmware Server it compiles just fine. Just execute the script and provide the directory containg the tar.gz file as argument. For example:
./vmware-server-2.0.x-kernel-2.6.3x-install.sh /usr/src/
/usr/src/ contains VMware-server-2.0.2-203138.x86_64.tar.gz. I used this script to install Vmware Server 2.0.2-203138 64bit.
/home/verient/installers/vmware-server-distrib/lib/modules/source/vmnet-only/filter.c:1089: error: âfilterIoctlSemâ undeclared (first use in this function)
/home/verient/installers/vmware-server-distrib/lib/modules/source/vmnet-only/filter.c:1089: error: (Each undeclared identifier is reported only once
/home/verient/installers/vmware-server-distrib/lib/modules/source/vmnet-only/filter.c:1089: error: for each function it appears in.)
make[2]: *** [/home/verient/installers/vmware-server-distrib/lib/modules/source/vmnet-only/filter.o] Error 1
make[1]: *** [_module_/home/verient/installers/vmware-server-distrib/lib/modules/source/vmnet-only] Error 2
make: *** [vmnet.ko] Error 2
There is a problem compiling the vmnet module after it was patched. 🙁
If the script doesn’t work you can try this one:
http://www.troublenow.org/316/installing-vmware-server-2-0-2-on-debian-6-0-1-x64/