Yahoo Groups archive

Milter-greylist

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

Thread

compile fails with dnsrbl

compile fails with dnsrbl

2011-09-01 by wjk@wkossen.nl

Hi,

I want to use milter-greylist with dnsrbl options. The binary package for
my platform doesn't have it enabled, so compile is the way to go. But...


gcc -o milter-greylist milter-greylist.o pending.o sync.o dnsrbl.o list.o
macro.o conf_yacc.o dump_yacc.o conf.o store.o dump.o spf.o acl.o
urlcheck.o stat.o clock.o geoip.o fd_pool.o prop.o ldapcheck.o dkimcheck.o
p0f.o spamd.o mx.o ratelimit.o  -lpthread -lresolv -lnsl -lmilter
dnsrbl.o: In function `dnsrbl_check_source':
/root/downloads/milter-greylist-4.3.9/dnsrbl.c:205: undefined reference to
`__ns_initparse'
/root/downloads/milter-greylist-4.3.9/dnsrbl.c:211: undefined reference to
`__ns_parserr'
collect2: ld returned 1 exit status
make: *** [milter-greylist] Error 1

same effect for the stable branche. I have bind-libbind-devel installed,
tried several --with-libbind= paths, just don't get it to work. I'm
stumped.. Any ideas?

Thanks

Willem Kossen

Re: [milter-greylist] compile fails with dnsrbl

2011-09-01 by Mart Pirita

wjk@... kirjutas:
> gcc -o milter-greylist milter-greylist.o pending.o sync.o dnsrbl.o list.o
> macro.o conf_yacc.o dump_yacc.o conf.o store.o dump.o spf.o acl.o
> urlcheck.o stat.o clock.o geoip.o fd_pool.o prop.o ldapcheck.o dkimcheck.o
> p0f.o spamd.o mx.o ratelimit.o  -lpthread -lresolv -lnsl -lmilter
> dnsrbl.o: In function `dnsrbl_check_source':
> /root/downloads/milter-greylist-4.3.9/dnsrbl.c:205: undefined reference to
> `__ns_initparse'
> /root/downloads/milter-greylist-4.3.9/dnsrbl.c:211: undefined reference to
> `__ns_parserr'
> collect2: ld returned 1 exit status
> make: *** [milter-greylist] Error 1
>
> same effect for the stable branche. I have bind-libbind-devel installed,
> tried several --with-libbind= paths, just don't get it to work. I'm
> stumped.. Any ideas?
>
>
Just few days ago solved same problem - 
http://tech.groups.yahoo.com/group/milter-greylist/message/5881


-- 
Mart

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.