Comment 2 for bug 193606

Roshan Shariff (roshan.shariff) wrote :

The problem seems to be caused in 03_kernel_makefile_fix.diff applied by Ubuntu. The following procedure allows the modules to build:

$ sudo module-assistant auto-install open-vm-source

This build will fail. Select STOP and abort the installation.

$ cd /usr/src/modules/open-vm
$ wget -qO - http://patches.ubuntu.com/o/open-vm-tools/extracted/03_kernel_makefile_fix.diff | sudo patch --reverse -p3
$ sudo module-assistant --not-unpack auto-install open-vm-source

This should build and install the modules for the current kernel.