I downloaded current version of VMWare Player. I have kernel 3.7. When starting, it asked me to tell where the kernel was located. So Vmware kernel modules did not compile.


The solution was to add a symbolic link to version.h:

sudo ln -s /usr/src/linux-headers-3.7.0-7-generic/include/generated/uapi/linux/version.h /usr/src/linux-headers-3.7.0-7-generic/include/linux/version.h

then I run

sudo vmware-modconfig --console --install-all

Then it compiled


This is valid for any kernel version you currently have:

ln -s /usr/src/linux-headers-`uname -r`/include/generated/uapi/linux/version.h /usr/src/linux-headers-`uname -r`/include/linux/version.h

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.