Re: Kerberos build failures in HEAD

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Mon, 14 Sep 2009 01:37:33 -0600 (MDT)

On Sun, 13 Sep 2009, Henrik Nordstrom wrote:

> s?n 2009-09-13 klockan 21:30 +0200 skrev Henrik Nordstrom:
>> seems to build fine for me on CentOS 5.2.. but maybe something in the
>> test builds are triggering it..
>>
>> A full test is running..
>
> Found.. it fails when used in combination with --enable-ssl. This due to
> OpenSSL (or actually krb5.h I think, included by openssl) ending up
> including com_err.h without the extern "C" wrapper, or if you prefer due
> to the com_err.h include not shielding itself from C++ parsing...
>
> Proposed fix: Have src/ssl_support.h include et/com_err.h in an extern
> "C" wrapping before OpenSSL includes...

Have been bitten by this as well. The proposed fix sounds good to me.

Thank you,

Alex.
Received on Mon Sep 14 2009 - 07:37:54 MDT

This archive was generated by hypermail 2.2.0 : Mon Sep 14 2009 - 12:00:06 MDT