Solving build problem in VMware Workstation
Today I had this problem trying to install VMware-Workstation 5.5.3 with the latest kernel updates in Slackware 11 (2.6.20-1.2933):
Building the vmmon module. Using 2.6.x kernel build system. make: Entering directory `/tmp/vmware-config3/vmmon-only' make -C /lib/modules/2.6.20-1.2933.fc6/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/kernels/2.6.20-1.2933.fc6-i686' CC [M] /tmp/vmware-config3/vmmon-only/linux/driver.o In file included from /tmp/vmware-config3/vmmon-only/linux/driver.c:80: /tmp/vmware-config3/vmmon-only/./include/compat_kernel.h:21: error: expected declaration specifiers or ‘...’ before ‘compat_exit’ /tmp/vmware-config3/vmmon-only/./include/compat_kernel.h:21: error: expected declaration specifiers or ‘...’ before ‘exit_code’ /tmp/vmware-config3/vmmon-only/./include/compat_kernel.h:21: warning: type defaults to ‘int’ in declaration of ‘_syscall1’ make[2]: *** [/tmp/vmware-config3/vmmon-only/linux/driver.o] Error 1 make[1]: *** [_module_/tmp/vmware-config3/vmmon-only] Error 2 make[1]: Leaving directory `/usr/src/kernels/2.6.20-1.2933.fc6-i686' make: *** [vmmon.ko] Error 2 make: Leaving directory `/tmp/vmware-config3/vmmon-only' Unable to build the vmmon module. For more information on how to troubleshoot module-related problems, please visit our Web site at "http://www.vmware.com/download/modules/modules.html" and "http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html". Execution aborted.
Then I downloaded the updates for the vmmon and vmnet modules from http://ftp.cvut.cz/vmware/vmware-any-any-update108.tar.gz :
[root@bergcore updates]# tar xvfz vmware-any-any-update108.tar.gz vmware-any-any-update108/ vmware-any-any-update108/runme.pl vmware-any-any-update108/services.sh vmware-any-any-update108/update vmware-any-any-update108/update.c vmware-any-any-update108/vmnet.tar vmware-any-any-update108/vmmon.tar [root@bergcore updates]# cd vmware-any-any-update108 [root@bergcore vmware-any-any-update108]#./runme.pl
At the end wait for the message:
"The configuration of VMware Workstation 5.5.3 build-34685 for Linux for this running kernel completed successfully."
