Background

The VMware Player (7.1.0) kernel modules would not build after I upgrade to Ubuntu 15.04 (which runs Linux Kernel 3.190 due to compile errors in the vmnet module.

Solution

wijningssaj’s fix was the easiest as a patch file was provided:

  1. VMware Community https://communities.vmware.com/message/2501080#2501080
  2. Patch file: http://pastie.org/pastes/9934018/download (or attached vmnet-3.19.patch)
curl http://pastie.org/pastes/9934018/download -o /tmp/vmnet-3.19.patch

cd /usr/lib/vmware/modules/source
tar -xf vmnet.tar
patch -p0 -i /tmp/vmnet-3.19.patch

mv vmnet.tar vmnet.tar.original
tar -cf vmnet.tar vmnet-only
rm -r vmnet-only

vmware-modconfig --console --install-all

Other References

  1. Ubuntu Questions https://answers.launchpad.net/ubuntu/+question/263985
  2. VMware Community https://communities.vmware.com/message/2469759
  3. Blog Post http://rglinuxtech.com/?p=1281
  4. Another Blog Post http://pacificsimplicity.ca/blog/vmware-904-patch-319-and-ubuntu-1504