-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday 24 August 2003 12:18, Oleg Goldshmidt wrote: > Muli Ben-Yehuda <[EMAIL PROTECTED]> writes: > > On Sun, Aug 24, 2003 at 02:36:30PM +0300, Erez Doron wrote: > > > i installed kernel-source-2.4.20-20.9-i686.rpm > > > i linked the main dir to /usr/src/linux ( was already linked to > > > /usr/src/linux-2.4) > > And what is /usr/src/linux-2.4? Maybe that was a symlink to the > previous version of the kernel, and you would be better off with > changing that, since your new kernel is still 2.4. But that is not > material to your question. > > > /usr/src/linux should point to the headers glibc was compiled > > against. You shouldn't touch it unless you really know what you're > > doing. > > Muli, I think you are confusing it with /usr/include/linux. Linux > stopped caring about /usr/src/linux a while ago, so there is no real > harm in making it a symlink to the real tree. There is also no need to > do that - I just checked and the system I am currently on has no > /usr/src/linux at all.
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. - -- Alex Veber Gentoo Linux Developer Rosh - Haa'in Israel Key fingerprint = 00BA 3837 906E CDA1 B83A 0535 D10E 5451 D8A7 253E -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/SOlA0Q5UUdinJT4RAlyYAKDIoLIbrjBm0XNrWumz7DMsoTL1EACeIkxl qj+RFCMredJu0zUde1ksTBE= =Gk92 -----END PGP SIGNATURE----- ================================================================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]
