From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mx.groups.io with SMTP id smtpd.web10.42545.1590452480747564678 for ; Mon, 25 May 2020 17:21:21 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=Cp+1Wf6V; spf=pass (domain: intel.com, ip: 134.134.136.31, mailfrom: guomin.jiang@intel.com) IronPort-SDR: Wz+Ob8iSQM9wvbZeauz619P9Vhgc3YHImszzlyKsZdj+mJ4rNx1OKiWaFj9oSSjOE2FP02iG0I jz+YpRg3tp/w== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 May 2020 17:21:19 -0700 IronPort-SDR: 8uBHQuJRa52LFjcfCI3/d5q+TmWO+kWcMiOSVOYcITHlzphNvPXirSuBjW8khGOSlbnNlGGmjY dj/PjLKv4Vqw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,435,1583222400"; d="scan'208,217";a="301545563" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga002.fm.intel.com with ESMTP; 25 May 2020 17:21:19 -0700 Received: from fmsmsx122.amr.corp.intel.com (10.18.125.37) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 25 May 2020 17:21:19 -0700 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by fmsmsx122.amr.corp.intel.com (10.18.125.37) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 25 May 2020 17:21:19 -0700 Received: from NAM04-CO1-obe.outbound.protection.outlook.com (104.47.45.58) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 25 May 2020 17:21:19 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WQQBpBrKyksNe+Ub3RYbZI79/CUvOeAtj7Dh7M+Hr+0/5AqyW0ZMIr0D408tlS35CRDCSkIss3EEpmPKIv+qh8+pFajJQ0EBPI/Je51TkCgcB1kKRqUw3IvI54gziiS6jxCuDemNsoQw2O4so6Tpv2RgYVobR3ebkK923vZuHqGlyNpNKa2t1ubFL5UwIqo+1vxHK5vqmQC/jSH/bph6cA7dd2kCMEzr9NNZBVw8WiUS6rHURWpC07JHpDhyaFahiE2hmNmN9wMpemN5MHZ9Jhsrtnvxi3sjfcjcm8hMlIPXTN8yHuf6eB0S5pneIwJv5euq6a72u9QPjHsnCEqYbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=m1a17WQif1V/EgRLmQTiYNUOIsglM8VvupDxaNNxXfM=; b=VSTCTNI8nCR0YjRlI65kqB9w0xKZQtDweaa33n78utA6aRraBv8ATCDh6VpjoFqlOrrgir3x51sknCNjZf0TM41lYgw93pq5EJVYM76llF57TWaSbu6DG12dp55KyNOPw5S1F1AVRivIQcC1t7APapQ9qOKFXIPFq/KmWlhKtFYZ5C8C6n7u05Gx+heVFRoLAzwtUkLynHEdZ8iaGCBKnpaBMzHhl51Ey7cXauqAEZhUvQSUUnXfClStGVR0NS9jpnxSG0XguF2pjk89TAw02MFTBSDzZ0eIFf9VVVf8mvpakPXNFG95jC77gl1Hd6MwE75ktdZ1IPI1/L86VOGAUg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=m1a17WQif1V/EgRLmQTiYNUOIsglM8VvupDxaNNxXfM=; b=Cp+1Wf6V8Ws3JpGGYA6MKUQBN5AB+46OtKj441tG3l0PuG2T6kOx60OyviIXPoSAsK5uUw9YaslL1r8owa80pmSvdKY0rDZFemEOJuGMz+WA0MIclGiEg5nAozXMtMHfKZ9lghn2k2BijBeHnrKrVkOKORWUUG36TDbYzIpbQLw= Received: from DM6PR11MB2955.namprd11.prod.outlook.com (2603:10b6:5:65::31) by DM6PR11MB2714.namprd11.prod.outlook.com (2603:10b6:5:ce::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3021.27; Tue, 26 May 2020 00:21:17 +0000 Received: from DM6PR11MB2955.namprd11.prod.outlook.com ([fe80::ccd4:4b0d:535a:58be]) by DM6PR11MB2955.namprd11.prod.outlook.com ([fe80::ccd4:4b0d:535a:58be%7]) with mapi id 15.20.3021.029; Tue, 26 May 2020 00:21:17 +0000 From: "Guomin Jiang" To: "devel@edk2.groups.io" , "afish@apple.com" , "Kinney, Michael D" CC: "df7729@gmail.com" Subject: Re: [edk2-devel] Updating to latest EDK2 and now get NMAKE: fatal error U1073: Don't know how to make.. on some items? Thread-Topic: [edk2-devel] Updating to latest EDK2 and now get NMAKE: fatal error U1073: Don't know how to make.. on some items? Thread-Index: AQHWMsFe5ECPhNFS0EmxDbeeXfiEM6i5RxmAgAAp2ICAAA+CMA== Date: Tue, 26 May 2020 00:21:17 +0000 Message-ID: References: <7AV9.1590393358635470204.j9Pi@groups.io> <6C3DD340-F629-4911-B93A-8F1877608D42@apple.com> In-Reply-To: <6C3DD340-F629-4911-B93A-8F1877608D42@apple.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.2.0.6 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.55.52.196] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 02f4c058-7e49-46d0-690f-08d8010ab536 x-ms-traffictypediagnostic: DM6PR11MB2714: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 041517DFAB x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 0KihFhgCHEZ1RuljOHuCKIFkVN+UCSzl19ZwtEqIgXinxpRR/+tmwNqpf2zBEwY6fHppwCizHn5xMS8pu0RWYBH6UcCJFPljTz/U1v91UVkB0RZdcSqZlCbaT258SWcghg2Ia6jgbB6O/JmVtDMft1Ssa+tal4WNfofuZ4cm6kER88D5SCqhs6GzRKmnKK0/4zl4aCBaiQ+LjqhiQMWEruq7da4VpKnR/DrrXh4YpRJrb0ZyhDFUoMcibkL/FarPZPRJVF+dOGNm3VM2JEEYrpvlckuwfEn7Y7BcjgXiV+m75c2OKztJQ4RUyYDkeQIeFCMiMlRS5PAdENPE8VpzW+pxLoZaRdD+LR4PC/k1Lb4/5Qb7sSz8Ck2hS7Ip9Uh92tepKQIcy1G5N+WJ8IqqUISaaO+kNxF8bJWKOo2SQ6oj55DDlyrQJ0zSgcuk1DNJPNeZHkdgmbC2xp1QXNzz8DnHx4SA/Ak8lnbOf/8Ji4+LfrnqoK9uTi7GDKwEK5zb x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR11MB2955.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(376002)(366004)(39860400002)(396003)(346002)(136003)(52536014)(66476007)(64756008)(66946007)(45080400002)(66556008)(478600001)(66446008)(6506007)(53546011)(86362001)(76116006)(9686003)(5660300002)(186003)(2906002)(71200400001)(33656002)(55016002)(26005)(316002)(8936002)(8676002)(9326002)(76236002)(110136005)(7696005)(30864003)(4326008)(166002)(6636002)(545624004)(460985005)(134885004);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: tO0TssAN3MjkhNemdmO9yXob5NeXejNC2lYKogUWwpFmyMSxrzCGQxAlG9g6FAMesB94QlGMG623jXwyw8Ag4altApOTb3xusDBSe2u2NWWMr7B7P00R2ghpo/lxX6uvy/PVj3RHUjy4l0w0z1UcAdSMF76+vMFe6YxEifP8QnI190TKRR+FMz+AoinpqVeGSKXWIgPUOm0YHQt1ryVwKwndX84HhqE3c97ytEs6GrZI2btf0CClwnsPY+9D+2n2L9uJC3TlR3E4uVsNeRs59IPiS++b7aYSC98jcOH6+8bAj6eHgPWgjn/aqkdSf6TkdRR5YwzuAc5j2QamqXZBEIK1JS7rIij6LcLliqjmGAGhhu3e+yNz0aJDGs45f2h3cpdgTPoGuHHjlJqtN+Ni0sYHXne6qsxIvvLTPTHCWIrmYbowr8d7OifSTDgSizU8kHyjaJT82vR+QH9LFAyfl//gBwkcVfMa67xgIBKQNRM= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 02f4c058-7e49-46d0-690f-08d8010ab536 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 May 2020 00:21:17.3258 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: iTWmrg5Wn8ls2lF3CZDfXnlUTEkNzqsFvBesWsYGvL8djNC9Z/Y02Fha8u3Cg1ILxntaa11rzTzxPqhaam0+JA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB2714 Return-Path: guomin.jiang@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_DM6PR11MB2955F1D7B497ABB5B96664BB9DB00DM6PR11MB2955namp_" --_000_DM6PR11MB2955F1D7B497ABB5B96664BB9DB00DM6PR11MB2955namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi David, I saw the below error, but those file can be found in my local repo, build: : warning: Module MetaFile [Sources] is missing local header! Local Header: c:\edk\edk2-libc\stdlib\libc\gdtoa\gdtoaimp.h not found = in c:\edk\edk2-libc\StdLib\LibC\gdtoa\gdtoa.inf build: : warning: Module MetaFile [Sources] is missing local header! Local Header: c:\edk\edk2-libc\stdlib\libc\gdtoa\gdtoa.h not found in = c:\edk\edk2-libc\StdLib\LibC\gdtoa\gdtoa.inf build: : warning: Module MetaFile [Sources] is missing local header! Local Header: c:\edk\edk2-libc\stdlib\libc\time\tzfile.h not found in = c:\edk\edk2-libc\StdLib\LibC\Time\Time.inf build: : warning: Module MetaFile [Sources] is missing local header! .... Several more like this from stdlib .... I suggest that you check the edk2-libc repo and figure out why those warni= ng happened. I agree that Andrew and Mike that you can use new build tool if possible. Best Regards guomin From: devel@edk2.groups.io On Behalf Of Andrew Fish= via groups.io Sent: Tuesday, May 26, 2020 7:22 AM To: edk2-devel-groups-io ; Kinney, Michael D Cc: df7729@gmail.com Subject: Re: [edk2-devel] Updating to latest EDK2 and now get NMAKE: fatal= error U1073: Don't know how to make.. on some items? On May 25, 2020, at 1:51 PM, Michael D Kinney > wrote: Hi David, You do need to update to latest tools_def.txt, target.txt, and build_rules= .txt. Which means delete those files in Conf/ and rerun edksetup.bat/edksetup.sh= to copy them over from BaseTools/Conf/*.template files that are checked in= . Thanks, Andrew Fish I also recommend you use VS2015, 2017, or VS2019 and let us know what issu= es you see after these 2 changes. Mike From: devel@edk2.groups.io > On Behalf Of David F. Sent: Monday, May 25, 2020 12:56 AM To: devel@edk2.groups.io Subject: [edk2-devel] Updating to latest EDK2 and now get NMAKE: fatal err= or U1073: Don't know how to make.. on some items? Hi, I haven't updated the edk2 in quite a while, I went ahead and did it tonig= ht, stdlib was removed so I had to move stuff around. Where I used to have= C:\EDK2, I now have C:\EDK\EDK2 and C:\EDK\EDK2-CLIB. My private directo= ry is still under C:\EDK\EDK2\Acme. After figuring out how to get stdlib = on its own repository by using the new directory, I then had to setup a bat= ch file to do my edksetup in a different way. Now has: set WORKSPACE=3D%CD% set PACKAGES_PATH=3D%WORKSPACE%\edk2-libc;%WORKSPACE%\edk2 set EDK_TOOLS_PATH=3D%WORKSPACE%\edk2\BaseTools cd %WORKSPACE%\edk2 edksetup.bat It's all looking pretty good. I am using VS2008 for my EDK builds, I deci= ded to stay with my old build_rule.txt, target.txt and tools_def.txt which = has some older stuff in it that doesn't apply (I looked at the new stuff, b= ut I have some custom switches and it wasn't much different). So I run my= build switch to build my UEFI application and it starts and builds some it= ems, but then dies with the NMAKE failure and I have no clue why. Here ar= e some of the details after deleting c:\edk\build which is where it wants t= o go. Build environment: Windows-10-10.0.18362 Build start time: 00:33:37, May.25 2020 WORKSPACE =3D c:\edk PACKAGES_PATH =3D c:\edk\edk2-libc;c:\edk\edk2 EDK_TOOLS_PATH =3D c:\edk\edk2\basetools EDK_TOOLS_BIN =3D c:\edk\edk2\basetools\bin\win32 CONF_PATH =3D c:\edk\edk2\conf PYTHON_COMMAND =3D C:\python27-x64\python.exe Architecture(s) =3D X64 Build target =3D RELEASE Toolchain =3D VS2008x86 Active Platform =3D c:\edk\edk2\Acme\Acme.dsc build: : warning: Module MetaFile [Sources] is missing local header! Local Header: c:\edk\edk2-libc\stdlib\libc\gdtoa\gdtoaimp.h not found = in c:\edk\edk2-libc\StdLib\LibC\gdtoa\gdtoa.inf build: : warning: Module MetaFile [Sources] is missing local header! Local Header: c:\edk\edk2-libc\stdlib\libc\gdtoa\gdtoa.h not found in = c:\edk\edk2-libc\StdLib\LibC\gdtoa\gdtoa.inf build: : warning: Module MetaFile [Sources] is missing local header! Local Header: c:\edk\edk2-libc\stdlib\libc\time\tzfile.h not found in = c:\edk\edk2-libc\StdLib\LibC\Time\Time.inf build: : warning: Module MetaFile [Sources] is missing local header! .... Several more like this from stdlib .... Building ... c:\edk\edk2\Acme\Library\ABLegacySpeakerLib\ABLegacySpeakerLi= b.inf [X64] Building ... c:\edk\edk2\Acme\Library\ABMemDumpLib\ABMemDumpLib.inf [X64] Building ... c:\edk\edk2\Acme\Library\ABVSSupportLib\ABVSSupportLib.inf [X= 64] "C:\Program Files (x86)\Microsoft Visual Studio 9.0\Vc\bin\x86_amd64\c= l.exe" /Foc:\edk\Build\Acme\RELEASE_VS2008x86\X64\Acme\Library\ABLegacySpea= kerLib\ABLegacySpeakerLib\OUTPUT\.\ /nologo /c /WX /GS- /X /W4 /Gs32768 /O1= ib2s /GL- /Gy /FIAutoGen.h /EHs-c- /GR- /GF /X /Zc:wchar_t- /D UEFI_C_SOURC= E /D MDEPKG_NDEBUG /D NDEBUG /Ic:\edk\edk2\Acme\Library\ABLegacySpeakerLib = /Ic:\edk\Build\Acme\RELEASE_VS2008x86\X64\Acme\Library\ABLegacySpeakerLib\= ABLegacySpeakerLib\DEBUG /Ic:\edk\edk2\MdePkg /Ic:\edk\edk2\MdePkg\Includ= e /Ic:\edk\edk2\MdePkg\Include\X64 /Ic:\edk\edk2\Acme /Ic:\edk\edk2\Acme= \Include /Ic:\edk\edk2\Acme\Include\AB\UEFI /Ic:\edk\edk2\Acme\Include\AB= \fastgui /Ic:\edk\edk2\Acme\Include\AB /Ic:\edk\edk2\Acme\Include\IPP c:\= edk\edk2\Acme\Library\ABLegacySpeakerLib\ABLegacySpeakerLib.c Building ... c:\edk\edk2\Acme\Library\ABMountedCPPEntryLib\ABMountedCPPEnt= ryLib.inf [X64] Building ... c:\edk\edk2\Acme\Library\ABSafeOpenProtocolLib\ABSafeOpenProt= ocolLib.inf [X64] "C:\Program Files (x86)\Microsoft Visual Studio 9.0\Vc\bin\x86_amd64\c= l.exe" /Foc:\edk\Build\Acme\RELEASE_VS2008x86\X64\Acme\Library\ABMemDumpLib= \ABMemDumpLib\OUTPUT\.\ /nologo /c /WX /GS- /X /W4 /Gs32768 /O1ib2s /GL- /G= y /FIAutoGen.h /EHs-c- /GR- /GF /X /Zc:wchar_t- /D UEFI_C_SOURCE /D MDEPKG_= NDEBUG /D NDEBUG /Ic:\edk\edk2\Acme\Library\ABMemDumpLib /Ic:\edk\Build\Ac= me\RELEASE_VS2008x86\X64\Acme\Library\ABMemDumpLib\ABMemDumpLib\DEBUG /Ic:= \edk\edk2\MdePkg /Ic:\edk\edk2\MdePkg\Include /Ic:\edk\edk2\MdePkg\Includ= e\X64 /Ic:\edk\edk2\Acme /Ic:\edk\edk2\Acme\Include /Ic:\edk\edk2\Acme\I= nclude\AB\UEFI /Ic:\edk\edk2\Acme\Include\AB\fastgui /Ic:\edk\edk2\Acme\I= nclude\AB /Ic:\edk\edk2\Acme\Include\IPP c:\edk\edk2\Acme\Library\ABMemDum= pLib\ABMemDumpLib.c Building ... c:\edk\edk2\MdePkg\Library\UefiApplicationEntryPoint\UefiAppl= icationEntryPoint.inf [X64] ABLegacySpeakerLib.c Building ... c:\edk\edk2\MdePkg\Library\BaseIoLibIntrinsic\BaseIoLibIntrin= sic.inf [X64] "C:\Program Files (x86)\Microsoft Visual Studio 9.0\Vc\bin\x86_amd64\c= l.exe" /Foc:\edk\Build\Acme\RELEASE_VS2008x86\X64\Acme\Library\ABVSSupportL= ib\ABVSSupportLib\OUTPUT\.\ /nologo /c /WX /GS- /X /W4 /Gs32768 /O1ib2s /GL= - /Gy /FIAutoGen.h /EHs-c- /GR- /GF /X /Zc:wchar_t- /D UEFI_C_SOURCE /D MDE= PKG_NDEBUG /D NDEBUG /Ic:\edk\edk2\Acme\Library\ABVSSupportLib /Ic:\edk\Bu= ild\Acme\RELEASE_VS2008x86\X64\Acme\Library\ABVSSupportLib\ABVSSupportLib\D= EBUG /Ic:\edk\edk2\MdePkg /Ic:\edk\edk2\MdePkg\Include /Ic:\edk\edk2\Mde= Pkg\Include\X64 /Ic:\edk\edk2\Acme /Ic:\edk\edk2\Acme\Include /Ic:\edk\e= dk2\Acme\Include\AB\UEFI /Ic:\edk\edk2\Acme\Include\AB\fastgui /Ic:\edk\e= dk2\Acme\Include\AB /Ic:\edk\edk2\Acme\Include\IPP c:\edk\edk2\Acme\Librar= y\ABVSSupportLib\ABVSSupportLib.c Building ... c:\edk\edk2\Acme\Library\ABCPPSupportLib\ABCPPSupportLib.inf = [X64] ABMemDumpLib.c "C:\Program Files (x86)\Microsoft Visual Studio 9.0\Vc\bin\x86_amd64\l= ib.exe" /NOLOGO /LTCG /OUT:c:\edk\Build\Acme\RELEASE_VS2008x86\X64\Acme\Lib= rary\ABLegacySpeakerLib\ABLegacySpeakerLib\OUTPUT\ABLegacySpeakerLib.lib @c= :\edk\Build\Acme\RELEASE_VS2008x86\X64\Acme\Library\ABLegacySpeakerLib\ABLe= gacySpeakerLib\OUTPUT\object_files.lst NMAKE : fatal error U1073: don't know how to make 'c:\edk\Build\Acme\RELEA= SE_VS2008x86\X64\Acme\Library\ABMountedCPPEntryLib\ABMountedCPPEntryLib\OUT= PUT\ABMountedCPPEntryLib.obj' Stop. ABVSSupportLib.c "C:\Program Files (x86)\Microsoft Visual Studio 9.0\Vc\bin\x86_amd64\c= l.exe" /Foc:\edk\Build\Acme\RELEASE_VS2008x86\X64\Acme\Library\ABSafeOpenPr= otocolLib\ABSafeOpenProtocolLib\OUTPUT\.\ /nologo /c /WX /GS- /X /W4 /Gs327= 68 /O1ib2s /GL- /Gy /FIAutoGen.h /EHs-c- /GR- /GF /X /Zc:wchar_t- /D UEFI_C= _SOURCE /D MDEPKG_NDEBUG /D NDEBUG /Ic:\edk\edk2\Acme\Library\ABSafeOpenPro= tocolLib /Ic:\edk\Build\Acme\RELEASE_VS2008x86\X64\Acme\Library\ABSafeOpen= ProtocolLib\ABSafeOpenProtocolLib\DEBUG /Ic:\edk\edk2\MdePkg /Ic:\edk\edk= 2\MdePkg\Include /Ic:\edk\edk2\MdePkg\Include\X64 /Ic:\edk\edk2\Acme /Ic= :\edk\edk2\Acme\Include /Ic:\edk\edk2\Acme\Include\AB\UEFI /Ic:\edk\edk2\= Acme\Include\AB\fastgui /Ic:\edk\edk2\Acme\Include\AB /Ic:\edk\edk2\Acme\= Include\IPP c:\edk\edk2\Acme\Library\ABSafeOpenProtocolLib\ABSafeOpenProtoc= olLib.c "C:\Program Files (x86)\Microsoft Visual Studio 9.0\Vc\bin\x86_amd64\l= ib.exe" /NOLOGO /LTCG /OUT:c:\edk\Build\Acme\RELEASE_VS2008x86\X64\Acme\Lib= rary\ABMemDumpLib\ABMemDumpLib\OUTPUT\ABMemDumpLib.lib @c:\edk\Build\Acme\R= ELEASE_VS2008x86\X64\Acme\Library\ABMemDumpLib\ABMemDumpLib\OUTPUT\object_f= iles.lst "C:\Program Files (x86)\Microsoft Visual Studio 9.0\Vc\bin\x86_amd64\c= l.exe" /Foc:\edk\Build\Acme\RELEASE_VS2008x86\X64\MdePkg\Library\UefiApplic= ationEntryPoint\UefiApplicationEntryPoint\OUTPUT\.\ /nologo /c /WX /GS- /X = /W4 /Gs32768 /O1ib2s /GL- /Gy /FIAutoGen.h /EHs-c- /GR- /GF /X /Zc:wchar_t-= /D UEFI_C_SOURCE /D MDEPKG_NDEBUG /D NDEBUG /Ic:\edk\edk2\MdePkg\Library\U= efiApplicationEntryPoint /Ic:\edk\Build\Acme\RELEASE_VS2008x86\X64\MdePkg\= Library\UefiApplicationEntryPoint\UefiApplicationEntryPoint\DEBUG /Ic:\edk= \edk2\MdePkg /Ic:\edk\edk2\MdePkg\Include /Ic:\edk\edk2\MdePkg\Include\X6= 4 c:\edk\edk2\MdePkg\Library\UefiApplicationEntryPoint\ApplicationEntryPoin= t.c NMAKE : fatal error U1073: don't know how to make 'c:\edk\Build\Acme\RELEA= SE_VS2008x86\X64\Acme\Library\ABCPPSupportLib\ABCPPSupportLib\OUTPUT\ABCPPS= upportLib.obj' Stop. "C:\Program Files (x86)\Microsoft Visual Studio 9.0\Vc\bin\x86_amd64\c= l.exe" /Foc:\edk\Build\Acme\RELEASE_VS2008x86\X64\MdePkg\Library\BaseIoLibI= ntrinsic\BaseIoLibIntrinsic\OUTPUT\.\ /nologo /c /WX /GS- /X /W4 /Gs32768 /= O1ib2s /GL- /Gy /FIAutoGen.h /EHs-c- /GR- /GF /X /Zc:wchar_t- /D UEFI_C_SOU= RCE /D MDEPKG_NDEBUG /D NDEBUG /Ic:\edk\edk2\MdePkg\Library\BaseIoLibIntrin= sic\X64 /Ic:\edk\edk2\MdePkg\Library\BaseIoLibIntrinsic /Ic:\edk\Build\Ac= me\RELEASE_VS2008x86\X64\MdePkg\Library\BaseIoLibIntrinsic\BaseIoLibIntrins= ic\DEBUG /Ic:\edk\edk2\MdePkg /Ic:\edk\edk2\MdePkg\Include /Ic:\edk\edk2= \MdePkg\Include\X64 c:\edk\edk2\MdePkg\Library\BaseIoLibIntrinsic\IoLibMmio= Buffer.c c:\edk\edk2\MdePkg\Library\BaseIoLibIntrinsic\IoHighLevel.c c:\edk= \edk2\MdePkg\Library\BaseIoLibIntrinsic\IoLibMsc.c c:\edk\edk2\MdePkg\Libra= ry\BaseIoLibIntrinsic\IoLib.c ABSafeOpenProtocolLib.c build.py... : error 7000: Failed to execute command C:\Program Files (x86)\Microsoft Visual Studio 9.0\Vc\bin\nmake.exe /n= ologo tbuild [c:\edk\Build\Acme\RELEASE_VS2008x86\X64\Acme\Library\ABCPPSup= portLib\ABCPPSupportLib] build.py... : error 7000: Failed to execute command C:\Program Files (x86)\Microsoft Visual Studio 9.0\Vc\bin\nmake.exe /n= ologo tbuild [c:\edk\Build\Acme\RELEASE_VS2008x86\X64\Acme\Library\ABMounte= dCPPEntryLib\ABMountedCPPEntryLib] build.py... : error F002: Failed to build module c:\edk\edk2\Acme\Library\ABCPPSupportLib\ABCPPSupportLib.inf [X64, VS2= 008x86, RELEASE] - Failed - Build end time: 00:33:41, May.25 2020 Build total time: 00:00:04 Both of those that failed have: [Packages] StdLib/StdLib.dec. I'm not sure if that has something to do with it but the others built fine= . I looked for any differences in the .inf or .dec and .dsc but all looks= fine. There used to be a build-tools mailing list but it doesn't exist and could= only find these new group/mailing lists. Can someone help? Is there a w= ay to get more details on what it doesn't like? Do I have to do something = different now that the LIBC stuff is split up to their own folder? TIA!! --_000_DM6PR11MB2955F1D7B497ABB5B96664BB9DB00DM6PR11MB2955namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi David,

 

I saw the below error, but those file can be found = in my local repo,

buil= d: : warning: Module MetaFile [Sources] is missing local header!

&nbs= p;   Local Header: c:\edk\edk2-libc\stdlib\libc\gdtoa\gdtoaimp.h = not found in c:\edk\edk2-libc\StdLib\LibC\gdtoa\gdtoa.inf=

buil= d: : warning: Module MetaFile [Sources] is missing local header!

&nbs= p;   Local Header: c:\edk\edk2-libc\stdlib\libc\gdtoa\gdtoa.h not= found in c:\edk\edk2-libc\StdLib\LibC\gdtoa\gdtoa.inf

buil= d: : warning: Module MetaFile [Sources] is missing local header!

&nbs= p;   Local Header: c:\edk\edk2-libc\stdlib\libc\time\tzfile.h not= found in c:\edk\edk2-libc\StdLib\LibC\Time\Time.inf

buil= d: : warning: Module MetaFile [Sources] is missing local header!

&nbs= p; .... Several more like this from stdlib ....

 

I suggest that you check the edk2-libc repo and fig= ure out why those warning happened.

 

I agree that Andrew and Mike that you can use new b= uild tool if possible.

 

Best Regards

guomin

From: devel@edk2.groups.io <devel@edk2.gr= oups.io> On Behalf Of Andrew Fish via groups.io
Sent: Tuesday, May 26, 2020 7:22 AM
To: edk2-devel-groups-io <devel@edk2.groups.io>; Kinney, Mich= ael D <michael.d.kinney@intel.com>
Cc: df7729@gmail.com
Subject: Re: [edk2-devel] Updating to latest EDK2 and now get NMAKE= : fatal error U1073: Don't know how to make.. on some items?

 

 



On May 25, 2020, at 1:51 PM, Michael D Kinney <<= a href=3D"mailto:michael.d.kinney@intel.com">michael.d.kinney@intel.com= > wrote:

 

Hi David,

 

You do need to update to latest tools_def.txt, targ= et.txt, and build_rules.txt.

 

 

Which means delete those files in Conf/ and rerun e= dksetup.bat/edksetup.sh to copy them over from BaseTools/Conf/*.template fi= les that are checked in. 

 

Thanks,

 

Andrew Fish



I also recommend you use VS2015, 2017, or VS2019 an= d let us know what issues you see after these 2 changes.

 

Mike

 

From:&= nbsp;devel@edk2.groups.io=  <devel@edk2.groups.io> On Behalf Of David F.<= br> Sent: Monday, May= 25, 2020 12:56 AM
To: devel@edk2.groups.i= o
Subject: [edk2-de= vel] Updating to latest EDK2 and now get NMAKE: fatal error U1073: Don't kn= ow how to make.. on some items?

 

Hi,

I haven't updated the edk2 in quite a while, I went ahead and did it tonig= ht, stdlib was removed so I had to move stuff around.  Where I used to= have C:\EDK2, I now have C:\EDK\EDK2 and C:\EDK\EDK2-CLIB.   My = private directory is still under C:\EDK\EDK2\Acme.   After figuring out how to get stdlib on its own repository by using the n= ew directory, I then had to setup a batch file to do my edksetup in a diffe= rent way.  Now has:

set = WORKSPACE=3D%CD%

set = PACKAGES_PATH=3D%WORKSPACE%\edk2-libc;%WORKSPACE%\edk2

set = EDK_TOOLS_PATH=3D%WORKSPACE%\edk2\BaseTools

cd %= WORKSPACE%\edk2

edks= etup.bat


It's all looking pretty good.  I am using VS2008 for my EDK builds, I= decided to stay with my old build_rule.txt, target.txt and tools_def.txt w= hich has some older stuff in it that doesn't apply (I looked at the new stu= ff, but I have some custom switches and it wasn't much different).   So I run my build switch to build = my UEFI application and it starts and builds some items, but then dies with= the NMAKE failure and I have no clue why.   Here are some of the= details after deleting c:\edk\build which is where it wants to go.

Buil= d environment: Windows-10-10.0.18362

Buil= d start time: 00:33:37, May.25 2020

WORK= SPACE        =3D c:\edk

PACK= AGES_PATH    =3D c:\edk\edk2-libc;c:\edk\edk2

EDK_= TOOLS_PATH   =3D c:\edk\edk2\basetools

EDK_= TOOLS_BIN    =3D c:\edk\edk2\basetools\bin\win32=

CONF= _PATH        =3D c:\edk\edk2\conf=

PYTH= ON_COMMAND   =3D C:\python27-x64\python.exe

Arch= itecture(s)  =3D X64

Buil= d target     =3D RELEASE

Tool= chain        =3D VS2008x86

Acti= ve Platform          =3D c:\ed= k\edk2\Acme\Acme.dsc

buil= d: : warning: Module MetaFile [Sources] is missing local header!

&nbs= p;   Local Header: c:\edk\edk2-libc\stdlib\libc\gdtoa\gdtoaimp.h = not found in c:\edk\edk2-libc\StdLib\LibC\gdtoa\gdtoa.inf=

buil= d: : warning: Module MetaFile [Sources] is missing local header!

&nbs= p;   Local Header: c:\edk\edk2-libc\stdlib\libc\gdtoa\gdtoa.h not= found in c:\edk\edk2-libc\StdLib\LibC\gdtoa\gdtoa.inf

buil= d: : warning: Module MetaFile [Sources] is missing local header!

&nbs= p;   Local Header: c:\edk\edk2-libc\stdlib\libc\time\tzfile.h not= found in c:\edk\edk2-libc\StdLib\LibC\Time\Time.inf

buil= d: : warning: Module MetaFile [Sources] is missing local header!

&nbs= p; .... Several more like this from stdlib ....

Buil= ding ... c:\edk\edk2\Acme\Library\ABLegacySpeakerLib\ABLegacySpeakerLib.inf= [X64]

Buil= ding ... c:\edk\edk2\Acme\Library\ABMemDumpLib\ABMemDumpLib.inf [X64]

Buil= ding ... c:\edk\edk2\Acme\Library\ABVSSupportLib\ABVSSupportLib.inf [X64]

&nbs= p;   "C:\Program Files (x86)\Microsoft Visual Studio 9.0\Vc\= bin\x86_amd64\cl.exe" /Foc:\edk\Build\Acme\RELEASE_VS2008x86\X64\Acme\= Library\ABLegacySpeakerLib\ABLegacySpeakerLib\OUTPUT\.\ /nologo /c /WX /GS- /X /W4 /Gs32768 /O1ib2s /GL- /Gy /FIAutoGen.h /EHs-c- /GR- /G= F /X /Zc:wchar_t- /D UEFI_C_SOURCE /D MDEPKG_NDEBUG /D NDEBUG /Ic:\edk\edk2= \Acme\Library\ABLegacySpeakerLib  /Ic:\edk\Build\Acme\RELEASE_VS2008x8= 6\X64\Acme\Library\ABLegacySpeakerLib\ABLegacySpeakerLib\DEBUG  /Ic:\edk\edk2\MdePkg  /Ic:\edk\edk2\MdePkg\Include  /Ic:\edk\ed= k2\MdePkg\Include\X64  /Ic:\edk\edk2\Acme  /Ic:\edk\edk2\Acme\Inc= lude  /Ic:\edk\edk2\Acme\Include\AB\UEFI  /Ic:\edk\edk2\Acme\Incl= ude\AB\fastgui  /Ic:\edk\edk2\Acme\Include\AB  /Ic:\edk\edk2\Acme= \Include\IPP c:\edk\edk2\Acme\Library\ABLegacySpeakerLib\ABLegacySpeakerLib.c

Buil= ding ... c:\edk\edk2\Acme\Library\ABMountedCPPEntryLib\ABMountedCPPEntryLib= .inf [X64]

Buil= ding ... c:\edk\edk2\Acme\Library\ABSafeOpenProtocolLib\ABSafeOpenProtocolL= ib.inf [X64]

&nbs= p;   "C:\Program Files (x86)\Microsoft Visual Studio 9.0\Vc\= bin\x86_amd64\cl.exe" /Foc:\edk\Build\Acme\RELEASE_VS2008x86\X64\Acme\= Library\ABMemDumpLib\ABMemDumpLib\OUTPUT\.\ /nologo /c /WX /GS- /X /W4 /Gs32768 /O1ib2s /GL- /Gy /FIAutoGen.h /EHs-c- /GR- /GF /X /Zc:wch= ar_t- /D UEFI_C_SOURCE /D MDEPKG_NDEBUG /D NDEBUG /Ic:\edk\edk2\Acme\Librar= y\ABMemDumpLib  /Ic:\edk\Build\Acme\RELEASE_VS2008x86\X64\Acme\Library= \ABMemDumpLib\ABMemDumpLib\DEBUG  /Ic:\edk\edk2\MdePkg  /Ic:\edk\edk2\MdePkg\Include  /Ic:\edk\edk2\MdePkg\Include\X64 = /Ic:\edk\edk2\Acme  /Ic:\edk\edk2\Acme\Include  /Ic:\edk\edk2\Ac= me\Include\AB\UEFI  /Ic:\edk\edk2\Acme\Include\AB\fastgui  /Ic:\e= dk\edk2\Acme\Include\AB  /Ic:\edk\edk2\Acme\Include\IPP c:\edk\edk2\Ac= me\Library\ABMemDumpLib\ABMemDumpLib.c

Buil= ding ... c:\edk\edk2\MdePkg\Library\UefiApplicationEntryPoint\UefiApplicati= onEntryPoint.inf [X64]

ABLe= gacySpeakerLib.c

Buil= ding ... c:\edk\edk2\MdePkg\Library\BaseIoLibIntrinsic\BaseIoLibIntrinsic.i= nf [X64]

&nbs= p;   "C:\Program Files (x86)\Microsoft Visual Studio 9.0\Vc\= bin\x86_amd64\cl.exe" /Foc:\edk\Build\Acme\RELEASE_VS2008x86\X64\Acme\= Library\ABVSSupportLib\ABVSSupportLib\OUTPUT\.\ /nologo /c /WX /GS- /X /W4 /Gs32768 /O1ib2s /GL- /Gy /FIAutoGen.h /EHs-c- /GR- /GF /X /Z= c:wchar_t- /D UEFI_C_SOURCE /D MDEPKG_NDEBUG /D NDEBUG /Ic:\edk\edk2\Acme\L= ibrary\ABVSSupportLib  /Ic:\edk\Build\Acme\RELEASE_VS2008x86\X64\Acme\= Library\ABVSSupportLib\ABVSSupportLib\DEBUG  /Ic:\edk\edk2\MdePkg  /Ic:\edk\edk2\MdePkg\Include  /Ic:\edk\ed= k2\MdePkg\Include\X64  /Ic:\edk\edk2\Acme  /Ic:\edk\edk2\Acme\Inc= lude  /Ic:\edk\edk2\Acme\Include\AB\UEFI  /Ic:\edk\edk2\Acme\Incl= ude\AB\fastgui  /Ic:\edk\edk2\Acme\Include\AB  /Ic:\edk\edk2\Acme= \Include\IPP c:\edk\edk2\Acme\Library\ABVSSupportLib\ABVSSupportLib.c

Buil= ding ... c:\edk\edk2\Acme\Library\ABCPPSupportLib\ABCPPSupportLib.inf [X64]=

ABMe= mDumpLib.c

&nbs= p;   "C:\Program Files (x86)\Microsoft Visual Studio 9.0\Vc\= bin\x86_amd64\lib.exe" /NOLOGO /LTCG /OUT:c:\edk\Build\Acme\RELEASE_VS= 2008x86\X64\Acme\Library\ABLegacySpeakerLib\ABLegacySpeakerLib\OUTPUT\ABLeg= acySpeakerLib.lib @c:\edk\Build\Acme\RELEASE_VS2008x86\X64\Acme\Library\ABLegacySpeakerLib\= ABLegacySpeakerLib\OUTPUT\object_files.lst

NMAK= E : fatal error U1073: don't know how to make 'c:\edk\Build\Acme\RELEASE_VS= 2008x86\X64\Acme\Library\ABMountedCPPEntryLib\ABMountedCPPEntryLib\OUTPUT\A= BMountedCPPEntryLib.obj'

Stop= .

ABVS= SupportLib.c

&nbs= p;   "C:\Program Files (x86)\Microsoft Visual Studio 9.0\Vc\= bin\x86_amd64\cl.exe" /Foc:\edk\Build\Acme\RELEASE_VS2008x86\X64\Acme\= Library\ABSafeOpenProtocolLib\ABSafeOpenProtocolLib\OUTPUT\.\ /nologo /c /WX /GS- /X /W4 /Gs32768 /O1ib2s /GL- /Gy /FIAutoGen.h /EHs-c-= /GR- /GF /X /Zc:wchar_t- /D UEFI_C_SOURCE /D MDEPKG_NDEBUG /D NDEBUG /Ic:\= edk\edk2\Acme\Library\ABSafeOpenProtocolLib  /Ic:\edk\Build\Acme\RELEA= SE_VS2008x86\X64\Acme\Library\ABSafeOpenProtocolLib\ABSafeOpenProtocolLib\D= EBUG  /Ic:\edk\edk2\MdePkg  /Ic:\edk\edk2\MdePkg\Include  /Ic:\edk\ed= k2\MdePkg\Include\X64  /Ic:\edk\edk2\Acme  /Ic:\edk\edk2\Acme\Inc= lude  /Ic:\edk\edk2\Acme\Include\AB\UEFI  /Ic:\edk\edk2\Acme\Incl= ude\AB\fastgui  /Ic:\edk\edk2\Acme\Include\AB  /Ic:\edk\edk2\Acme= \Include\IPP c:\edk\edk2\Acme\Library\ABSafeOpenProtocolLib\ABSafeOpenProtocolLib.c

&nbs= p;   "C:\Program Files (x86)\Microsoft Visual Studio 9.0\Vc\= bin\x86_amd64\lib.exe" /NOLOGO /LTCG /OUT:c:\edk\Build\Acme\RELEASE_VS= 2008x86\X64\Acme\Library\ABMemDumpLib\ABMemDumpLib\OUTPUT\ABMemDumpLib.lib @c:\edk\Build\Acme\RELEASE_VS2008x86\X64\Acme\Library\ABMemDumpLib\ABMemD= umpLib\OUTPUT\object_files.lst

&nbs= p;   "C:\Program Files (x86)\Microsoft Visual Studio 9.0\Vc\= bin\x86_amd64\cl.exe" /Foc:\edk\Build\Acme\RELEASE_VS2008x86\X64\MdePk= g\Library\UefiApplicationEntryPoint\UefiApplicationEntryPoint\OUTPUT\.\ /nologo /c /WX /GS- /X /W4 /Gs32768 /O1ib2s /GL- /Gy /FIAutoGen.h /EHs-c-= /GR- /GF /X /Zc:wchar_t- /D UEFI_C_SOURCE /D MDEPKG_NDEBUG /D NDEBUG /Ic:\= edk\edk2\MdePkg\Library\UefiApplicationEntryPoint  /Ic:\edk\Build\Acme= \RELEASE_VS2008x86\X64\MdePkg\Library\UefiApplicationEntryPoint\UefiApplica= tionEntryPoint\DEBUG  /Ic:\edk\edk2\MdePkg  /Ic:\edk\edk2\MdePkg\Include  /Ic:\edk\ed= k2\MdePkg\Include\X64 c:\edk\edk2\MdePkg\Library\UefiApplicationEntryPoint\= ApplicationEntryPoint.c

NMAK= E : fatal error U1073: don't know how to make 'c:\edk\Build\Acme\RELEASE_VS= 2008x86\X64\Acme\Library\ABCPPSupportLib\ABCPPSupportLib\OUTPUT\ABCPPSuppor= tLib.obj'

Stop= .

&nbs= p;   "C:\Program Files (x86)\Microsoft Visual Studio 9.0\Vc\= bin\x86_amd64\cl.exe" /Foc:\edk\Build\Acme\RELEASE_VS2008x86\X64\MdePk= g\Library\BaseIoLibIntrinsic\BaseIoLibIntrinsic\OUTPUT\.\ /nologo /c /WX /GS- /X /W4 /Gs32768 /O1ib2s /GL- /Gy /FIAutoGen.h /EHs-c- /GR- /G= F /X /Zc:wchar_t- /D UEFI_C_SOURCE /D MDEPKG_NDEBUG /D NDEBUG /Ic:\edk\edk2= \MdePkg\Library\BaseIoLibIntrinsic\X64  /Ic:\edk\edk2\MdePkg\Library\B= aseIoLibIntrinsic  /Ic:\edk\Build\Acme\RELEASE_VS2008x86\X64\MdePkg\Li= brary\BaseIoLibIntrinsic\BaseIoLibIntrinsic\DEBUG  /Ic:\edk\edk2\MdePkg  /Ic:\edk\edk2\MdePkg\Include  /Ic:\edk\ed= k2\MdePkg\Include\X64 c:\edk\edk2\MdePkg\Library\BaseIoLibIntrinsic\IoLibMm= ioBuffer.c c:\edk\edk2\MdePkg\Library\BaseIoLibIntrinsic\IoHighLevel.c c:\e= dk\edk2\MdePkg\Library\BaseIoLibIntrinsic\IoLibMsc.c c:\edk\edk2\MdePkg\Library\BaseIoLibIntrinsic\IoLib.c

ABSa= feOpenProtocolLib.c

buil= d.py...

&nbs= p;: error 7000: Failed to execute command

&nbs= p;   C:\Program Files (x86)\Microsoft Visual Studio 9.0\Vc\bin\nm= ake.exe /nologo tbuild [c:\edk\Build\Acme\RELEASE_VS2008x86\X64\Acme\Librar= y\ABCPPSupportLib\ABCPPSupportLib]

buil= d.py...

&nbs= p;: error 7000: Failed to execute command

&nbs= p;   C:\Program Files (x86)\Microsoft Visual Studio 9.0\Vc\bin\nm= ake.exe /nologo tbuild [c:\edk\Build\Acme\RELEASE_VS2008x86\X64\Acme\Librar= y\ABMountedCPPEntryLib\ABMountedCPPEntryLib]

buil= d.py...

&nbs= p;: error F002: Failed to build module

&nbs= p;   c:\edk\edk2\Acme\Library\ABCPPSupportLib\ABCPPSupportLib.inf= [X64, VS2008x86, RELEASE]

- Fa= iled -

Buil= d end time: 00:33:41, May.25 2020

Buil= d total time: 00:00:04


Both of those that failed have:

[Pac= kages]

 StdLib/StdLib.dec.

I'm not sure if that has something to do with it bu= t the others built fine.   I looked for any differences in the .i= nf or .dec and .dsc but all looks fine.

There used to be a build-tools mailing list but it doesn't exist and could= only find these new group/mailing lists.  Can someone help? &nbs= p; Is there a way to get more details on what it doesn't like?  Do I h= ave to do something different now that the LIBC stuff is split up to their own folder?

TIA!!

 

--_000_DM6PR11MB2955F1D7B497ABB5B96664BB9DB00DM6PR11MB2955namp_--