After some problems with the kernel sources, got it working.

First:

First: Install kernel-devel to have the sources etc.

Second, at:

https://bugzilla.novell.com/show_bug.cgi?id=795837(link is external)

Found:

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.

ddemuro
administrator

Sr. Software Engineer with over 10 years of experience. Hobbist photographer and mechanic. Tinkering soul in an endeavor to better understand this world. Love traveling, drinking coffee, and investments.

You may also like

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.