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

Re: [Xen-devel] stubdom vtpm build failure in staging




> -----Original Message-----
> From: Ian Campbell [mailto:Ian.Campbell@xxxxxxxxxx]
> Sent: Wednesday, January 28, 2015 11:25 PM
> To: Olaf Hering
> Cc: xen-devel@xxxxxxxxxxxxx; Xu, Quan
> Subject: Re: [Xen-devel] stubdom vtpm build failure in staging
> 
> On Wed, 2015-01-28 at 16:08 +0100, Olaf Hering wrote:
> > Current staging fails in the install-stubdom target:
> >
> > ...
> > [  488s] tpm2_types.h:86: error: redefinition of typedef 'BYTE'
> > [  488s] tcg.h:404: error: previous declaration of 'BYTE' was here [
> > 488s] tpm2_types.h:87: error: redefinition of typedef 'BOOL'
> > [  488s] tcg.h:405: error: previous declaration of 'BOOL' was here [
> > 488s] tpm2_types.h:89: error: redefinition of typedef 'UINT16'
> > [  488s] tcg.h:406: error: previous declaration of 'UINT16' was here [
> > 488s] tpm2_types.h:90: error: redefinition of typedef 'UINT32'
> > [  488s] tcg.h:407: error: previous declaration of 'UINT32' was here [
> > 488s] tpm2_types.h:91: error: redefinition of typedef 'UINT64'
> > [  488s] tcg.h:408: error: previous declaration of 'UINT64' was here [
> > 488s] tpm2_types.h:219: error: redefinition of typedef 'TPM_HANDLE'
> > [  488s] tcg.h:413: error: previous declaration of 'TPM_HANDLE' was
> > here [  488s] tpm2_types.h:236: error: redefinition of typedef
> 'TPM_ALGORITHM_ID'
> > [  488s] tcg.h:425: error: previous declaration of 'TPM_ALGORITHM_ID'
> > was here [  488s] tpm2_types.h:285: error: redefinition of typedef
> 'TPMI_RH_HIERARCHY_AUTH'
> > [  488s] tpm2_types.h:264: error: previous declaration of
> > 'TPMI_RH_HIERARCHY_AUTH' was here [  488s] tpm2_types.h:307: error:
> redefinition of typedef 'TPM_ALG_ID'
> > [  488s] tpm2_types.h:306: error: previous declaration of 'TPM_ALG_ID'
> > was here [  488s] make[2]: Entering directory
> `/usr/src/packages/BUILD/xen-4.6.30230/non-dbg/stubdom/ioemu'
> > [  488s] make[2]: *** [vtpmmgr.o] Error 1
> 
> I didn't see this on my pre-commit builds, which are debug=y, but I don't see
> anything in the code where debug= would make a difference.
> 
> Do you perhaps have a CFLAG override in force which is making the compiler
> more pedantic about these things?
> 
> Ian.


Ian,
    I have verified the staging branch, the vTPM is working on TPM 2.0, 
building / working well.
 The GIT commit ID is 39798e95a954eec660a3f5f21489c30ef78daf6d. The host is 
Ubuntu 12.10. thanks.

Olaf,
    Could you share more about your environment setting? If I miss something.
BTW, I verified with GIT clone source code. Could you do it based on GIT source 
code?
Thanks.

Also you can share me how to build Xen upon openSUSE 11.4, if it is available. 
I have never 
Build xen on opensuse 11.4. I didn't know what packages should be installed. 
then I can also 
Follow it. 


-Quan



> 
> > ....
> >
> > This happens with openSUSE 11.4 and SLES11 with xen_hg_changeset Wed
> > Jan 28 13:28:46 2015 +0000 hg: 30230:e44b74f5a177
> >
> > Last successful build was:
> > xen_hg_changeset Wed Jan 28 09:59:46 2015 +0000 hg: 30213:242d3c94e590
> >
> > Olaf
> >
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@xxxxxxxxxxxxx
> > http://lists.xen.org/xen-devel
> 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.