charlescw
Contributor
Contributor

Kernel headers not found

I have tried searching all over for a solution but have been unable to find one that works.

I am running CentOS 7 and am trying to install VMware Workstation 7.  Whenever I try to start vmware it says that it cant find the needed kernel headers and asks me to browse for them.  For every location I try it says "C header files matching your running kernel were not found".

I have installed the following:

kernel.x86_64                       3.10.0-123.el7            
kernel.x86_64                       3.10.0-123.6.3.el7        
kernel-devel.x86_64                 3.10.0-123.el7            
kernel-devel.x86_64                 3.10.0-123.6.3.el7        
kernel-headers.x86_64               3.10.0-123.6.3.el7        
kernel-tools.x86_64                 3.10.0-123.6.3.el7        
kernel-tools-libs.x86_64            3.10.0-123.6.3.el7        
perf.x86_64                         3.10.0-123.6.3.el7        
kernel-abi-whitelists.noarch        3.10.0-123.6.3.el7        
kernel-debug.x86_64                 3.10.0-123.6.3.el7        
kernel-debug-devel.x86_64           3.10.0-123.6.3.el7        
kernel-doc.noarch                   3.10.0-123.6.3.el7        
kernel-tools-libs-devel.x86_64      3.10.0-123.6.3.el7        
gcc.x86_64                          4.8.2-16.2.el7_0          
gcc-c++.x86_64                      4.8.2-16.2.el7_0          
gcc-gfortran.x86_64                 4.8.2-16.2.el7_0          
libgcc.x86_64                       4.8.2-16.2.el7_0          
compat-gcc-44.x86_64                4.4.7-8.el7               
compat-gcc-44-c++.x86_64            4.4.7-8.el7               
compat-gcc-44-gfortran.x86_64       4.4.7-8.el7               
gcc-gnat.x86_64                     4.8.2-16.2.el7_0          
gcc-go.x86_64                       4.8.2-16.2.el7_0          
gcc-objc.x86_64                     4.8.2-16.2.el7_0          
gcc-objc++.x86_64                   4.8.2-16.2.el7_0          
gcc-plugin-devel.x86_64             4.8.2-16.2.el7_0          
libgcc.i686                         4.8.2-16.2.el7_0          
relaxngcc.noarch                    1.12-6.el7                
relaxngcc-javadoc.noarch            1.12-6.el7                

Here is the output of 'uname -a':

Linux localhost.localdomain 3.10.0-123.6.3.el7.x86_64 #1 SMP Wed Aug 6 21:12:36 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

What is the correct directory that I am supposed to point the Kernel Module Updater to? Is there something else that I am missing?

0 Kudos
2 Replies
WoodyZ
Immortal
Immortal

I am running CentOS 7 and am trying to install VMware Workstation 7

1. CentOS 7 is not an officially supported Host OS for any GA Release of VMware Workstation.

2. The latest CentOS version supported as a Host for VMware Workstation 7.1.4 is CentOS 5.5.

Between these two, I'm not surprised there is an issue installing VMware Workstation 7.x under CentOS 7! Smiley Wink

Additionally even if it were to find the kernel headers you may also have some kernel module build issues due to differences between the last supported version of CentOS as a Host and the unsupported CentOS 7 with VMware Workstation 7.x

That said... The only thing I can think of, since I haven't tried that combination, is with some Linux Distros, kernel versions and or version of VMware Player/Workstation that type error message was resolved e.g. Re: Linux kernel headers not found?? and something similar might work.  Again, can't say for sure as I haven't tried with the same combo of software however I'd see if that scenario can be matched.  Albeit a different path to the files I'd assume.

0 Kudos
gray13
Contributor
Contributor

Hi,

  i am installing vmware play 7 on rhel7 today and met the same error...

here is my OS version Linux rhel7-0 3.10.0-123.el7.x86_64

Linux rhel7-0 3.10.0-123.el7.x86_64

here is my vmware play version:

VMware Player 7.1.2 build-2780323

i met the similar error showing kernle headers was not installed ..

even when i check i already installed all the required pkgs..

there is only one pkg i didnt install but looks not related to the error message..

the pkg is kernel-devel

yum install kernel-devel -y

after i install kernel -devel then run vmplayer.... surprised me.. no any error...

i noticed u already installed kernel-devel package..before i hit this error it asked me to install GCC pkgs also..

maybe u can try to install all the GCC pkgs.. just a little advice..

0 Kudos