/usr/src/linux & /usr/src/linux-2.4.20 directories

Tushar Teredesai tushar at linuxfromscratch.org
Tue Jan 28 02:29:28 PST 2003


Ian Molton wrote:

>On Tue, 28 Jan 2003 10:03:36 +0000 (UTC)
>tushar at linuxfromscratch.org (Tushar Teredesai) wrote:
>  
>
>>Nope. Its not. The important thing is that the headers that are 
>>accessible via /usr/include/linux and /usr/include/asm should *always*
>>be the ones that glibc is compiled against.
>>    
>>
>Ok, its not actually illegal, but it should be. NOONE should be doing
>this anymore.
>
Yep, there I agree with you.

>>The package is definitely broken. Given the fact that the kernel 
>>developers have given a nearly failsafe mechanism for finding the 
>>relevant kernel source,
>>    
>>
>Whats that then?
>
On my system
/lib/modules/`uname -r`/build -> /usr/src/linux-`uname -r`

>>It is ok to use /usr/src/linux as a fallback
>>mechanism (in case the build symlink is invalid) but not as the
>>default.
>>    
>>
>I disagree.
>  
>
Would it not me more elegant and robust to use the above symlink rather 
than a fixed location?

-- 
Tushar Teredesai
   http://www.linuxfromscratch.org/~tushar/
   http://www.geocities.com/tushar/


-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list