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
-- 
garnome-list mailing list
garnome-list@gnome.org
http://mail.gnome.org/mailman/listinfo/garnome-list

Reply via email to