cc -ggdb -O0 -fno-stack-protector -fno-strict-aliasing -fpic -fshort-wchar -Wall -Werror -mno-red-zone -maccumulate-outgoing-args -mno-mmx -mno-sse -fno-builtin "-DDEFAULT_LOADER=L\"\\\\grubx64.efi\"" "-DDEFAULT_LOADER_CHAR=\"\\\\grubx64.efi\"" -nostdinc -ICryptlib -ICryptlib/Include -I/usr/include/efi -I/usr/include/efi/x86_64 -I/usr/include/efi/protocol -Iinclude -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI -DVENDOR_CERT_FILE=\"debian/canonical-uefi-ca.der\" -D_FORTIFY_SOURCE=2 -c -o shim.o shim.c In file included from /usr/include/efi/efi.h:35:0, from shim.c:36: /usr/include/efi/x86_64/efibind.h:86:24: fatal error: stdint.h: No such file or directory compilation terminated. <builtin>: recipe for target 'shim.o' failed make[2]: *** [shim.o] Error 1
the efibind.h header tries to include stdint.h for c99 or c11, and fails with -nostdinc.
cc -ggdb -O0 -fno-stack- protector -fno-strict- aliasing -fpic -fshort-wchar -Wall -Werror -mno-red-zone -maccumulate- outgoing- args -mno-mmx -mno-sse -fno-builtin "-DDEFAULT_ LOADER= L\"\\\\ grubx64. efi\"" "-DDEFAULT_ LOADER_ CHAR=\" \\\\grubx64. efi\"" -nostdinc -ICryptlib -ICryptlib/Include -I/usr/include/efi -I/usr/ include/ efi/x86_ 64 -I/usr/ include/ efi/protocol -Iinclude -DEFI_FUNCTION_ WRAPPER -DGNU_EFI_ USE_MS_ ABI -DVENDOR_ CERT_FILE= \"debian/ canonical- uefi-ca. der\" -D_FORTIFY_SOURCE=2 -c -o shim.o shim.c efi/efi. h:35:0,
from shim.c:36: efi/x86_ 64/efibind. h:86:24: fatal error: stdint.h: No such file or directory
In file included from /usr/include/
/usr/include/
compilation terminated.
<builtin>: recipe for target 'shim.o' failed
make[2]: *** [shim.o] Error 1
the efibind.h header tries to include stdint.h for c99 or c11, and fails with -nostdinc.