[milters] Archive

Lists Index Date Thread Search

Article: 1467
From: Christopher Lindsey
Date: 2007-03-02 14:58:35 -0500
Subject: Re: Can't build libsnert 1.63.892

Removal...........: milters-request@milter.info?subject=remove
More information..: http://www.milter.info/#Support
--------------------------------------------------------

> >         Platform............: Linux gcc
> >         Berkeley DB.........: 4.0 -ldb-4.0
> 
> Try upgrading to Berkeley DB 4.4.

That's not an option for me because of other software running on the
machine; I think I'm just going to have the whole system reinstalled to
match the other servers.

> >       kvm.c:1316: warning: passing arg 2 of pointer to function from
incompatible pointer type
> >       kvm.c:1316: too few arguments to function
> 
> Hmm. What is the BDB 4.0 patch level? Some where between 4.0 and 4.1 a 
> transaction structure pointer was added. The libsnert berkeley_db.h 
> defines this.

It is 4.0.14 -- DB_TXN is defined.

> #if   DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1
> # define DBTXN          (DB_TXN *) 0,
> #elif DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR == 0
> # define DBTXN
> #elif DB_VERSION_MAJOR == 3
> # define DBTXN
> 
> Do you have more than one version of Berkeley DB installed?

There is the standard RedHat compat-db installed, but the compiler
options all specifically use -I/usr/include/db4.

If it's not a simple fix, we'll just do the upgrade. :)

But that brings up another issue, in another email.  :)

Chris

Lists Index Date Thread Search