[24277] in Kerberos
Re: krb5-1.4.1 build failure on FreeBSD 5.4 (EAI_NODATA), and a
daemon@ATHENA.MIT.EDU (Russ Allbery)
Mon Jul 11 22:32:16 2005
From: Russ Allbery <rra@stanford.edu>
Date: Mon, 11 Jul 2005 19:24:07 -0700
Message-ID: <87mzosep88.fsf@windlord.stanford.edu>
To: kerberos@mit.edu
Errors-To: kerberos-bounces@mit.edu
Fred Dushin <fadushin@fourfold.org> writes:
> I'm getting a krb5-1.4.1 build failure on FreeBSD 5.4-RELEASE:
> .../krb5-1.4.1/src/lib/krb5/os/hst_realm.c: In function
> `krb5int_translate_gai_error':
> .../krb5-1.4.1/src/lib/krb5/os/hst_realm.c:370: error: `EAI_NODATA'
> undeclared (first use in this function)
> .../krb5-1.4.1/src/lib/krb5/os/hst_realm.c:370: error: (Each undeclared
> identifier is reported only once
> .../krb5-1.4.1/src/lib/krb5/os/hst_realm.c:370: error: for each function
> it appears in.)
EAI_NODATA is obsolete; current implementations just return EAI_NONAME in
that case. Note that EAI_NODATA is not listed as a valid return code in
RFC 3493.
This should be fixed in the krb5 source, but in the meantime the
workaround would be to compile with -DEAI_NODATA=EAI_NONAME, which the
code appears to deal with correctly.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
________________________________________________
Kerberos mailing list Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos