Yahoo Groups archive

Milter-greylist

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

Message

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

2015-06-18 by Jim Klimov

Hi all,

Tested and got similar problems while building in Solaris 10:

:; make -k all

gcc -L/lib -L/usr/lib -L/usr/local/ssl/lib -L/usr/local/lib 
-L/usr/sfw/lib -L/opt/sfw/lib -I. -I.. -DMAXREPLYLEN=255  -Wall 
-I/usr/local/ssl/include -I/usr/local/include -DUSE_LDAP 
-DLDAP_DEPRECATED -I/usr/local/include -DUSE_CURL 
-I/home/jim/BuildNew/milter-greylist-buildzone/__installroot_i386_build-sol10-x86_8.13.8+Sun//opt/COSmail/include 
-DUSE_FD_POOL -DUSE_P0F -DHAVE_P0F3 -DHAVE_P0F306 
-I'/home/jim/BuildNew/milter-greylist-buildzone/_milter-greylist-git-jimbuild/p0f-3.08b' 
-DP0F_QUERY_FROM_P0F_DIST -DUSE_DNSRBL -DUSE_MX 
-DCONFFILE=\"/etc/mail/greylist.conf\" 
-DDUMPFILE=\"/var/milter-greylist/greylist.db\" -D_BSD_SOURCE -I. -I.. 
-c  ../sync.c
../sync.c: In function `sync_waitdata':
../sync.c:1325: error: `INFTIM' undeclared (first use in this function)
../sync.c:1325: error: (Each undeclared identifier is reported only once
../sync.c:1325: error: for each function it appears in.)
*** Error code 1

gcc -L/lib -L/usr/lib -L/usr/local/ssl/lib -L/usr/local/lib 
-L/usr/sfw/lib -L/opt/sfw/lib -I. -I.. -DMAXREPLYLEN=255  -Wall 
-I/usr/local/ssl/include -I/usr/local/include -DUSE_LDAP 
-DLDAP_DEPRECATED -I/usr/local/include -DUSE_CURL 
-I/home/jim/BuildNew/milter-greylist-buildzone/__installroot_i386_build-sol10-x86_8.13.8+Sun//opt/COSmail/include 
-DUSE_FD_POOL -DUSE_P0F -DHAVE_P0F3 -DHAVE_P0F306 
-I'/home/jim/BuildNew/milter-greylist-buildzone/_milter-greylist-git-jimbuild/p0f-3.08b' 
-DP0F_QUERY_FROM_P0F_DIST -DUSE_DNSRBL -DUSE_MX 
-DCONFFILE=\"/etc/mail/greylist.conf\" 
-DDUMPFILE=\"/var/milter-greylist/greylist.db\" -D_BSD_SOURCE -I. -I.. 
-c  ../prop.c
../prop.c: In function `prop_glob_validate':
../prop.c:200: error: `FNM_CASEFOLD' undeclared (first use in this function)
../prop.c:200: error: (Each undeclared identifier is reported only once
../prop.c:200: error: for each function it appears in.)
*** Error code 1


So indeed, a few ifdef's are due ;)

Thanks,
Jim Klimov


On 2015-06-17 13:47, 'Bruncsak, Attila' attila.bruncsak@... 
[milter-greylist] wrote:
>  > NB: we droped select(2) for poll(2) in MX sync. Please raise your
> voice if it
>  > causes regressions.
>  >
>
> I got:
>
> gcc -g -O2 -Wall -I/usr/local/src/sendmail/libmilter/include
> -I/usr/local/src/spf/libspf2/include -DUSE_SPAMD -DHAVE_DATA_CALLBACK
> -DCONFFILE=\"/etc/mail/greylist.conf\"
> -DDUMPFILE=\"/var/milter-greylist/greylist.db\" -D_BSD_SOURCE -I. -I. -c
> -o sync.o sync.c
> sync.c: In function 'sync_waitdata':
> sync.c:1325: error: 'INFTIM' undeclared (first use in this function)
> sync.c:1325: error: (Each undeclared identifier is reported only once
> sync.c:1325: error: for each function it appears in.)
> make: *** [sync.o] Error 1
>
>  From the man page of poll on Linux:
>
> NOTES
> Some implementations define the non-standard constant INFTIM with the
> value -1 for use as a timeout. This con-
> stant is not provided in glibc.
>
> 
> ------------------------------------------------------------------------
> Posted by: "Bruncsak, Attila" <attila.bruncsak@...>
> ------------------------------------------------------------------------

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.