[milters] Archive

Lists Index Date Thread Search

Article: 1466
From: Anthony Howe
Date: 2007-03-02 05:00:29 -0500
Subject: Re: Can't build libsnert 1.63.892

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

Christopher Lindsey wrote:
>       LibSnert/1.63.892
>       Copyright 1996, 2007 by Anthony Howe. All rights reserved.
> 
>         Platform............: Linux gcc
>         Berkeley DB.........: 4.0 -ldb-4.0

Try upgrading to Berkeley DB 4.4.

>       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.

#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?

-- 
Anthony C Howe          Skype: SirWumpus                    SnertSoft
+33 6 11 89 73 78         AIM: SirWumpus    Sendmail Milter Solutions
http://www.snert.com/     ICQ: 7116561
     http://www.snertsoft.com/

Lists Index Date Thread Search