[rbldnsd] install on aix
Michael Tokarev
mjt at tls.msk.ru
Thu Jun 10 22:29:45 MSD 2004
Allie M Hopkins wrote:
>
>
>
> I'm trying to install on AIX 4.3.3. Does rbldns compile on AIX?
In theory, it should. In practice... well...
I did not test it on AIX for a long time (someone
helped me with that with earlier versions). And
I don't really remember which system lacks snprintf() -
was it AIX or Dynix. If your system does not have
snprintf() routine, rbldnsd definitely will not work,
at least not without some patching or without providing
some real replacement.
> I get this error:
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> root at dns1 (/tmp/rbldnsd-0.992)# make
>
> rbldnsd VERSION="0.992 (7 Mar 2004)"
>
> cc -O -c rbldnsd.c -DVERSION="\"0.992 (7 Mar 2004)\""
> "rbldnsd.c", line 899.10: 1506-007 (S) "struct sockaddr_storage" is
> undefined.
This is interesting. The configure script - in theory
again - should have figured out this, and should define
NOIPv6. Well... if the system have all definitions
necessary for IPv6, but lacks struct sockaddr_storage
definition.. I don't know what to do with such a system... ;)
> I figured that IPv6 needed to be disabled for AIX so I changed the config
> to not compile the IPv6 files. Now I get this error:
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> root at dns1 (/tmp/rbldnsd-0.992)# make
> cc -O -DNOIPv6 -c rbldnsd_ip4trie.c
> "rbldnsd_ip4trie.c", line 53.50: 1506-277 (S) Syntax error: possible
> missing ';' or ','?
> "rbldnsd_ip4trie.c", line 52.8: 1506-485 (S) Parameter declaration list is
> incompatible with declarator for inline.
Aha. Looks like the compiler does not understand
`inline' keyword. This is easily fixable I think,
and I will add another test for `inline' into the
next version. Meanwhile, try to add
-Dinline=
into options list, and try making with -k (keep
doing in case of errors), to show all problematic
cases in all other files.
/mjt
More information about the rbldnsd
mailing list