I had the same problem You need to make sure the linux kernel source is available and updated to your current kernel. Then do the following: cd /usr/src/inux make cloneconfig make modules_prepare vmware-config.pl This will create your relevant modules James Knott wrote:
I'm trying to install VMWare Workstation for Linux, on my SuSE 9.3 system, but I'm getting errors, when it's trying to build new modules. I have the latest kernel and kernel-source. Here's the output of the relevant part. I've also shown the contents of the /usr/src/linux.
Any ideas?
tnx jk
Trying to find a suitable vmmon module for your running kernel.
None of the pre-built vmmon modules for VMware Workstation is suitable for your running kernel. Do you want this program to try to build the vmmon module for your system (you need to have a C compiler installed on your system)? [yes]
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Using 2.6.x kernel build system. make: Entering directory `/dev/shm/vmware-config0/vmmon-only' make -C /usr/src/linux/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules make[1]: Entering directory `/usr/src/linux-2.6.11.4-21.7' Makefile:494: .config: No such file or directory
WARNING: Symbol version dump /usr/src/linux-2.6.11.4-21.7/Module.symvers is missing; modules will have no modversions.
CC [M] /dev/shm/vmware-config0/vmmon-only/linux/driver.o /bin/sh: scripts/basic/fixdep: No such file or directory make[2]: *** [/dev/shm/vmware-config0/vmmon-only/linux/driver.o] Error 1 make[1]: *** [_module_/dev/shm/vmware-config0/vmmon-only] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.11.4-21.7' make: *** [vmmon.ko] Error 2 make: Leaving directory `/dev/shm/vmware-config0/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.
thinkpad:~ # ls /usr/src/linux linux/ linux-2.6.11.4-21.7/ linux-obj/ linux-2.6.11.4-20a/ linux-2.6.11.4-21.7-obj/
-- Joseph Loo jloo@acm.org