Yahoo Groups archive

Milter-greylist

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

Message

RE: [milter-greylist] syslog facility missing compilation error, was: milter-greylist 4.2beta1 is out

2009-02-10 by attila.bruncsak@itu.int

> 
> Here is milter-greylist 4.2 beta1, a beta for our next stable release:
> 
> http://ftp.espci.fr/pub/milter-greylist/milter-greylist-4.2b1.tgz
> MD5 (milter-greylist-4.2b1.tgz) = 2e76e2643469ec393a15dfce9f8ff695
> 

Hello,

I have a compilation problem:

cc -I/usr/local/src/sendmail/libmilter/include -pthread
-D_XOPEN_SOURCE=500 -D_OSF_SOURCE -D_BSD_SOURCE -I. -I.  -c conf_yacc.c
cc: Error: conf_yacc.y, line 468: In this statement, "LOG_AUTHPRIV" is
not declared. (undeclared)
{ conf.c_logfac = LOG_AUTHPRIV; } /*NOTREACHED*/ break;
------------------^
cc: Error: conf_yacc.y, line 469: In this statement, "LOG_FTP" is not
declared. (undeclared)
{ conf.c_logfac = LOG_FTP; } /*NOTREACHED*/ break;
------------------^
*** Exit 1
Stop.
 
Actually my system does not have AUTHPRIV and FTP syslog facility in
<syslog.h>.

The fix would be easy, if the conf_yacc.c would not be a
generated file (#ifdef the small part of the code).
Since the source is in yacc I do not know what to do.
May someone help to modify the code to properly deal with this case?

Bests,
Attila

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.