Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: krb5 header



On Wed, May 11, 2011 at 02:24:34PM +0200, Christoph Egger wrote:
>

> On 05/11/11 14:05, Matthias Scheler wrote:
> >On Wed, May 11, 2011 at 06:48:08AM +0200, Christoph Egger wrote:
> >>
> >>Hi,
> >>
> >>something is wrong with /usr/include/krb5
> >>
> >>pkgsrc/net/samba fails compiling with:
> >>
> >>
> >>In file included from /usr/include/krb5/krb5.h:856,
> >>                  from include/includes.h:168,
> >>                  from libsmb/clikrb5.c:27:
> >>/usr/include/krb5/krb5-protos.h:28: error: expected identifier or '('
> >>before numeric constant
> >>/usr/include/krb5/krb5-protos.h:34: error: expected identifier or '('
> >>before numeric constant
> >>/usr/include/krb5/krb5-protos.h:389: error: expected identifier or '('
> >>before numeric constant
> >>[...]
> >
> >Which "pkgsrc" branch are you using and how old are your sources?
> 
> pkgsrc-current, NetBSD kernel is 5.99.51 and userland is from
> releng autobuild 2011-05-10 12:00 UTC.

I'll have a look at it.  It's likely caused by the fact that Heimdal
and MIT both use a CPP macro KRB5_DEPRECATED but in quite different
ways.

--
    Roland Dowdeswell                      http://Imrryr.ORG/~elric/


Home | Main Index | Thread Index | Old Index