Yahoo Groups archive

Milter-greylist

Index last updated: 2026-04-28 23:32 UTC

Message

Re: [milter-greylist] Compiling 2.1.3 with drac support?

2006-02-04 by Hubertus A. Haniel

Hubertus A. Haniel wrote:
> 
> Has anybody managed to do this on a SuSE linux system?
> 
> I am running SuSE 9.2 professional with db-4.2.52-90 (and the -devel 
> package) and drac 1.12-2 and I am getting the following error during 
> compile time:
> 
> gcc -O2 -g -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -DUSE_DRAC 
> -D_XOPEN_SOURCE=500 -DDRACDB=\"/etc/mail/dracd.db\" -D_BSD_SOURCE   -c -o 
> milter-greylist.o milter-greylist.c
> milter-greylist.c: In function `check_drac':
> milter-greylist.c:1269: warning: implicit declaration of function `dbopen'
> milter-greylist.c:1269: error: `O_SHLOCK' undeclared (first use in this 
> function)
> milter-greylist.c:1269: error: (Each undeclared identifier is reported 
> only once
> milter-greylist.c:1269: error: for each function it appears in.)
> milter-greylist.c:1269: warning: assignment makes pointer from integer 
> without a cast
> milter-greylist.c:1277: warning: passing arg 2 of pointer to function from 
> incompatible pointer type
> milter-greylist.c:1277: error: too few arguments to function
> milter-greylist.c:1278: error: too few arguments to function
> make: *** [milter-greylist.o] Error 1
> 
> 
> If I don't compile dreac support in everything compiles fine.
> 


I have been doing some further investigation on this but I am no C 
expert. It looks to me like there are changes in dbopen in later 
versions of db. - If I look at the sendmail sources there are checks for 
the db versions and it looks like the milter-greylist is a pre version 2 
function. - Will there be a version of milter-greylist with support for 
newer versions of db?

Regards
Hubba

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.