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

Timothy Stack stack@cs.utah.edu
Fri May 30 06:23:01 2003


On Friday, May 30, 2003, at 07:15  AM, Ito Kazumitsu wrote:

>
> In message "Re: [kaffe] libraries/clib/net/InetAddressImpl.c cannot be 
> compiled on old Linux"
>     on 03/05/30, Timothy Stack <stack@cs.utah.edu> writes:
>
>>> (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 have found "#define HAVE_GETADDRINFO 1" in config/config.h,
> which must be undefined but configure may have wrongly guessed.

Nope, it looks like it guessed right since it didn't complain about 
getaddrinfo like it does gai_strerror and getnameinfo.  Thats just 
messed up, we'll have to add those two to the check.

thanks,

tim