On Sat, Aug 31, 2002 at 07:02:36PM +1000, Russell wrote:
> I found some interesting things from
>   http://www.opensound.com/linux-x86.html :
> 
>  The problem under Debian and SuSE is that the linux kernel is
>  not installed under /usr/src/linux - so you just need to ensure
>  that /usr/src/linux links to the directory containing the Linux
>  kernel sources. Additionally, Debian and SuSE ships with
>  /usr/include/linux and /usr/include/asm that are directories
>  that are the header files that are used to build Debian or SuSE.
>  These technically should be the header files from the kernel
>  source tree so you really have to remove these directories and
>  link /usr/include/linux and /usr/include/asm to the kernel
>  source directory. Please follow the steps below. 

That is absolutely terrible advice. It's a very good way to break a
Debian system, and you should ignore it. Linus doesn't recommend this
old way of doing things nowadays either.

Instead, if you *need* kernel headers for something, alter the Makefiles
so that their include path points to
<wherever-your-kernel-source-is>/include/linux, etc. Most "normal"
programs don't need kernel headers and in fact may break if you use them
directly; instead they should be compiled against the headers with which
glibc was built, which are the versions in /usr/include/linux and
/usr/include/asm.

Cheers,

-- 
Colin Watson                                  [[EMAIL PROTECTED]]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to