[17165] in Kerberos_V5_Development
Re: krb5-1.9.1 compilation errors on NetBSD
daemon@ATHENA.MIT.EDU (=?UTF-8?B?SnVsaWVuIMOJTElF?=)
Thu Sep 15 16:20:08 2011
Message-ID: <4E725DDB.3010904@trigofacile.com>
Date: Thu, 15 Sep 2011 22:19:39 +0200
From: =?UTF-8?B?SnVsaWVuIMOJTElF?= <julien@trigofacile.com>
MIME-Version: 1.0
To: "krbdev@mit.edu" <krbdev@mit.edu>
In-Reply-To: <1316115502.718.224.camel@t410>
Content-Type: text/plain; charset="utf-8"
Errors-To: krbdev-bounces@mit.edu
Content-Transfer-Encoding: 8bit
Hi Greg,
>> 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 is> included 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 namespace> standards. So, that conditional is broken for NetBSD.>> In the trunk code (as of April 2011), we include that header> unconditionally. I'll file a ticket to backport that change to 1.9.
OK, thanks a lot.
I have just modified the local file to include the header unconditionally, and krb5-1.9.1 built fine.
-- Julien ÉLIE
« Le chemin le plus court d'un point à un autre est la ligne droite, à condition que les deux points soient bien en face l'un de l'autre. » (Pierre Dac)_______________________________________________krbdev mailing list krbdev@mit.eduhttps://mailman.mit.edu/mailman/listinfo/krbdev