4

I installed VMware Player-4.0.6-1035888.x86_64 on my x64 Ubuntu 14.04 LTS, but when I run it I get this error message:

C header files matching your running kernel were not found. Refer to your distribution's documentation for installation instructions.

Now, I've run this beforehand:

sudo apt-get install build-essential linux-headers-$(uname -r)

and the folder named linux-headers-3.13.0-24-generic exists already in /usr/src

Any solutions?

Thanks in advance!

jobin
  • 28,567

4 Answers4

2

Normally this answer above worked, but how about for situation where the kernel gets upgraded?

I upgraded to Ubuntu 14.04 LTS (lubuntu) and VMWare was requiring a fresh compile. when it got to "vnet" part, it failed and left me with a non working VM. Ugh!

I removed VMWare (VMware-Player-6.0.1.xxxx) and installed VMware-Player-6.0.2. The install went smoothly, no questions asked. Back in business.

Gist is: remove VMWare, install it again.

Seth
  • 59,332
davidj411
  • 121
  • 3
2

Try this:

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

This should allow vmplayer to find the linux header path automatically.

1

The fix is surely to install the most recent version.

1

Had the same problem, seems like I had downloaded not the latest version. I could only find the latest version through this link.

https://my.vmware.com/web/vmware/free#desktop_end_user_computing/vmware_player/6_0

There is a little box at the top of the download page that determines the version you are about to download

iSimply
  • 36