Yahoo Groups archive

Milter-greylist

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

Message

Compile problem on CentOS 4.2

2006-03-21 by Kai Schaetzl

Have been a while absent, everything concerning milter-greylist just 
running fine :-) 
Now I'm rolling out our first servers with CentOS 4.2 and hit a compile 
problem, make says:

gcc -g -O2 -Wall -I/usr/pkg/include -D_BSD_SOURCE   -c -o 
milter-greylist.o milter-greylist.c
In file included from acl.h:51,
                 from milter-greylist.c:71:
pending.h:75: error: syntax error before "pending_lock"
pending.h:75: warning: type defaults to `int' in declaration of 
`pending_lock'
pending.h:75: warning: data definition has no type or storage class


As I know some here are running CentOS, so can anyone shed some light on 
this error and how to fix it?

That line is "extern pthread_rwlock_t pending_lock;" Could this be a 
thread-safety issue? I installed lib_spf2 for spf as I always do. I can't 
believe the Suse Linux resolver is thread-safe but the CentOS/RHEL one is 
not. Do I need to install some library (sendmail-devel is installed)?

An issue with gcc?

Thanks!

Kai

-- 
Kai Sch\ufffdtzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com

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.