Error when include -lgnu-efi library?
To do any EFI compilation, you'll need the gnu-efi library installed.
1. git clone https://github.com/vathpela/gnu-efi
2. cd into the directory
3. make
4. sudo make install
or better if you using Fedora
1. sudo yum install gnu-efi
After all that, check in the directory /usr/local/lib, ensure the libefi.a and libgnuefi.a is there.
If not, when you compile using the string -lgnu-efi and -lefi, it'll complain library not found.
No comments:
Post a Comment