Re: Linux-2.4.4 failure to compile

From: David Weinehall (tao@acc.umu.se)
Date: Sat May 19 2001 - 07:16:27 EST


On Fri, May 18, 2001 at 04:41:16PM +0600, Anuradha Ratnaweera wrote:
>
> On Fri, 18 May 2001, Lorenzo Marcantonio wrote:
>
> > On Thu, 17 May 2001, H. Peter Anvin wrote:
> >
> > > I think the header file you're talking about is the db1 header file,
> > > which has nothing to do with yacc -- it's the Berkeley libdb version 1,
> > > which is a pretty bad thing to require.
> > >
> >
> > I've got it to compile (and apparently work) even con libdb3... which
> > has the compability header db_185.h (or something similar).
> >
> > IIRC, libdb1 was bundled with libc till release 2.1.3. Since 2.2 they've
> > said 'get it at sleepycat...'.
> >
> > BTW, there are ifdef inside the driver about which header to include
> > (db.h or db_185.h IIRC).
> >
> > I still doesn't comprend what does it NEED FOR the libdb...
>
> I don't do any module programming yet, but the lkmpg lists "Using standard
> libraries" under "Common Pitfalls". Is anything unusual going on here?

Yup. The code in question is not a module, but rather a userspace-program
that generates microcode for the SCSI-adapter(s) in question. As such,
using standard libraries is fully ok. The debate is whether libdb1
is to be considered common enough.

Regards: David Weinehall
  _ _
 // David Weinehall <tao@acc.umu.se> /> Northern lights wander \\
// Project MCA Linux hacker // Dance across the winter sky //
\> http://www.acc.umu.se/~tao/ </ Full colour fire </
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed May 23 2001 - 21:00:32 EST