[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

fwupdate not building; efibootmgr 0.11.0 crashes with efivar 0.18



Hi Peter,

I'm trying to build fwupdate. I know it's early, but I'd like to make it testable on Debian. It's not buildable for me because it barfs on this:
make[3]: Entering directory '/«BUILDDIR»/fwupdate-0.2+git20150520/efi'
gcc -O0 -g3 -fpic -Wall -fshort-wchar -fno-strict-aliasing -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check --std=c11 -DCONFIG_x86_64 -D__KERNEL__ -I/usr/include/efi/ -I/usr/include/efi/x86_64/ -iquote/«BUILDDIR»/fwupdate-0.2+git20150520/include -mno-mmx -mno-sse -mno-red-zone -nostdinc -maccumulate-outgoing-args -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI -I/usr/lib/gcc/x86_64-linux-gnu/4.9/include -c -o fakeesrt2.o fakeesrt2.c
fakeesrt2.c:1:17: fatal error: efi.h: No such file or directory
  #include <efi.h>
                  ^
compilation terminated.
make[3]: *** [fakeesrt2.o] Error 1
Makefile:53: recipe for target 'fakeesrt2.o' failed
make[3]: Leaving directory '/«BUILDDIR»/fwupdate-0.2+git20150520/efi'

I'm actually not sure where efi.h is supposed to come from. I see a fwup-efi.h in fwupdate's source and no efi.h in efivar's source. Am I missing something?


Also, what's the status of your dp branches for efibootmgr and efivar? I notice that efibootmgr 0.11.0 doesn't build with efivar 0.18. A Debian user has also reported that efibootmgr crashes on him when using libefivar0 0.18: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=785786

--Jared


--
Jared Domínguez
Infrastructure Software Engineering
Dell | Enterprise Solutions Group


Reply to: