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

RE: Contents of /usr/include and symlinks to kernel sources



<Bump>

Phil H wrote:
Date: Sat, 16 Sep 2006 08:47:09 -0700 (PDT)
From: Phil H <philtickle200@yahoo.com>
Subject: Contents of /usr/include and symlinks to kernel sources
To: debian-knoppix@lists.debian.org

Hi

I'm confused about Mr Knopper's post on this list http://archives.free.net.ph/message/20060803.111238.f95fc01b.en.html

which concerns symlinks between various subdirs of /usr/include and those of the kernel sources /usr/src/linux.

In this, Knoppix (I'm a fan, btw) seems to be following a tradition that has been criticised as incorrect by Linus Torvalds and others (see eg http://www.faqs.org/docs/linux_scratch/chapter06/kernel.html, which quotes Torvalds at eg http://linuxmafia.com/faq/Kernel/usr-src-linux-symlink.html )

My understanding is that /usr/include is supposed to contain the kernel headers *that knoppix's glibc was compiled against* for use in compiling userspace programs only and should never be changed or symlinked to the different kernel headers for eg if the kernel is upgraded (unless you also recompile glibc).

Questions:

1. Am I missing something here?

2. What kernel is glibc compiled against in any given knoppix?  Or is it a precompiled Debian glibc in all Knoppix versions (past and current)?  In which case the contents of /usr/include/linux should come straight from Debian?

Thanks for any clarifications.

Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.


Low, Low, Low Rates! Check out Yahoo! Messenger's cheap PC-to-Phone call rates.
Reply to: