On Wed, Nov 20, 2002 at 04:28:17PM -0600, Michael Kahle wrote: > I hope this isn't a silly question. > > 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
I think that should be /usr/include/linux/. > > 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 > > I did find a file under /usr/scr/ called kernel-source-2.4.18.tar.bz2 > > Is this what the kernel-source package installs? Yes. There's two different types of kernel headers here: libc kernel headers and kernel kernel headers ;) Userland programs should never need to use the kernel kernel headers, but others can get what they need from the libc kernel headers in libc-dev. If you want actual kernel kernel headers to compile a module or something, then install the kernel-headers-blah package that matches your kernel. -rob
msg15131/pgp00000.pgp
Description: PGP signature