iptables compile trouble
Hi,
The
Quoted 4 lines
ip6tables.c:502:
AI_CANONNAME' undeclared (first use in this function) ip6tables.c:509: warning: implicit declaration of functiongetaddrinfo' ip6tables.c:527: warning: implicit declaration of functionfreeaddrinfo' ip6tables.c:540:NI_MAXHOST' undeclared (first use in this function)
are definied in the /usr/include/netdb.h, which is included. These definitions depend on the __USE_POSIX define. (-D__USE_POSIX)
Regards,
kisza
Signature · 3 lines
Andras Kis-Szabo Security Development, Design and Audit -------------------------/ Zorp, NetFilter and IPv6 [email protected] /-----Member of the BUTE-MIS-SEARCHlab------>
Quoted 4 lines · Andras Kis-Szabo
The
Quoted 2 lines
ip6tables.c:502:
AI_CANONNAME' undeclared (first use in this function) ip6tables.c:540:NI_MAXHOST' undeclared (first use in this function)are definied in the
/usr/include/netdb.h, which is included.
Thanks- that was it. I had a whole bunch of netdb.h files all over my system. Once I figured out which was the "right" one and what it's "right" place was, everything was fine.
Thanks for the help.
,,
LKremkow