HOSTCC tools/mkeficapsule tools/mkeficapsule.c:18:10: fatal error: uuid/uuid.h: No such file or directory 18 | #includeRunning "locate" on my fedora system shows a file by this name in:
/usr/include/linux/uuid.hI edit tools/mkeficapsule.c to fix this path and then get:
tools/mkeficapsule.c:22:10: fatal error: gnutls/gnutls.h: No such file or directory 22 | #includeThe answer to this is:
su dnf install gnutls-develAnd then we get:
tools/mkeficapsule.c: In function ‘main’: tools/mkeficapsule.c:908:29: error: implicit declaration of function ‘uuid_parse’ [-Wimplicit-function-declaration] 908 | if (uuid_parse(optarg, uuid_buf)) {This "mkeficapsule" program is a real turd. I wonder if I even need it? A bit of searching reveals: "mkeficapsule is a tool provided by U-Boot (as part of the tools-only targets) for generating UEFI capsule update archives."
It certainly doesn't sound like anything I need. I learn that there is also this package I should install:
su dnf install uuid-develThis gives us "/usr/include/uuid.h" -- but I don't see uuid_parse() declared. I add a stub routine for uuid_parse and then I get:
/usr/bin/ld: cannot find -luuid: No such file or directoryThis is getting almost comical. I wish I knew how to just tell the U-boot build system to skip building this altogether. I see this on my system:
/usr/lib64/libuuid.so.1There it is, as big as day. So, what the heck is the problem?
I edit tools/Makefile and comment out this line:
# hostprogs-$(CONFIG_TOOLS_MKEFICAPSULE) += mkeficapsuleThis does the trick!!
Tom's Computer Info / [email protected]