Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 06-22-2005, 01:32 PM   #1
Registered: Jun 2002
Location: USA
Distribution: Suse 8.0
Posts: 247

Rep: Reputation: 30
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
Old 06-22-2005, 02:50 PM   #2
Registered: Jun 2002
Location: USA
Distribution: Suse 8.0
Posts: 247

Original Poster
Rep: Reputation: 30
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?
Old 06-22-2005, 06:10 PM   #3
Registered: Jun 2004
Location: New York
Distribution: Debian
Posts: 219

Rep: Reputation: 30
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!
Old 07-22-2005, 05:01 PM   #4
LQ Newbie
Registered: Jul 2005
Posts: 24

Rep: Reputation: 15
Do you have a symlink /usr/src/linux pointing to your kernel source ?
Old 07-23-2005, 08:12 AM   #5
Registered: Sep 2003
Distribution: Debian testing/unstable
Posts: 225

Rep: Reputation: 30
# apt-get install kernel-headers-`uname -r`


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
VMware Config. header files? jasonmcneil0 Linux - Software 3 12-06-2004 12:08 AM
vmware problem with kernel C header files on SuSE 9.1 spariggio82 Linux - General 12 09-02-2004 03:19 PM
C Header files (VMWare Install) mr.linux.noob Linux - General 2 04-05-2004 11:33 AM
vmware error, cant find c header files artofluke Slackware 9 09-02-2003 07:35 AM
RH8, vmware install asking for C header files s7nner Linux - Newbie 2 05-07-2003 07:20 PM

All times are GMT -5. The time now is 05:07 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration