Skip to contentSkip to conversation

iptables compile trouble

DISCUSSION Andras Kis-Szabo 2 participants 2 messages Jun 5, 2002 – Jun 6, 2002

lore
Share & tools
lore
#0 lore raw

Hi,

The

Quoted 4 lines

ip6tables.c:502: AI_CANONNAME' undeclared (first use in this function) ip6tables.c:509: warning: implicit declaration of function getaddrinfo' ip6tables.c:527: warning: implicit declaration of function freeaddrinfo' 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------>
#1 lore raw
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