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

Re: If i install a new kernel, are kernel-headers installed by the way ?



On Mon, Dec 03, 2001 at 12:15:40PM +0100, spear wrote:
> If i untar/install a new kernel, will the kernel headers be installed by the
> way ?

No. You're usually much better off using the kernel headers against
which the glibc (libc6, etc.) packages on your system were compiled. If
you really know what you're doing and really need newer kernel headers,
then use the -I flag to gcc to add the appropriate kernel include
directory.

See /usr/share/doc/libc6/README.Debian.gz for the rationale behind this,
as well as
http://www.uwsg.iu.edu/hypermail/linux/kernel/0007.3/0587.html.

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]



Reply to: