office/libgda does not compile
- From: Adam Worrall <abworrall gmail com>
- To: garnome-list gnome org
- Subject: office/libgda does not compile
- Date: Tue, 15 Mar 2005 17:25:35 -0500
The BerkeleyDB connector has some code like this:
-- libgda-1.2.1/providers/gda-bdb-recordset.c:231-236
ret = dbp->stat (dbp,
&statp,
#if BDB_VERSION < 40000
NULL,
#endif
0);
--
I have BDB version 4.3.27, and in <db.h>, the stat function pointer is
defined as:
-- db.h:1433
int (*stat) __P((DB *, DB_TXN *, void *, u_int32_t));
--
So that third argument is definitely required, and I've no idea what
the #if is all about. If I remove it, libgda (and in turn Gnumeric)
compile just fine.
I've inserted #error statements into <db.h> to check which version was
being included, and it all works out. Looks like a problem most people
would have bumped into, so I wonder why nobody else has :)
- Adam
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]