Comments (5)
Because shim project depends on gnu-efi projec, please use the following command to clone gnu-efi : git submodule update --init --recursive
from shim.
@Sporesirius How did you resolve this issue?
from shim.
I got the same issue, efi.h in /usr/include/efi/efi.h
:
[rongtao@68-VM-Alma9 shim]$ make EFIDIR=/usr/include/efi install
gcc -std=gnu11 -ggdb -ffreestanding -fmacro-prefix-map=/home/rongtao/Git/shim/= -fno-stack-protector -fno-strict-aliasing -fpic -fshort-wchar -Os -Wall -Wextra -Wno-missing-field-initializers -mno-mmx -mno-sse -mno-red-zone -nostdinc -maccumulate-outgoing-args -m64 -DMDE_CPU_X64 -DPAGE_SIZE=4096 -Werror -nostdinc -I/home/rongtao/Git/shim/Cryptlib -I/home/rongtao/Git/shim/Cryptlib/Include -I/home/rongtao/Git/shim/gnu-efi/inc -I/home/rongtao/Git/shim/gnu-efi/inc/x86_64 -I/home/rongtao/Git/shim/gnu-efi/inc/protocol -I/home/rongtao/Git/shim/include -iquote /home/rongtao/Git/shim -iquote /home/rongtao/Git/shim -isystem /home/rongtao/Git/shim/include/system -isystem /usr/lib/gcc/x86_64-redhat-linux/11/include -DDEFAULT_LOADER='L"\\\\grubx64.efi"' -DDEFAULT_LOADER_CHAR='"\\\\grubx64.efi"' -DEFI_ARCH='L"x64"' -DDEBUGDIR='L"/usr/lib/debug/usr/share/shim/x64-15.6/"' -c -o shim.o shim.c
In file included from shim.c:14:
shim.h:56:10: fatal error: efi.h: No such file or directory
56 | #include <efi.h>
| ^~~~~~~
compilation terminated.
make: *** [<builtin>: shim.o] Error 1
from shim.
This helpful #451
from shim.
Thank you for your reply, git submodule update --init --recursive
is very useful.
from shim.
Related Issues (20)
- "Press the Pause key now" message shown but could not pause
- Why kernel builds do not calculate CheckSum or should it be reset to zero? HOT 1
- Setting memory attributes in handle_image() does not comply with UEFI specification
- Is 15.8 being prepared? HOT 7
- Verification by vendor cert -- dead code? HOT 2
- Key was rejected by service 😭
- Shim always uses 512 byte block size to fetch grub EFI binary HOT 2
- Surface Book 2 hangs at vendor logo after firmware upgrade HOT 2
- add option to check if shim is in use - How to check if the system is using shim or not?
- Freshly compiled Shim-15.7 (x86_64) cannot load grubx64.efi HOT 11
- Third-party bootloader support HOT 1
- [Documentation] Usage examples + Screenshots? HOT 5
- 15.8 release tarball can not be verified HOT 7
- Cannot secure boot with new Certificate embedded, Verification failed (0x1A) Security Violation HOT 2
- What is the best way to test Shim with Vendor Certificate HOT 4
- SBAT.md recommends resetting vendor generation numbers after global generation number went up HOT 1
- A request for low-level developers HOT 2
- remove shim HTTP boot due to security issues HOT 10
- Testing shim-15.8, cannot start grub HOT 4
- No device_path information when extending PCR4 done by shim_verify HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shim.