You are not logged in.

#1 2010-10-25 21:20:25

Intrepidus
Member
Registered: 2007-02-08
Posts: 54

[SOLVED] Location of header files (for vmware tools)

Attempting to install VMWare Tools (http://www.vmware.com/support/ws5/doc/w … linux.html) for my Archlinux guest, encountered this question:

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

I found a few old posts saying to use the AUR package, but I can't per my divisions linux server policies (no non-official repositories). Are these included by default, or do I need to get them via some package? Is this kernels-26-headers package, or similar?

Last edited by Intrepidus (2010-10-25 22:38:07)

Offline

#2 2010-10-25 21:22:39

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,543

Re: [SOLVED] Location of header files (for vmware tools)

kernel26-headers installs the files into /usr/src/linux-2.6.35-ARCH/include

Last edited by skunktrader (2010-10-25 21:27:17)

Offline

#3 2010-10-25 21:31:01

Intrepidus
Member
Registered: 2007-02-08
Posts: 54

Re: [SOLVED] Location of header files (for vmware tools)

Thanks.

Is it preferable to use kernel26-headers or linux-api-headers? kernel26-headers is flagged out of date, while the latter seems to be up-to-date and the same functionality?

Offline

#4 2010-10-25 21:47:13

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,543

Re: [SOLVED] Location of header files (for vmware tools)

The wiki http://wiki.archlinux.org/index.php/Vmw … leshooting says kernel26-headers.  Despite being flagged out of date, they match the version of the kernel that is running.  An update is probably in the pipe.

Offline

#5 2010-10-25 21:57:42

Intrepidus
Member
Registered: 2007-02-08
Posts: 54

Re: [SOLVED] Location of header files (for vmware tools)

Thanks, that got me a bit farther than before. I've now gone from that error to this error:

The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match your running kernel (version 2.6.35-ARCH). Even if the module were to compile successfully, it would not load into the running kernel.

This was after pointing it to /usr/src/linux-2.6.35-ARCH/include. Any ideas what the story is now?

EDIT: Had to copy utsrelease.h and autoconf.h to version.h and autoconf.h, respectively, to /usr/src/linux-2.6.35-ARCH/include/linux.

Last edited by Intrepidus (2010-10-25 22:17:10)

Offline

Board footer

Powered by FluxBB