I’m installing VMware Workstation on a SLED 11 SP1, and the installation is blocked by an error message “Kernel headers for version 126.96.36.199-0.2-default were not found”. If you installed them in a non-default path you can specify the path below. Otherwise refer to your distribution’s documentation for installation instructions and click Refresh to search again in default locations.
The output of rpm -qa | grep kernel is
kernel-default-188.8.131.52-0.2.2 kernel-default-base-184.108.40.206-0.2.2 linux-kernel-headers-2.6.32-1.4.13 kernel-default-extra-220.127.116.11-0.2.2 nfs-kernel-server-1.2.1-2.10.1
I had met this issue in Ubuntu and I installed the required linux header via apt-get then the issue disappeared. But in SLED, I didn’t find the rpm package in SUSE’s software repository, and I also google “linux-kernel-headers-18.104.22.168” but did not match any documents.
Any suggestion will be highly appreciated. Thanks.
The output result of zypper se kernel | grep kernel is
i | linux-kernel-headers | Linux Kernel Headers | package | linux-kernel-headers | Linux Kernel Headers | srcpackage
The kernel-header error is misleading – you have to install kernel-source. (After you do that, you might have to update the kernel itself, so check that afterwards.)
You can use:
yast2 -i kernel-source
Can you provide output result from
zypper se kernel | grep header
Problem here is that your SUSE installed kernel headers is linux-kernel-headers-2.6.32-1.4.13 which doesn’t match your current kernel 22.214.171.124
First, uninstalling package linux-kernel-headers-2.6.32-1.4.13
#rpm -e linux-kernel-headers-2.6.32-1.4.13
Update repositories with
Check for kernel headers package Version,
#zypper if linux-kernel-headers | grep Version
if it match 126.96.36.199, so just go ahead.
Hope this help,
This worked for me:
cd /lib/modules/`uname -r`/build/include ln -s generated/uapi/linux/ .
version.h is not quite where VMWare expects it. VMWare finds it via the softlink.