when I try to install VMWare Player on Ubuntu 12.04 LTS I get the following error:
Unable to build kernel module.
I saw in other similar questions that a suggested solution is to do the following:
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
However, I don't have the last file, version.h
although I have installed the linux headers but no luck.
I also tried to run
sudo vmware-modconfig --console --install-all
but it fails with the following message:
tmp/vmware-root/modules/vmmon-only/linux/driver.c:40:28: fatal error: linux/smp_lock.h:
No such file or directory
compilation terminated.
make[2]: *** [/tmp/vmware-root/modules/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-root/modules/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.5.0-44-generic'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-root/modules/vmmon-only'
Unable to install vmmon
Is there any other way to install the missing headers?
EDIT 1
The screen-shots bellow show what I see after I complete the installation