-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Harry RĂ¼ter wrote: | 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 ?
It's the use of the C++ keywords in the Heimdal source code. Comment out these lines in samba/source/include/includes.h and you should be ok. /* comment out for working around heimdal build issues *. #if 0 # ifndef __cplusplus # define class #error DONT_USE_CPLUSPLUS_RESERVED_NAMES /* allow to build with newer heimdal releases */ /* #define private #error DONT_USE_CPLUSPLUS_RESERVED_NAMES */ # define public #error DONT_USE_CPLUSPLUS_RESERVED_NAMES # define protected #error DONT_USE_CPLUSPLUS_RESERVED_NAMES # define template #error DONT_USE_CPLUSPLUS_RESERVED_NAMES # define this #error DONT_USE_CPLUSPLUS_RESERVED_NAMES # define new #error DONT_USE_CPLUSPLUS_RESERVED_NAMES # define delete #error DONT_USE_CPLUSPLUS_RESERVED_NAMES # define friend #error DONT_USE_CPLUSPLUS_RESERVED_NAMES # endif #endif ciao, jerry ===================================================================== Alleviating the pain of Windows(tm) ------- http://www.samba.org GnuPG Key ----- http://www.plainjoe.org/gpg_public.asc "There's an anonymous coward in all of us." --anonymous -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDQSbtIR7qMdg1EfYRAvvBAJ0Rh4c1wqfe6/jVTPPG0B2mrOs5qwCff+3Y qv7XFzbX8OaeXq2R62y/dGY= =1aTX -----END PGP SIGNATURE----- -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
