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

Timothy Stack stack@cs.utah.edu
Fri May 30 04:34:02 2003


hi,

On Thursday, May 29, 2003, at 10:00  PM, Ito Kazumitsu wrote:

> The current libraries/clib/net/InetAddressImpl.c and some others
> cannot be compiled on my poor old Linux (2.0.38) machine.
>
> What is wrong:
>
> (1) InetAddressImpl.c checks whether AF_INET6 and PF_INET6 are
>     defined.  Yes, they are defined in /usr/include/socketbits.h
>     even on my old Linux host.  But it does not support IPv6, so
>     struct in6_addr is not defined.

argh

> (2) InetAddressImpl.c uses getnameinfo which my old Linux host does not
>     have.

I don't understand, its supposed to be protected by an ifdef for 
getaddrinfo.  Are you saying that it has getaddrinfo but not 
getnameinfo?  Thats odd...

> I am afraid Linux 2.0 should be deleted from the list of
> supported systems.

lets not be hasty

tim