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.
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 patches. ubuntu. com/o/open- vm-tools/ extracted/ 03_kernel_ makefile_ fix.diff | sudo patch --reverse -p3
$ wget -qO - http://
$ sudo module-assistant --not-unpack auto-install open-vm-source
This should build and install the modules for the current kernel.