LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   vmware looking for c header files for kernel (https://www.linuxquestions.org/questions/debian-26/vmware-looking-for-c-header-files-for-kernel-336149/)

zuessh 06-22-2005 01:32 PM

vmware looking for c header files for kernel
 
Hello, I am new to debian and am attempting to install vmware inside my debian install. I have kernel 2.6.9 and vmware is asking for the location of my C header files for my kernel [/lusr/src/linux/include] I do not have this location so I am assuming to do not have the kernel source installed. What is the best way to install just ther kernel source (if this is what I need to do)? Could they be in a different location? Thanks

zuessh 06-22-2005 02:50 PM

I am now trying to use apt-get to get the kernel source. But there is no kernel 2.6.9 When I do a uname -an i get the following
linux 2.6.9

also I am using the auditor tool kit install of debian (if that matters).

Any ideas which kernel to select?

Arnaud_B 06-22-2005 06:10 PM

you need to download the kernel source, unpack it and do
ln -s /usr/src/kernel-source-2.6.x /usr/src/linux and it should work.
But you can also just do it with the kernel-headers...
Good luck!
A.

EmOuBi 07-22-2005 05:01 PM

Do you have a symlink /usr/src/linux pointing to your kernel source ?

zuralin 07-23-2005 08:12 AM

# apt-get install kernel-headers-`uname -r`


All times are GMT -5. The time now is 03:14 AM.