[17164] in Kerberos_V5_Development

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

Re: krb5-1.9.1 compilation errors on NetBSD

daemon@ATHENA.MIT.EDU (Greg Hudson)
Thu Sep 15 15:38:39 2011

From: Greg Hudson <ghudson@mit.edu>
To: Julien =?ISO-8859-1?Q?=C9LIE?= <julien@trigofacile.com>
In-Reply-To: <4E7239BC.3000709@trigofacile.com>
Date: Thu, 15 Sep 2011 15:38:22 -0400
Message-ID: <1316115502.718.224.camel@t410>
Mime-Version: 1.0
Cc: "krbdev@mit.edu" <krbdev@mit.edu>
Content-Type: text/plain; charset="utf-8"
Errors-To: krbdev-bounces@mit.edu
Content-Transfer-Encoding: 8bit

On Thu, 2011-09-15 at 13:45 -0400, Julien ÉLIE wrote:> init_ctx.c:134:5: error: implicit declaration of function 'krb5int_initialize_library' [-Werror=implicit-function-declaration]
The declaration for this function comes from ../krb5_libinit.h, which isincluded like this:
#if defined(unix) || TARGET_OS_MAC#include "../krb5_libinit.h"#endif
From memory, NetBSD is one of the few platforms which doesn't define"unix" in order to better comply with POSIX and ANSI namespacestandards.  So, that conditional is broken for NetBSD.
In the trunk code (as of April 2011), we include that headerunconditionally.  I'll file a ticket to backport that change to 1.9.

_______________________________________________krbdev mailing list             krbdev@mit.eduhttps://mailman.mit.edu/mailman/listinfo/krbdev

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