From mboxrd@z Thu Jan 1 00:00:00 1970
Subject: Updating to latest EDK2 and now get NMAKE: fatal error U1073: Don't know how to make.. on some items?
To: devel@edk2.groups.io
From: df7729@gmail.com
X-Originating-Location: Las Vegas, Nevada, US (72.203.45.155)
X-Originating-Platform: Windows Firefox 76
User-Agent: GROUPS.IO Web Poster
MIME-Version: 1.0
Date: Mon, 25 May 2020 00:55:58 -0700
Message-ID: <7AV9.1590393358635470204.j9Pi@groups.io>
Content-Type: multipart/alternative; boundary="94N6Rl4qDefq14idhbwx"
--94N6Rl4qDefq14idhbwx
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
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.=C2=A0 Where I used to=
have C:\EDK2, I now have C:\EDK\EDK2 and C:\EDK\EDK2-CLIB.=C2=A0=C2=A0 My =
private directory is still under C:\EDK\EDK2\Acme.=C2=A0=C2=A0 After figuri=
ng out how to get stdlib on its own repository by using the new directory, =
I then had to setup a batch file to do my edksetup in a different way.=C2=
=A0 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.=C2=A0 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).=C2=A0=C2=
=
=A0 So I run my build switch to build my UEFI application and it starts an=
d builds some items, but then dies with the NMAKE failure and I have no clu=
e why.=C2=A0=C2=A0 Here are some of the details after deleting c:\edk\build=
which is where it wants to go.
Build environment: Windows-10-10.0.18362
Build start time: 00:33:37, May.25 2020
WORKSPACE=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D c:\edk
PACKAGES_PATH=C2=A0=C2=A0=C2=A0 =3D c:\edk\edk2-libc;c:\edk\edk2
EDK_TOOLS_PATH=C2=A0=C2=A0 =3D c:\edk\edk2\basetools
EDK_TOOLS_BIN=C2=A0=C2=A0=C2=A0 =3D c:\edk\edk2\basetools\bin\win32
CONF_PATH=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D c:\edk\edk2\conf
PYTHON_COMMAND=C2=A0=C2=A0 =3D C:\python27-x64\python.exe
Architecture(s)=C2=A0 =3D X64
Build target=C2=A0=C2=A0=C2=A0=C2=A0 =3D RELEASE
Toolchain=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D VS2008x86
Active Platform=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =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:\e=
dk\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:\e=
dk\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\cl.ex=
e" /Foc:\edk\Build\Acme\RELEASE_VS2008x86\X64\Acme\Library\ABLegacySpeakerL=
ib\ABLegacySpeakerLib\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\ABLegacySpeakerLib=C2=
=A0 /Ic:\edk\Build\Acme\RELEASE_VS2008x86\X64\Acme\Library\ABLegacySpeaker=
Lib\ABLegacySpeakerLib\DEBUG=C2=A0 /Ic:\edk\edk2\MdePkg=C2=A0 /Ic:\edk\edk2=
\MdePkg\Include=C2=A0 /Ic:\edk\edk2\MdePkg\Include\X64=C2=A0 /Ic:\edk\edk2\=
Acme=C2=A0 /Ic:\edk\edk2\Acme\Include=C2=A0 /Ic:\edk\edk2\Acme\Include\AB\U=
EFI=C2=A0 /Ic:\edk\edk2\Acme\Include\AB\fastgui=C2=A0 /Ic:\edk\edk2\Acme\In=
clude\AB=C2=A0 /Ic:\edk\edk2\Acme\Include\IPP c:\edk\edk2\Acme\Library\ABLe=
gacySpeakerLib\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\cl.ex=
e" /Foc:\edk\Build\Acme\RELEASE_VS2008x86\X64\Acme\Library\ABMemDumpLib\ABM=
emDumpLib\OUTPUT\.\ /nologo /c /WX /GS- /X /W4 /Gs32768 /O1ib2s /GL- /Gy /F=
IAutoGen.h /EHs-c- /GR- /GF /X /Zc:wchar_t- /D UEFI_C_SOURCE /D MDEPKG_NDEB=
UG /D NDEBUG /Ic:\edk\edk2\Acme\Library\ABMemDumpLib=C2=A0 /Ic:\edk\Build\A=
cme\RELEASE_VS2008x86\X64\Acme\Library\ABMemDumpLib\ABMemDumpLib\DEBUG=C2=
=A0 /Ic:\edk\edk2\MdePkg=C2=A0 /Ic:\edk\edk2\MdePkg\Include=C2=A0 /Ic:\edk=
\edk2\MdePkg\Include\X64=C2=A0 /Ic:\edk\edk2\Acme=C2=A0 /Ic:\edk\edk2\Acme\=
Include=C2=A0 /Ic:\edk\edk2\Acme\Include\AB\UEFI=C2=A0 /Ic:\edk\edk2\Acme\I=
nclude\AB\fastgui=C2=A0 /Ic:\edk\edk2\Acme\Include\AB=C2=A0 /Ic:\edk\edk2\A=
cme\Include\IPP c:\edk\edk2\Acme\Library\ABMemDumpLib\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\cl.ex=
e" /Foc:\edk\Build\Acme\RELEASE_VS2008x86\X64\Acme\Library\ABVSSupportLib\A=
BVSSupportLib\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\ABVSSupportLib=C2=A0 /Ic:\edk\B=
uild\Acme\RELEASE_VS2008x86\X64\Acme\Library\ABVSSupportLib\ABVSSupportLib\=
DEBUG=C2=A0 /Ic:\edk\edk2\MdePkg=C2=A0 /Ic:\edk\edk2\MdePkg\Include=C2=A0 /=
Ic:\edk\edk2\MdePkg\Include\X64=C2=A0 /Ic:\edk\edk2\Acme=C2=A0 /Ic:\edk\edk=
2\Acme\Include=C2=A0 /Ic:\edk\edk2\Acme\Include\AB\UEFI=C2=A0 /Ic:\edk\edk2=
\Acme\Include\AB\fastgui=C2=A0 /Ic:\edk\edk2\Acme\Include\AB=C2=A0 /Ic:\edk=
\edk2\Acme\Include\IPP c:\edk\edk2\Acme\Library\ABVSSupportLib\ABVSSupportL=
ib.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\lib.e=
xe" /NOLOGO /LTCG /OUT:c:\edk\Build\Acme\RELEASE_VS2008x86\X64\Acme\Library=
\ABLegacySpeakerLib\ABLegacySpeakerLib\OUTPUT\ABLegacySpeakerLib.lib @c:\ed=
k\Build\Acme\RELEASE_VS2008x86\X64\Acme\Library\ABLegacySpeakerLib\ABLegacy=
SpeakerLib\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\cl.ex=
e" /Foc:\edk\Build\Acme\RELEASE_VS2008x86\X64\Acme\Library\ABSafeOpenProtoc=
olLib\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_SOU=
RCE /D MDEPKG_NDEBUG /D NDEBUG /Ic:\edk\edk2\Acme\Library\ABSafeOpenProtoco=
lLib=C2=A0 /Ic:\edk\Build\Acme\RELEASE_VS2008x86\X64\Acme\Library\ABSafeOpe=
nProtocolLib\ABSafeOpenProtocolLib\DEBUG=C2=A0 /Ic:\edk\edk2\MdePkg=C2=A0 /=
Ic:\edk\edk2\MdePkg\Include=C2=A0 /Ic:\edk\edk2\MdePkg\Include\X64=C2=A0 /I=
c:\edk\edk2\Acme=C2=A0 /Ic:\edk\edk2\Acme\Include=C2=A0 /Ic:\edk\edk2\Acme\=
Include\AB\UEFI=C2=A0 /Ic:\edk\edk2\Acme\Include\AB\fastgui=C2=A0 /Ic:\edk\=
edk2\Acme\Include\AB=C2=A0 /Ic:\edk\edk2\Acme\Include\IPP c:\edk\edk2\Acme\=
Library\ABSafeOpenProtocolLib\ABSafeOpenProtocolLib.c
"C:\Program Files (x86)\Microsoft Visual Studio 9.0\Vc\bin\x86_amd64\lib.e=
xe" /NOLOGO /LTCG /OUT:c:\edk\Build\Acme\RELEASE_VS2008x86\X64\Acme\Library=
\ABMemDumpLib\ABMemDumpLib\OUTPUT\ABMemDumpLib.lib @c:\edk\Build\Acme\RELEA=
SE_VS2008x86\X64\Acme\Library\ABMemDumpLib\ABMemDumpLib\OUTPUT\object_files=
.lst
"C:\Program Files (x86)\Microsoft Visual Studio 9.0\Vc\bin\x86_amd64\cl.ex=
e" /Foc:\edk\Build\Acme\RELEASE_VS2008x86\X64\MdePkg\Library\UefiApplicatio=
nEntryPoint\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\UefiA=
pplicationEntryPoint=C2=A0 /Ic:\edk\Build\Acme\RELEASE_VS2008x86\X64\MdePkg=
\Library\UefiApplicationEntryPoint\UefiApplicationEntryPoint\DEBUG=C2=A0 /I=
c:\edk\edk2\MdePkg=C2=A0 /Ic:\edk\edk2\MdePkg\Include=C2=A0 /Ic:\edk\edk2\M=
dePkg\Include\X64 c:\edk\edk2\MdePkg\Library\UefiApplicationEntryPoint\Appl=
icationEntryPoint.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\cl.ex=
e" /Foc:\edk\Build\Acme\RELEASE_VS2008x86\X64\MdePkg\Library\BaseIoLibIntri=
nsic\BaseIoLibIntrinsic\OUTPUT\.\ /nologo /c /WX /GS- /X /W4 /Gs32768 /O1ib=
2s /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\BaseIoLibIntrinsic\=
X64=C2=A0 /Ic:\edk\edk2\MdePkg\Library\BaseIoLibIntrinsic=C2=A0 /Ic:\edk\Bu=
ild\Acme\RELEASE_VS2008x86\X64\MdePkg\Library\BaseIoLibIntrinsic\BaseIoLibI=
ntrinsic\DEBUG=C2=A0 /Ic:\edk\edk2\MdePkg=C2=A0 /Ic:\edk\edk2\MdePkg\Includ=
e=C2=A0 /Ic:\edk\edk2\MdePkg\Include\X64 c:\edk\edk2\MdePkg\Library\BaseIoL=
ibIntrinsic\IoLibMmioBuffer.c c:\edk\edk2\MdePkg\Library\BaseIoLibIntrinsic=
\IoHighLevel.c c:\edk\edk2\MdePkg\Library\BaseIoLibIntrinsic\IoLibMsc.c c:\=
edk\edk2\MdePkg\Library\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 /nolog=
o tbuild [c:\edk\Build\Acme\RELEASE_VS2008x86\X64\Acme\Library\ABCPPSupport=
Lib\ABCPPSupportLib]
build.py...
: error 7000: Failed to execute command
C:\Program Files (x86)\Microsoft Visual Studio 9.0\Vc\bin\nmake.exe /nolog=
o tbuild [c:\edk\Build\Acme\RELEASE_VS2008x86\X64\Acme\Library\ABMountedCPP=
EntryLib\ABMountedCPPEntryLib]
build.py...
: error F002: Failed to build module
c:\edk\edk2\Acme\Library\ABCPPSupportLib\ABCPPSupportLib.inf [X64, VS2008x=
86, 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=
.=C2=A0=C2=A0 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.=C2=A0 Can someone help?=C2=A0=C2=
=A0 Is there a way to get more details on what it doesn't like?=C2=A0 Do I=
have to do something different now that the LIBC stuff is split up to thei=
r own folder?
TIA!!
--94N6Rl4qDefq14idhbwx
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Hi,
I haven't updated the edk2 in quite a while, I went ahead an=
d did it tonight, stdlib was removed so I had to move stuff around. W=
here I used to have C:\EDK2, I now have C:\EDK\EDK2 and C:\EDK\EDK2-CLIB.&n=
bsp; 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: