From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out20-15.mail.aliyun.com (out20-15.mail.aliyun.com [115.124.20.15]) by mx.groups.io with SMTP id smtpd.web11.5520.1612332656320735646 for ; Tue, 02 Feb 2021 22:10:59 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: zoyatek.com.cn, ip: 115.124.20.15, mailfrom: suchenyu@zoyatek.com.cn) X-Alimail-AntiSpam: AC=CONTINUE;BC=0.07882992|-1;CH=green;DM=|CONTINUE|false|;DS=CONTINUE|ham_alarm|0.056385-0.00161921-0.941996;FP=0|0|0|0|0|-1|-1|-1;HT=ay29a033018047192;MF=suchenyu@zoyatek.com.cn;NM=1;PH=DS;RN=1;RT=1;SR=0;TI=SMTPD_---.JURywPi_1612332652; Received: from Su-Pc(mailfrom:suchenyu@zoyatek.com.cn fp:SMTPD_---.JURywPi_1612332652) by smtp.aliyun-inc.com(10.147.42.16); Wed, 03 Feb 2021 14:10:53 +0800 Date: Wed, 3 Feb 2021 14:10:54 +0800 From: "suchenyu@zoyatek.com.cn" To: devel Subject: UEFI compile error X-Priority: 3 X-GUID: 3CFAF79F-8C61-4715-A827-04BFD328B1BA X-Has-Attach: no X-Mailer: Foxmail 7.2.18.95[cn] Mime-Version: 1.0 Message-ID: <202102031410537949606@zoyatek.com.cn> Content-Type: multipart/alternative; boundary="----=_001_NextPart508852044364_=----" ------=_001_NextPart508852044364_=---- Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: base64 SGksDQogICAgIFRoZSBlcnJvciBpbmZvcm1hdGlvbiBvY2N1ciB3aGVuIEkgY29tcGlsZSBhIG5l dyBwbGF0Zm9ybSBVRUZJIHNvdXJjZSwgc28gSSBuZWVkIHNvbWUgaGVscCB0byBjb3JyZWN0IHRo aXMgZXJyb3IsIHBsZWFzZS4NCiAgICBUaGlzIGlzIHRoZSBlcnJvciBpbmZvcm1hdGlvbiB1bmRl cjogDQpidWlsZC5weS4uLg0KIDogZXJyb3IgQzBERTogVW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vcmtzcGFjZS9EZWNCdWlsZERhdGEucHkiLCBsaW5lIDQ2OCwgaW4gX0dldFBjZA0KICAg IEVka0xvZ2dlci5lcnJvcigiYnVpbGQiLCBQQ0RfU1RSVUNUVVJFX1BDRF9FUlJPUiwgIlRoZSBz dHJ1Y3R1cmUgUGNkICVzLiVzIGhlYWRlciBmaWxlIGlzIG5vdCBmb3VuZCBpbiAlcyBsaW5lICVz IFxuIiAlIChwY2QuVG9rZW5TcGFjZUd1aWRDTmFtZSwgcGNkLlRva2VuQ05hbWUsIHBjZC5EZWZp bml0aW9uUG9zaXRpb25bMF0sIHBjZC5EZWZpbml0aW9uUG9zaXRpb25bMV0gKSkNCkF0dHJpYnV0 ZUVycm9yOiAnU3RydWN0dXJlUGNkJyBvYmplY3QgaGFzIG5vIGF0dHJpYnV0ZSAnRGVmaW5pdGlv blBvc2l0aW9uJw0KDQoNCg0Kc3VjaGVueXVAem95YXRlay5jb20uY24NCg== ------=_001_NextPart508852044364_=---- Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable =0A
Hi,
     T<= span style=3D"line-height: 1.5; background-color: transparent;">he error i= nformation occur when I compile a new platform UEF= I source, so I need some help to correct this error, please.
<= div>    This is the error information under: 
build.py...
 := error C0DE: Unknown fatal error when processing [/home/git/sw-edkII/edkII= /SenweiPkg/SenweiPkg.dec]
(Please send email to devel@edk2.g= roups.io for help, attaching following call stack trace!)
=0A

(Python 2.7.12 on linux2) Traceback (most recent ca= ll last):
  File "/home/git/sw-edkII/edkII/BaseTools//BinWr= appers/PosixLike/../../Source/Python/build/build.py", line 2637, in Main
    MyBuild.Launch()
  File "/home/git/s= w-edkII/edkII/BaseTools//BinWrappers/PosixLike/../../Source/Python/build/b= uild.py", line 2432, in Launch
    self._MultiThreadBu= ildPlatform()
  File "/home/git/sw-edkII/edkII/BaseTools//B= inWrappers/PosixLike/../../Source/Python/build/build.py", line 2239, in _M= ultiThreadBuildPlatform
    Wa, self.BuildModules =3D = self.PerformAutoGen(BuildTarget,ToolChain)
  File "/home/gi= t/sw-edkII/edkII/BaseTools//BinWrappers/PosixLike/../../Source/Python/buil= d/build.py", line 2103, in PerformAutoGen
    self.Pro= gress
  File "/home/git/sw-edkII/edkII/BaseTools/Source/Pyt= hon/AutoGen/WorkspaceAutoGen.py", line 43, in __init__
  &n= bsp; self._InitWorker(Workspace, MetaFile, Target, Toolchain, Arch, *args,= **kwargs)
  File "/home/git/sw-edkII/edkII/BaseTools/Sourc= e/Python/AutoGen/WorkspaceAutoGen.py", line 117, in _InitWorker
=     self.ProcessPcdType()
  File "/home/git/sw-ed= kII/edkII/BaseTools/Source/Python/AutoGen/WorkspaceAutoGen.py", line 264, = in ProcessPcdType
    Platform.Pcds
  F= ile "/home/git/sw-edkII/edkII/BaseTools/Source/Python/Workspace/DscBuildDa= ta.py", line 1198, in Pcds
    self._Pcds.update(self.= _GetPcd(MODEL_PCD_FIXED_AT_BUILD))
  File "/home/git/sw-edk= II/edkII/BaseTools/Source/Python/Workspace/DscBuildData.py", line 1691, in= _GetPcd
    PcdValue, DatumType, MaxDatumSize =3D sel= f._ValidatePcd(PcdCName, TokenSpaceGuid, Setting, Type, Dummy4)
=   File "/home/git/sw-edkII/edkII/BaseTools/Source/Python/Workspace/Ds= cBuildData.py", line 917, in _ValidatePcd
    self._De= cPcds, self._GuidDict =3D GetDeclaredPcd(self, self._Bdb, self._Arch, self= ._Target, self._Toolchain, PkgSet)
  File "/home/git/sw-edk= II/edkII/BaseTools/Source/Python/Workspace/WorkspaceCommon.py", line 68, i= n GetDeclaredPcd
    for Pcd in Pkg.Pcds:
&n= bsp; File "/home/git/sw-edkII/edkII/BaseTools/Source/Python/Workspace/DecB= uildData.py", line 355, in Pcds
    self._Pcds.update(= self._GetPcd(MODEL_PCD_DYNAMIC))
  File "/home/git/sw-edkII= /edkII/BaseTools/Source/Python/Workspace/DecBuildData.py", line 468, in _G= etPcd
    EdkLogger.error("build", PCD_STRUCTURE_PCD_E= RROR, "The structure Pcd %s.%s header file is not found in %s line %s \n" = % (pcd.TokenSpaceGuidCName, pcd.TokenCName, pcd.DefinitionPosition[0], pcd= .DefinitionPosition[1] ))
AttributeError: 'StructurePcd' object = has no attribute 'DefinitionPosition'


=0A
suchenyu@zoyatek.com.cn
=0A ------=_001_NextPart508852044364_=------