Alex Veber <[EMAIL PROTECTED]> writes: > Thats not always true, for example in Gentoo if you choose to > compile a NPTL enabled glibc /usr/src/linux MUST point to a recent > 2.6 kernel tree, also the nvidia binary driver compiles against > headers from /usr/src/linux, basically this done so you can switch > kernels and recompile binary (or not binary like ALSA) drivers with > ease.
I don't have any experience with Gentoo, and from your email address I assume you do. So maybe you can explain a couple of things to me. I don't follow the point about binary drivers compiled against headers in /usr/src/linux. I must admit I have avoided binary-only drivers for now, but what do they care if I have the right directory if they are binary already? As long as I am using exactly the same kernel as the one the driver was compiled against it won't care if I have the kernel sources at all, let alone in a particular place in my tree. Are you sure that glibc compilation cannot be pointed to the right kernel tree via a flag to configure or something? I would be very much surprised. I assume glibc is glibc even on Gentoo, and there is a --with-headers configure option to specify an alternate location for kernel headers. The default, by the way, is not under /usr/src/linux/include, but under /usr/include, as appropriate. In any case, if a piece of a third-party software is looking for a hardwired path generally speaking that's a bug. The path should be configurable via environment, configuration options, or in some other way. If you cannot fix it then you'd better create the link while reporting the bug at the same time. There was a time when the kernel compilation depended in one way or another on /usr/src/linux, but at some point that dependency was eliminated, which is what I referred to. Historians and masochists may search LKML for details and flames. -- Oleg Goldshmidt | [EMAIL PROTECTED] ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]