VMware Communities
fbb
Contributor
Contributor

Linux kernel headers not found??

Hi community,

I just upgraded my debian Linux system to 3.9-1-686-pae. Following that, I installed the linux kernel headers.

They are installed using the package linux-headers-3.9-1-686-pae, and they are actually available in

/usr/src/linux-headers-3.9-1-686-pae.

However, when I start vmware I get a complaint from the kernel module updater that it can't find the

headers. After specifying the explicit location in the specification window that's offered by the updater it still

complains about the kernel headers not being available. In the specification window I entered

/usr/src/linux-headers-3.9-1-686-pae.

I've successfully updated vmware modules in the past, and this is the first time I experience the abovementioned

problem. If anybody has a solution for this problem, I'd appreciate it if you could share it. Hints and suggestions

are of course also welcome.

Cheers,

Frank Brokken.

Reply
0 Kudos
3 Replies
WoodyZ
Immortal
Immortal

Try the following in a Terminal:

sudo ln -s /usr/src/linux-headers-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-headers-$(uname -r)/include/linux/version.h

Note that this works on Ubuntu for this error message however on Debian the path to version.h may need to be adjusted in the command above.

fbb
Contributor
Contributor

Hi WoodyZ,

Thanks for your helpful reaction. It will take a few days before I'm able to check out your suggestion; I'll post the results of my efforts.

Cheers,

Frank.

Reply
0 Kudos
fbb
Contributor
Contributor

Hi Woodyz,

As promised: the results of my efforts. Your suggestion saved the day 🙂 After adding the link the problem disappeared. There was a minor issue: compilation of the modules still failed with a message `Icon name must be set'. Realizing that I was still using an older version of the player, I decided not to look into that, but upgrade to the latest version. The installation of the latest VMware Player went flawlessly.


So, once again: thanks for your hint. I'll remember it the next time the kernel is upgraded.


Cheers,


Frank.

Reply
0 Kudos