[kaffe] libraries/clib/net/InetAddressImpl.c cannot be compiled on old Linux

Ito Kazumitsu ito.kazumitsu at hitachi-cable.co.jp
Tue Jun 24 18:25:01 PDT 2003


In message "Re: [kaffe] libraries/clib/net/InetAddressImpl.c cannot be compiled on old Linux"
    on 03/06/24, Dalibor Topic <robilad at yahoo.com> writes:

> done! thanks for the notice.

Thank you.

But unfortunately, after ./configure I get:

$ grep in_port_t config/config.h
   `in_port_t'. */
#define in_port_t unsigned unknown

With the original getaddrinfo-1.6,  I get a good definition:

$ grep in_port_t Makefile
DEFS = -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MEMCPY=1 -DHAVE_MEMSET=1 -Din_port_t=unsigned\ short -DH_ERRNO_DECLARED=1 -DHAVE_GETADDRINFO=1 -DHAVE_LIBRESOLV=1 -DHAVE_LIBNSL=1

I think I will study what makes in_port_t unsigned unknown.




More information about the kaffe mailing list