VMware cannot find kernel source

Using the rc1 (beta 1 gave the same result) I tried to install vmware (Fusion, latest version). I have kernel development installed. When vmware tools tries to compile, I get

The path “” is not a valid path to the 3.7.6-1.2-desktop kernel headers.
Would you like to change it [yes]

Enter the path to the kernel header files for the 3.7.6-1.2 desktop kernel? /usr/src/linux/

The path “/usr/src/linux/” is not a valid path to the 3.7.6-1.2-desktop kernel headers.
Would you like to change it [yes]

If I
ls -l /usr/src/

I get that

linux -> linux-3.7.6-1.2

and this directory is full of stuff.

Any idea what is wrong or how to fix this? I ticked all the kernel development options. Uncle google did not come up with anything else useful to try…:frowning:

Even the latest version of vmware is not adapted to 3.7 ( and later ) kernels
You will find a workaround on https://bugzilla.novell.com/show_bug.cgi?id=795837

:slight_smile:
Perfect! Thanks. To summarise, this is what does:

cd to /lib/modules/3.7.6-1.2-desktop/build/include

then

fire:/lib/modules/3.7.6-1.2-desktop/build/include # ln -s generated/uapi/linux linux
fire:/lib/modules/3.7.6-1.2-desktop/build/include # ls linux
version.h

Build vmware tools.