Topic: Help with vmware kernel modules compilation

Hi guys!
These days is virtualmachine time! wink I installed vmware workstation and it told me to install the kernel modules. So I ran sudo apt-get install linux-headers-$(uname -r) and instaled them.
I rebooted, but when compiling, vmware gives me an error, referring to this logfile:

"lug 29 23:34:06.770: app| Log for VMware Workstation pid=10018 version=6.5.1 build=build-126130 option=Release
lug 29 23:34:06.770: app| Host codepage=UTF-8 encoding=UTF-8
lug 29 23:34:06.770: app| Logging to /tmp/vmware-root/setup-10018.log
lug 29 23:34:07.626: app| Extracting the sources of the vmmon module.
lug 29 23:34:07.636: app| Building module with command: /usr/bin/make -C /tmp/vmware-root/modules/vmmon-only auto-build SUPPORT_SMP=1 HEADER_DIR=/lib/modules/2.6.32-5-686/build/include CC=/usr/bin/gcc GREP=/usr/bin/make IS_GCC_3=no VMCCVER=4.4.4".

What's the problem guys? I can't see one in my extreme compilation ignorance! Maybe I have to install the linux-source package?

The vmware error was "Unable to build kernel module".

Thanks in advance!

Last edited by xaber (2010-07-29 21:45:29)

Re: Help with vmware kernel modules compilation

I'm no expert on this, but I know from VMware Fusion on my Mac that you need to have the kernel headers, GCC and make in order for VMware Tools to run.  The easiest way to get this stuff in a Ubuntu-based distro is to run:

sudo apt-get build-essential

I don't know whether this comes from the Debian or Ubuntu repositories, though.

Mac user with Linux tendencies
#!CrunchBang Statler & UNE 10.10 on Acer 1810TZ (OCZ Vertex 60gb SSD)
#!, Mint LMDE & Peppermint Ice on MSI Wind U100 (Gigabye Atheros b/g wireless)
Various linux virtual machines on a Mac mini, an iMac and a MacBook Pro

Re: Help with vmware kernel modules compilation

Thank you, but I already have build-essential installed! Crap!