-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 11 Jul 2005 at 19:24 (-0700), Russ Allbery wrote:

Fred Dushin <[EMAIL PROTECTED]> 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.

I had the same problem and your suggested workaround did allow me to build 1.4.1 successfully. However, after I installed it, I got the following error running kinit:

 Assertion failed: (k5int_i->did_run != 0), function krb5int_initialize_library,
 file krb5_libinit.c, line 60.
 Abort (core dumped)

Any ideas about this?  I'm also running FreeBSD 5.4-RELEASE.

I have been building and installing MIT K5 for years, mostly on Solaris platforms, but also (a long time ago) on FreeBSD as well. This is the first time I've had this kind of problem.

Thanks.

Mike

_____________________________________________________________________
Mike Friedman                   System and Network Security
[EMAIL PROTECTED]          2484 Shattuck Avenue
1-510-642-1410                  University of California at Berkeley
http://ack.Berkeley.EDU/~mikef  http://security.berkeley.edu
_____________________________________________________________________

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8

iQA/AwUBQtXIFa0bf1iNr4mCEQJz3ACgsVkG+uQu+bSmaOoTthBSwZGCvsgAn1XK
eecHscFRwSPmPtWtZSmzW2gW
=LXbE
-----END PGP SIGNATURE-----
________________________________________________
Kerberos mailing list           [email protected]
https://mailman.mit.edu/mailman/listinfo/kerberos

Reply via email to