Follow-up Comment #1, bug #16623 (project freeciv):

I guess that your libraries define gethostbyname2() but your header files
fail to declare gethostbyname2(). Perhaps your <netdb.h> file is too old? The
configure script only checks for gethostbyname2() in the libraries, not the
header files. Freeciv only uses gethostbyname2() if the check passes.

The warning is serious. The compiler needs a declaration to know that
gethostbyname2() returns a pointer, not an int.

As a workaround, you might configure with --disable-ipv6 to disable the code
that uses gethostbyname2().


Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to