Yahoo Groups archive

Milter-greylist

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

Message

Re: [milter-greylist] milter-greylist 4.2.4 is available

2010-04-18 by Matthias Scheler

On Sun, Apr 18, 2010 at 03:48:07AM +0200, Emmanuel Dreyfus wrote:
> > cc -O2 -I/usr/pkg/include -I/usr/include -Wall -I/usr/pkg/include
> > -DUSE_P0F -DUSE_SPAMD -DUSE_DNSRBL -DUSE_POSTFIX -D_BSD_SOURCE -I. -I.
> > -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -c
> > ratelimit.c
> > In file included from acl.h:121,
> >                  from ratelimit.c:69:
> > spf.h:57: error: expected ')' before '*' token
> > spf.h:58: error: expected ')' before '*' token
> > spf.h:59: error: expected ')' before '*' token
> 
> What happens if you remove #include "spf.h" in acl.h?

The build now fails with a different error message:

cc -O2 -I/usr/pkg/include -I/usr/include -Wall -I/usr/pkg/include -DUSE_P0F -DUSE_SPAMD -DUSE_DNSRBL -DUSE_POSTFIX -D_BSD_SOURCE -I. -I. -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -c ratelimit.c
In file included from ratelimit.c:69:
acl.h:196: error: field 'spf_status' has incomplete type
*** Error code 1

> I just do not understand why it is there.

Something is definitely wrong:

reylist-4.2.4>grep spf.h acl.h
#include "spf.h"
tron@colwyn:/src/NetBSD-current/pkgsrc/mail/milter-greylist/work.colwyn/milter-greylist-4.2.4>grep acl.h spf.h
#include "acl.h"

	Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/

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.