On Fri, 17 Dec 1999, Hamish Moffatt wrote:

> On Wed, Dec 15, 1999 at 10:25:03PM +0200, Tomi Manninen OH2BNS wrote:
> > On Wed, 15 Dec 1999, Hamish Moffatt wrote:
> > 
> > > On Wed, Dec 15, 1999 at 02:24:43AM +0000, Jorge Matias wrote:
> > > > Probably you don't have symbolic links:
> > > >   /usr/include/asm to /usr/src/linux/include/asm-i386
> > > >   /usr/include/linux to /usr/src/linux/include/linux
> > > 
> > > And be glad that you don't, because you shouldn't.
> > 
> > Oh? Really? Then how come a _LOT_ of my glibc headers include <linux/*.h>
> > and/or <asm/*.h> ? Is glibc supposed to replace all those some day (good
> > luck!) ?
> > 
> > Anyway a small correction: /usr/include/asm should point to
> > /usr/src/linux/include/asm not asm-i386.
> 
> Including <linux/*.h> and <asm/*.h> is fine. The glibc kernel headers
> include the files in /usr/include/linux and /usr/include/asm directly;
> they are not links into /usr/src/linux (there is no need).

Well, this simply is not true with Red Hat, at least not on 6.0 that the
original question was about.

> If you need the exact .h files for the current kernel, you should
> get them out of /usr/src/linux/include directly using -I. On Debian
> at least, /usr/include contains the header files provided by glibc,
> and not the current kernel versions. Craig's ax25-tools sources cope
> just fine with this.

Yes, you told us that could compile the tools with 2.0.35 kernel in
your /usr/src/linux. Well, do those tools work if you really run that
kernel? ... I didn't think so. I rest my case.

-- 
--- Tomi Manninen / [EMAIL PROTECTED] / OH2BNS @ OH2RBI.FIN.EU ---

Reply via email to