[Bug 222] New: configure finds getnameinfo() but not getaddrinfo()

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Apr 18 12:26:48 EST 2002


http://bugzilla.mindrot.org/show_bug.cgi?id=222

           Summary: configure finds getnameinfo() but not getaddrinfo()
           Product: Portable OpenSSH
           Version: 3.1p1
          Platform: Alpha
        OS/Version: OSF/1
            Status: NEW
          Severity: major
          Priority: P2
         Component: Build system
        AssignedTo: openssh-unix-dev at mindrot.org
        ReportedBy: urban at spielwiese.de


there are two versions of getaddrinfo() in libc, ogetaddrinfo() and
ngetaddrinfo().  This is allows a choice between two compatibility
modes.  Programmers must include <netdb.h> in order to suck
in the correct #definition for getaddrinfo().  In the configure test
program used to determine if getaddrinfo() is present, <netdb.h>
is not included, and configure thus concludes that getaddrinfo()
is missing, and #undefs HAVE_GETADDRINFO in config.h

However, configure does find getnameinfo(), so it #defines
HAVE_GETNAMEINFO.  The OpenSSH getaddrinfo() and
Tru64's getnameinfo() don't play well together.

It would help countless poor Tru64 souls avoid a traumatic
OpenSSH failure if you could address this problem!



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the openssh-unix-dev mailing list