Hi,

When I build ovmf with commit: 76c6f69ccadc7835c9616b077d9ff1b8e46fe49e, the 
following error occurred:

git clone https://github.com/tianocore/edk2.git
cd edk2
OvmfPkg/build.sh -a X64
........................................
/home/fan/edk2/ShellPkg/Library/UefiShellDriver1CommandsLib/Drivers.c: In 
function 'GetImageNameFromHandle':
/home/fan/edk2/ShellPkg/Library/UefiShellDriver1CommandsLib/Drivers.c:220:25: 
error: passing argument 3 of 'gBS->HandleProtocol' from incompatible pointer 
type [-Werror]
                         );
                         ^
/home/fan/edk2/ShellPkg/Library/UefiShellDriver1CommandsLib/Drivers.c:220:25: 
note: expected 'void **' but argument is of type 'struct 
EFI_FIRMWARE_VOLUME2_PROTOCOL **'
cc1: all warnings being treated as errors
make: *** 
[/home/fan/edk2/Build/OvmfX64/DEBUG_GCC48/X64/ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib/OUTPUT/Drivers.obj]
 Error 1


build.py...
: error 7000: Failed to execute command
        make tbuild 
[/home/fan/edk2/Build/OvmfX64/DEBUG_GCC48/X64/ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib]


build.py...
: error F002: Failed to build module
        
/home/fan/edk2/ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
 [X64, GCC48, DEBUG]

- Failed -
Build end time: 10:45:31, Aug.11 2017
Build total time: 00:01:00


Best Regards,
Fan Chen

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to