Undefined reference to txn_abort/txn_begin/txn_commit

Marco d'Itri md at Linux.IT
Mon Jan 26 01:08:54 UTC 2004


On Jan 25, Russ Allbery <rra at stanford.edu> wrote:

 >> I'm trying to build INN-2.4.1 with Berkeley DB, and keep getting the
 >> error in $SUBJECT. Could someone please help me?  Thanks in advance.
 >
 >Hm.  Well, this is the error that I fixed for Berkeley DB 4.1 and later in
 >CURRENT, because 4.2 at least doesn't have the txn_abort etc. functions as
 >separate functions (they're just attributes of transactions).  But I
 >thought 4.0 and 4.1 still included the functions, and poking about with
 >the older shared libraries that I have installed, this does appear to be
 >the case.

I had to add these to storage/ovdb/ovdb.c to compile inn with the debian
libdb 4.1 package:

#define txn_begin __txn_begin_4001
#define txn_commit __txn_commit_4001
#define txn_abort __txn_abort_4001

I don't know if this actually works, the libdb maintainer has not been
cooperative and since nobody complained I did not investingate this
further.

-- 
ciao, |
Marco | [4318 lenMH7pteaPno]


More information about the inn-workers mailing list