[PLUG] Kernel headers

Chris Jantzen chris-plug at maybe.net
Sat Nov 29 10:18:01 UTC 2003


On Sat, Nov 29, 2003 at 01:11:46PM -0500, Brian Derr wrote:
> On Thu, Nov 27, 2003 at 10:22:02PM -0800, Kyle Accardi wrote:
> > sources should go into "/usr/src/linux" even though that hasn't been
> > true in a _loong_ time.
> 
> Is Linus telling us we shouldn't use /usr/src/linux to keep our kernel
> sources?

No, just that: a) if your distribution used a symlink (bad idea) from
/usr/include/linux to the kernel headers, it will require your source to
be in some canonical location. Which was historically /usr/src/linux.
Anymore, it shouldn't matter what directory you put it in. Feel free to
untar linux-2.4.23.tar.bz2 into /usr/local/src/clowns-need-food-1.0 if
you want.

> So, in other words I need to find out what kernel version the current
> glibc package was built against.  Hrmm, interesting...

Yup. Some distributions put the kernel headers for /usr/include/linux
into the glibc package. Some put a dependency from the glibc package to
a kernel-headers package (Debian just switched from the former to this).
Some leave you to your own devices, I suppose (bad distro, no cookie for
you).


-- 
chris kb7rnl =->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.pdxlinux.org/pipermail/plug/attachments/20031129/2ed911cd/attachment.asc>


More information about the PLUG mailing list