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!

3
  • communities.vmware.com/thread/476573
    – sohel4r
    Apr 27, 2014 at 10:49
  • 2
    I had the same error after upgrade to 14.04, but after I run your command, everything worked. I have 6.0.1 build-1379776
    – ssgao
    Apr 27, 2014 at 19:28
  • Seems like mine is an old version of vmware player. Thank you!
    – user207935
    Apr 28, 2014 at 12:17

4 Answers 4

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.

1
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
  • Kareem's solution (install the most recent version) is still valid for VMware-Player-6.0.3-1895310.x86_64.bundle
    – Angel
    Apr 6, 2015 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

You must log in to answer this question.