[milters] Archive

Lists Index Date Thread Search

Article: 1465
From: Christopher Lindsey
Date: 2007-03-01 14:30:53 -0500
Subject: Can't build libsnert 1.63.892

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

Hi,

   I'm trying to upgrade our server to sendmail 8.14.0 with the new
   milters, etc.

   Unfortunately, libsnert won't compile on our RedHat 8.0 box with 
   db4.

      -bash-2.05b# rpm -q rpm
      rpm-4.1-1.06

   From configure:

      config.status: creating ../../include/com/snert/lib/version.h

      LibSnert/1.63.892
      Copyright 1996, 2007 by Anthony Howe. All rights reserved.

        Platform............: Linux gcc
        Berkeley DB.........: 4.0 -ldb-4.0
        POSIX Threads.......: yes yes
        SQLite3.............: yes
        Sendmail libmilter..: yes
        Semaphore API.......: SYSTEMV_API
        Shared Memory API...: SYSTEMV_API
        Time API............: BSD_API
        CFLAGS..............: -I/usr/include/db4
-I/afs/ncsa/src/mail/sendmail/org/sqlite/include -D_REENTRANT -O2 -Wall
-I${top_srcdir}/../../include 
        LDFLAGS.............: -L/afs/ncsa/src/mail/sendmail/org/sqlite/lib
-L${top_srcdir}/../../lib 
        LIBS................: -lpthread -ldl 

   Here's the error that I get when compiling:

      gcc -I/usr/include/db4 -I/afs/ncsa/src/mail/sendmail/org/sqlite/include -D_REENTRANT
-O2 -Wall -I../../../include  -o kvm.o -c kvm.c
      kvm.c: In function `kvm_get_db':
      kvm.c:1316: warning: passing arg 2 of pointer to function from incompatible pointer
type
      kvm.c:1316: too few arguments to function
      kvm.c: In function `kvm_put_db':
      kvm.c:1395: warning: passing arg 2 of pointer to function from incompatible pointer
type
      kvm.c:1395: too few arguments to function
      kvm.c: In function `kvm_remove_db':
      kvm.c:1440: warning: passing arg 2 of pointer to function from incompatible pointer
type
      kvm.c:1440: too few arguments to function
      kvm.c: In function `kvm_truncate_db':
      kvm.c:1481: warning: passing arg 2 of pointer to function from incompatible pointer
type
      kvm.c:1481: too few arguments to function
      kvm.c: In function `kvm_walk_db':
      kvm.c:1566: warning: passing arg 2 of pointer to function from incompatible pointer
type
      kvm.c:1566: too few arguments to function
      make[1]: *** [kvm.o] Error 1
      make[1]: Leaving directory
`/afs/ncsa.uiuc.edu/src/mail/sendmail/com/snert/src/lib/type'
      make: *** [build] Error 2

   Version 1.62.835 builds on the system without any problems.

Thanks for any tips,

Chris

Lists Index Date Thread Search