February 02, 20143D on Virtual Machine VMWARE 10 OpenSuse
After some problems with the kernel sources, got it working.
First: Install kernel-devel to have the sources etc.
Markus Koßmann 2012-12-26 13:20:53 UTC
You made the wrong link. it should have been: cd /lib/modules/3.7.1-16-desktop/build/include/ ( a 'ls' should show no file or directory named linux and two directories called generated and config and a 'ls generated/uapi/linux' should show version.h ) ln -s generated/uapi/linux After that a 'ls linux' should show version.h
Which according to the version you’ll have to change this dir. Or simply use uname.
# ln -s /usr/src/linux-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-$(uname -r)/include/linux/
Something like this. By then the version.h will be fine, and located where it shoudl. Then to finish the compiling…
# sudo /usr/bin/vmware-modconfig --console --install-all
That should get it compiling right away.