VMware Workstation: Error, modules must be compiled... - how to fix?
I has same problem. After some joojling(googling), i resolved my problem ny following steps:
(I am not sure that this does any affect about my problem) as @pst007x executed
cd /lib/modules/$(uname -r)/build/include/linux sudo ln -s ../generated/utsrelease.h sudo ln -s ../generated/autoconf.h sudo ln -s ../generated/uapi/linux/version.h
I ran following code as @Qasim suggested
sudo vmware-modconfig --console --install-all
I have Ubuntu 13.04-64bit, powered by kernel 3.8.0-21-generic and VMware Player 5.0.2 build-1031769
Good luck!