The original details from which the below comes.
sudo apt-get install build-essential linux-kernel-headers linux-kernel-devel
"tar xvf <filename>" the file you've just download cd lib/modules/source/ tar xvf vmmon.tar vi ./vmmon-only/include/vcpuset.h
change:
#include "asm/bitops.h"to
#include "linux/bitops.h"then
mv vmmon.tar vmmon-BACKUP.tar tar cf vmmon.tar vmmon-only cd ../../.. sudo ./vmware-install.pl
and follow all the defaults.