possebonrr
(usa Ubuntu)
Enviado em 17/12/2011 - 22:13h
Every kernel release has it's own set of kernel headers.
Whenever you upgrade your kernel, you will need to download the "new" kernel headers and recompile the vmware modules to work with the new kernel/kernel headers.
If you upgraded from ubuntu 10.04 to ubuntu 10.10, you will have the new kernel...and the "old" kernel headers, possibly the old gcc files as well.
VMware will not compile properly this way.
So...install the new kernel headers and gcc:
sudo apt-get install linux-headers-$(uname -r) gcc
Then try to re-compile the VMware modules:
sudo vmware-modconfig --console --install-all
Now...you can also install the dkms framework (Dymanic Kernel Module Support) to automatically install the the Linux Header files automatically everytime a new kernel is installed.
sudo apt-get install linux-headers-$(uname -r) gcc dkms
This way, all you have to do after a kernel update is re-compile the vmware modules with the "sudo vmware-modconfig --console --install-all" command.
Hope this helps...good luck.