Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question

2 Answers 2

up vote 3 down vote accepted

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

share|improve this answer
    
Article rglinuxtech.com/2012/11/18/vmware-9-0-1-not-so-clever-after-all helped to find the solution –  Luis Lobo Borobia Jan 25 '13 at 17:03

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
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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