[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: where do I find the kernel headers?



Seneca wrote:
On Wed, Nov 20, 2002 at 04:28:17PM -0600, Michael Kahle wrote:

I hope this isn't a silly question.


Most of the time, the only silly question is the one left unasked
(trite, I know).


From the Debian FAQ (http://www.debian.org/doc/FAQ/ch-kernel.en.html):
//snip
The kernel headers distributed with the kernel source are located in
/usr/include/linux/include/. //snip


Read /usr/share/doc/kernel-source-2.4.18/README.headers.gz


I used dselect to install the kernel-source-2.4.18 package and a ls of the
/usr/include/linux/include/ shows:
bash: cd: /usr/include/linux/include/: No such file or directory


Try that after installing libc6-dev.



I think the location of the headers is /usr/include/linux/[at least that directory has pretty much the same files as /usr/src/linux/include/linux on my box].



Reply to: