Contents of /usr/include and symlinks to kernel sources
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).
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.