[Date Prev][Date Next]
Re: gai strerror?
On Sun, Oct 15, 2000 at 01:31:05PM -0700, Kurt D. Zeilenga wrote:
> At 03:32 AM 10/14/00 -0700, Howard Chu wrote:
> >I just tried to build from the HEAD branch, got an undefined symbol in
> >that looks like it wants to be a "get addr info strerror". What is this?
> Basically, yes. getaddrinfo() returns EAI codes which need special
> handling. If gai_strerror() is not available everywhere getaddrinfo()
> is, we need to add detection and appropriate conditional usage.
> (I suggest we add replacement function when defined( HAVE_GETADDRINFO )
> && !defined( HAVE_GAI_STRERROR ).
I must confess I'm not all that surprised this was a problem. We could
just skip it and not give that specific error messages, that's what we
did before. I'll write the replacement function if you want me to.