Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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 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


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.