You are not logged in.

#1 2013-01-24 21:47:26

earlz
Member
Registered: 2010-07-11
Posts: 39

VMWare can't find kernel headers despite having linux-headers

So, I did a kernel update and now VMWare can't find the kernel headers to recompile the modules. Version it's looking for: linux-3.7.4-1-ARCH.

I've rebooted my machine since and confirmed my current kernel is 3.7.4-1 with `uname-a`. I've ensured I have linux-headers-3.7.4-1.

I've tried manually browsing to /usr/src/linux-3.7.4-1-ARCH, but it just gives an error "C header files matching your running kernel were not found..."

It was working fine before updating my kernel with a pacman -Syu (I had last updated maybe a month ago)

Edit:

Checking the logs, it appears that I'm missing linux-3.7.4-1-ARCH/include/linux/version.h Everywhere I've read says that this is autogenerated and should be populated by compiling your kernel. I've never had to manually compile the kernel before though to get VMWare to work. Is this correct?

Last edited by earlz (2013-01-24 22:03:24)

Offline

#2 2013-01-25 10:59:08

Shinmera
Member
Registered: 2011-12-25
Posts: 4

Re: VMWare can't find kernel headers despite having linux-headers

I'm having the exact same problem.
Quite annoying as I need vmware for some work tasks.

I checked my header files and I seem to be missing a version.h as well.

Offline

#3 2013-01-25 15:00:10

earlz
Member
Registered: 2010-07-11
Posts: 39

Re: VMWare can't find kernel headers despite having linux-headers

I downgraded to 3.6.11-1 and now it works again(even though other stuff is broken I assume due to relying on the new kernel features). I have to have VMWare to work though, so hopefully this gets fixed soon

Offline

#4 2013-01-25 15:36:36

alphaniner
Member
From: Ancapistan
Registered: 2010-07-12
Posts: 2,601

Re: VMWare can't find kernel headers despite having linux-headers

I just installed VMware Player and built the modules successfully, thanks to the fine ArchWiki.


But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner

Offline

#5 2013-01-25 16:35:02

Shinmera
Member
Registered: 2011-12-25
Posts: 4

Re: VMWare can't find kernel headers despite having linux-headers

Ah, yes, the link in the wiki helped. Thanks.

Offline

#6 2013-01-25 18:26:13

earlz
Member
Registered: 2010-07-11
Posts: 39

Re: VMWare can't find kernel headers despite having linux-headers

alphaniner wrote:

I just installed VMware Player and built the modules successfully, thanks to the fine ArchWiki.

I could swear that didn't exist yesterday. Apparently it's existed for a few days though. I bet that'll fix it.

Offline

Board footer

Powered by FluxBB