Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

EFI Shell compile failed: no LoadFile2.h

Help
Anonymous
2010-05-24
2013-05-28

  • Anonymous
    2010-05-24

    Hello any EFI Shell people out there. I'm trying to compile the EFI Shell (so that I can get the EFIShellLib.h file as per my current understanding) but one file appears to be missing:

            nmake -nologo -f G:\uefi\edk-1.05\Sample\Platform\Nt32\Build\IA32\Other\Maintained\Application\Shell\makefile all
            cl /nologo /W4 /WX /GX- /GR- /Gy /c /FoG:\uefi\edk-1.05\Sample\Platform\Nt32\Build\IA32\Other\Maintained\Application\Shell\Library\S
    hellDebug.obj  -I g:\uefi\edk-1.05\Other\Maintained\Application\Shell -I g:\uefi\edk-1.05\Other\Maintained\Application\Shell\.\Inc -I g:\uef
    i\edk-1.05\Other\Maintained\Application\Shell\.\ver -I g:\uefi\edk-1.05\Other\Maintained\Application\Shell\.\ver\IA32 -I g:\uefi\edk-1.05\Ot
    her\Maintained\Application\Shell\.\Library -I g:\uefi\edk-1.05\Other\Maintained\Application\Shell\.\Library\IA32 -I g:\uefi\edk-1.05\Foundat
    ion -I g:\uefi\edk-1.05\Foundation\Include -I g:\uefi\edk-1.05\Foundation\Include\IA32 -I g:\uefi\edk-1.05\Foundation\Include\IndustryStanda
    rd -I g:\uefi\edk-1.05\Foundation\Efi -I g:\uefi\edk-1.05\Foundation\Efi\Include -I g:\uefi\edk-1.05\Foundation\FrameWork -I g:\uefi\edk-1.0
    5\Foundation\FrameWork\Include -I g:\uefi\edk-1.05\Foundation\Core\Dxe -I g:\uefi\edk-1.05\Foundation\Core\Dxe\IA32 -I G:\uefi\edk-1.05\Samp
    le\Platform\Nt32\Build\IA32\Other\Maintained\Application\Shell /Zi /Gm /FdG:\uefi\edk-1.05\Sample\Platform\Nt32\Build\IA32\Other\Maintained\
    Application\Shell\ShellObj /D EFI_SPECIFICATION_VERSION=0x0002000A  /D PI_SPECIFICATION_VERSION=0x00010000  /D TIANO_RELEASE_VERSION=0x00080
    006  /D EFI_DEBUG /D EFI_DEBUG_CLEAR_MEMORY /D EFI_PEI_PERFORMANCE /D EFI_DXE_PERFORMANCE /D EFI_DXE_PERFORMANCE /D EFI_PEI_REPORT_STATUS_CO
    DE_ON /DEFI_MONOSHELL /DSTRING_ARRAY_NAME=ShellStrings /DSTRING_DEFINES_FILE=\"ShellStrDefs.h\" /D EFI32 /D UNICODE /D EFI_NT_EMULATOR /Zm50
    0 /X g:\uefi\edk-1.05\Other\Maintained\Application\Shell\Library\ShellDebug.c
    ShellDebug.c
    g:\uefi\edk-1.05\Other\Maintained\Application\Shell\Library\EfiShellLib.h(108) : fatal error C1083: Cannot open include file: 'Protocol/Load
    File2/LoadFile2.h': No such file or directory
    NMAKE : fatal error U1077: 'cl' : return code '0x2'
    Stop.
    ProcessDsc : error E0000: Multi-thread build components 0 failure
    NMAKE : fatal error U1077: 'g:\uefi\edk-1.05\Sample\Platform\Nt32\Build\Tools\ProcessDsc' : return code '0x2'
    Stop.
    

    Any ideas?

    I'm on 32bit Vista with EDK 1.05, DDK 3790-1830, VS 2003. The Nt32, X64 EDKs with binary Shell compiled just fine.

    Thanks in advance,

    Sebastien

     

  • Anonymous
    2010-05-24

    I was able to build the Shell using the EDK from the svn trunk instead of the 1.05 zip file.

    S.