[rbldnsd] Question regarding use of rbldnsd with MAPS RBL
Michael Tokarev
mjt at tls.msk.ru
Tue Apr 26 22:19:14 MSD 2005
Mark Hennessy wrote:
> I tried to build the most recent version to get the ACL capability, but I get
> errors.
> I'm using FreeBSD 4.11
> Here is the compilation output:
>
> rbldnsd VERSION="0.994.92 (16 Apr 2005)"
>
[]
> gcc -Wall -W -O2 -c rbldnsd_acl.c
> rbldnsd_acl.c: In function `ds_acl_query':
> rbldnsd_acl.c:142: `AF_INET' undeclared (first use in this function)
> rbldnsd_acl.c:142: (Each undeclared identifier is reported only once
> rbldnsd_acl.c:142: for each function it appears in.)
Please add two lines:
#include <sys/socket.h>
#include <netinet/in.h>
into the start of rbldnsd_acl.c file, after other #include statements.
Unlike with real releases, I haven't tried this version on any other
platform but linux, and linux C library header files includes this
stuff indirectly, while other libraries does not.
/mjt
More information about the rbldnsd
mailing list