[milters] Archive

Lists Index Date Thread Search

Article: 3926
From: sealt
Date: 2014-11-25 03:07:57 -0500
Subject: Problems compiling libsnert-1.73.17

Hello,

i try to compile libsnert -1.73.17 on a debian wheezy, but always end up 
with this:


./configure gets me that

LibSnert/1.73.17
Copyright 1996, 2010 by Anthony Howe. All rights reserved.

   Platform............: Linux gcc
   Berkeley DB.........: 5.1 -ldb-5.1
   POSIX Threads.......: yes yes
   SQLite3.............: yes
   Sendmail libmilter..: yes
   Semaphore API.......: SYSTEMV_API
   Shared Memory API...: SYSTEMV_API
   CFLAGS..............: -I/usr/local/src/org/sqlite/include -D_REENTRANT 
-O2 -Wall -m64 -I${top_srcdir}/../../include
   LDFLAGS.............: -L/usr/local/src/org/sqlite/lib -m64 
-L${top_srcdir}/../../lib
   LIBS................: -lpthread –ldl


and

make build interupts

==> /usr/local/src/com/snert/src/lib/type
***************************************************************

gcc  -I/usr/local/src/org/sqlite/include -D_REENTRANT -O2 -Wall -m64 
-I../../../include  -o kvm.o -c kvm.c
kvm.c: In function ‘kvm_reopen_db’:
kvm.c:1214:20: error: ‘DBTXN_ROAR’ undeclared (first use in this 
function)
kvm.c:1214:20: note: each undeclared identifier is reported only once 
for each function it appears in
kvm.c:1214:31: error: expected ‘)’ before ‘kdb’
kvm.c:1214:31: error: too few arguments to function ‘db->open’
kvm.c:1182:12: warning: variable ‘open_mode’ set but not used 
[-Wunused-but-set-variable]
kvm.c:1182:6: warning: variable ‘type’ set but not used 
[-Wunused-but-set-variable]
kvm.c: In function ‘kvm_get_db’:
kvm.c:1399:35: error: ‘DBTXN’ undeclared (first use in this function)
kvm.c:1399:3: error: too few arguments to function ‘kdb->db->get’
kvm.c: In function ‘kvm_put_db’:
kvm.c:1478:36: error: ‘DBTXN’ undeclared (first use in this function)
kvm.c:1478:4: error: too few arguments to function ‘kdb->db->put’
kvm.c: In function ‘kvm_remove_db’:
kvm.c:1523:34: error: ‘DBTXN’ undeclared (first use in this function)
kvm.c:1523:4: error: too few arguments to function ‘kdb->db->del’
kvm.c: In function ‘kvm_truncate_db’:
kvm.c:1564:39: error: ‘DBTXN’ undeclared (first use in this function)
kvm.c:1564:4: error: too few arguments to function ‘kdb->db->truncate’
kvm.c: In function ‘kvm_walk_db’:
kvm.c:1650:33: error: ‘DBTXN’ undeclared (first use in this function)
kvm.c:1650:4: error: too few arguments to function ‘kdb->db->cursor’
make[1]: *** [kvm.o] Error 1
make[1]: Leaving directory `/usr/local/src/com/snert/src/lib/type'
/bin/sh: 1: cd: can't cd to util
/bin/sh: 1: cd: can't cd to io
/bin/sh: 1: cd: can't cd to net
/bin/sh: 1: cd: can't cd to mail
/bin/sh: 1: cd: can't cd to sys
/bin/sh: 1: cd: can't cd to tools
make: *** [build] Error 2

thank you fro your help

best regards

Malte Wilkens



Lists Index Date Thread Search