[24293] in Kerberos

home help back first fref pref prev next nref lref last post

daemon@ATHENA.MIT.EDU (Mike Friedman)
Wed Jul 13 22:05:48 2005

Date: Wed, 13 Jul 2005 19:04:00 -0700 (PDT)
From: Mike Friedman <mikef@ack.berkeley.edu>
To: Russ Allbery <rra@stanford.edu>
In-Reply-To: <87mzosep88.fsf@windlord.stanford.edu>
Message-ID: <20050713185552.A99557@malcolm.berkeley.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
cc: kerberos@mit.edu
Errors-To: kerberos-bounces@mit.edu

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

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

> 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.

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
mikef@ack.Berkeley.EDU          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           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post