Current-Users archive

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

Re: heimdal update breaks samba35



On Mon, Apr 18, 2011 at 10:14:38AM +0200, Thomas Klausner wrote:
> With a 5.99.49/amd64 from 20110416, samba-3.5 doesn't compile:
> 
> In file included from ./libnet/libnet.h:23,
>                  from libnet/libnet_join.c:22:
> include/smb_krb5.h:8:1: warning: "KRB5_DEPRECATED" redefined
> In file included from /usr/include/gssapi/gssapi.h:46,
>                  from include/includes.h:187,
>                  from libnet/libnet_join.c:21:
> /usr/include/krb5/krb5-types.h:19:1: warning: this is the location of the 
> previous definition
> In file included from /usr/include/krb5/krb5.h:856,
>                  from include/smb_krb5.h:14,
>                  from ./libnet/libnet.h:23,
>                  from libnet/libnet_join.c:22:
> /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
> ...

I had the same problem with "samba33" under NetBSD/i386 5.99.49.
The following commit fixed the problem for me:

        http://mail-index.netbsd.org/pkgsrc-changes/2011/04/23/msg054789.html

The change might fix your problem as well.

        Kind regards

-- 
Matthias Scheler                                  http://zhadum.org.uk/


Home | Main Index | Thread Index | Old Index