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
  • 27,708

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
  • 58,122
davidj411
  • 121
  • 3
  • Here is how to uninstall either Player or Workstation: http://askubuntu.com/questions/131045/how-do-i-uninstall-vmware-workstation – Mads Skjern Jun 18 '15 at 09:59
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.

Jurie Otto
  • 121
  • 3
1

The fix is surely to install the most recent version.

  • Kareem's solution (install the most recent version) is still valid for VMware-Player-6.0.3-1895310.x86_64.bundle – Angel Apr 06 '15 at 20:07
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