[Samba] Problems compiling 3.0.20a with heimdal 0.7

Mike Rose esor_ekim at hotmail.com
Mon Oct 3 14:03:57 GMT 2005


Harry,

I had this problem as well:
https://bugzilla.samba.org/show_bug.cgi?id=2923

The excellent response was:

"
-------- Additional Comment #2 From Guenther Deschner  2005-07-27 05:24  
[reply] -------
As a quick hack for you build with 0.7 to succeed, you can just remove the
#define private #error DONT_USE_CPLUSPLUS_RESERVED_NAMES
in include/includes.h.
We will work on this bug.
"

regards,

Mike.




Date: Sat, 01 Oct 2005 11:19:52 +0200
From: Harry R?ter <harry_rueter at gmx.de>
Subject: [Samba] Problems compiling 3.0.20a with heimdal 0.7
To: samba at lists.samba.org
Message-ID: <433E54B8.1080606 at gmx.de>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi everybodey,

i can't compile 3.0.20 the following message occurs :

Compiling dynconfig.c
In file included from include/includes.h:452,
~                 from dynconfig.c:21:
/usr/local/heimdal-0.7/include/krb5.h:660: error: syntax error at '#' token
/usr/local/heimdal-0.7/include/krb5.h:660: warning: no semicolon at end
of struct or union
/usr/local/heimdal-0.7/include/krb5.h:660: error: parse error before
"DONT_USE_CPLUSPLUS_RESERVED_NAMES"
/usr/local/heimdal-0.7/include/krb5.h:661: warning: data definition has
no type or storage class
In file included from /usr/local/heimdal-0.7/include/krb5.h:750,
~                 from include/includes.h:452,
~                 from dynconfig.c:21:
/usr/local/heimdal-0.7/include/krb5-protos.h:1750: error: parse error
before "krb5_get_init_creds_opt"
/usr/local/heimdal-0.7/include/krb5-protos.h:1760: error: parse error
before "krb5_get_init_creds_opt"
/usr/local/heimdal-0.7/include/krb5-protos.h:1770: error: parse error
before "krb5_get_init_creds_opt"
/usr/local/heimdal-0.7/include/krb5-protos.h:1775: error: parse error
before "krb5_get_init_creds_opt"
/usr/local/heimdal-0.7/include/krb5-protos.h:1778: error: parse error
before '*'

Any hints from the community ?

Greets Harry




More information about the samba mailing list