problem compiling samba-master c21c25450819c9bf2d88c52e6ba44df2c28a01a4
Andrew Bartlett
abartlet at samba.org
Fri Aug 19 17:14:54 MDT 2011
On Fri, 2011-08-19 at 18:22 -0400, Aaron Solochek wrote:
> I'm on a ubuntu 10.10 machine, amd64, and trying to compile samba-master. I
> moved the existing samba install out of the way, but my compilation fails with this:
>
> default/librpc/gen_ndr/py_krb5pac.c:986: error: ‘union PAC_INFO’ has no member
> named ‘constrained_delegation’
> default/librpc/gen_ndr/py_krb5pac.c:986: error: dereferencing pointer to
> incomplete type
>
>
> now the only place I see PAC_INFO declared is
> include/public/gen_ndr/krb5pac.h:87:
>
> union PAC_INFO {
> struct PAC_LOGON_INFO_CTR logon_info;/*
> [subcontext(0xFFFFFC01),case(PAC_TYPE_LOGON_INFO)] */
> struct PAC_SIGNATURE_DATA srv_cksum;/* [case(PAC_TYPE_SRV_CHECKSUM)] */
> struct PAC_SIGNATURE_DATA kdc_cksum;/* [case(PAC_TYPE_KDC_CHECKSUM)] */
> struct PAC_LOGON_NAME logon_name;/* [case(PAC_TYPE_LOGON_NAME)] */
> struct PAC_CONSTRAINED_DELEGATION_CTR constrained_delegation;/*
> [subcontext(0xFFFFFC01),case(PAC_TYPE_CONSTRAINED_DELEGATION)] */
> struct DATA_BLOB_REM unknown;/* [subcontext(0),default] */
> }/* [gensize,nodiscriminant,public] */;
>
>
> So it looks like constrained_delegation is indeed a member of PAC_INFO.
>
> How do I further debug this build problem?
ensure you have no local files in your git checkout, then in the
checkout directory run
rm -rf bin source4/bin
git clean -x -f -f -d
(There must be some old generated files, possibly from an autoconf build
under source3, in your tree somewhere).
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
More information about the samba-technical
mailing list