Build host vmware kernel modules: Difference between revisions
Jump to navigation
Jump to search
Build host vmware kernel modules (view source)
Revision as of 12:30, 12 October 2015
, 12 October 2015→Troubleshooting
(One intermediate revision by the same user not shown) | |||
Line 60: | Line 60: | ||
vmware-modconfig --appname="VMware Workstation" | vmware-modconfig --appname="VMware Workstation" | ||
If there are still problems then vmware-modconfig tells you where it writes out a log, it helps to read it for example: | |||
vmware-modconfig --icon="vmware-workstation" --appname="VMware Workstation" | |||
Logging to /root/tmp/vmware-root/modconfig-2221.log | |||
Check that file! | |||
In my case for example it says: | |||
failed to find /lib/modules/3.12.xx/build/include/linux/version.h | |||
That's because in later versions the version.h file has been moved (smart move!) to another location. | |||
So in order to get past that you have to add a symbolic link (replace) | |||
# ln -s /usr/src/`uname -r`/include/generated/uapi/linux/version.h /usr/src/`uname -r`/include/linux/version.h | |||
Note that your OS might just have the kernel-devel packages installed and in that case you might have to replace `uname -r` in the above with linux. | |||
Eg: | |||
# ln -s /usr/src/linux/include/generated/uapi/linux/version.h /usr/src/linux/include/linux/version.h | |||
====Alternative solution==== | ====Alternative solution==== |