Adam Baxter
2013-Apr-07 12:46 UTC
[syslinux] EFI64 failing to build - firmware branch HEAD
Hi, The latest from the firmware branch is failing to build EFI64 as of the time of this message make[3]: Entering directory `/home/voltagex/src/syslinux/efi64/efi' gcc -I/usr/include/efi -I/usr/include/efi/x86_64 -DEFI_FUNCTION_WRAPPER -fPIC -fshort-wchar -ffreestanding -Wall -I/home/voltagex/src/syslinux/com32/include -I/home/voltagex/src/syslinux/com32/include/sys -I/home/voltagex/src/syslinux/core/include -I/home/voltagex/src/syslinux/core/ -m64 -march=x86-64 -I/home/voltagex/src/syslinux/com32/lib/ -I/home/voltagex/src/syslinux/com32/libutil/include -std=gnu99 -DELF_DEBUG -DSYSLINUX_EFI -W -Wall -Wstrict-prototypes -Wno-clobbered -D__COM32__ -mno-red-zone -c -o console.o /home/voltagex/src/syslinux/efi/console.c In file included from /usr/include/efi/efi.h:44:0, from /home/voltagex/src/syslinux/efi/efi.h:7, from /home/voltagex/src/syslinux/efi/console.c:2: /usr/include/efi/efiapi.h:528:5: warning: function declaration isn?t a prototype [-Wstrict-prototypes] /home/voltagex/src/syslinux/efi/console.c: In function ?open_protocol?: /home/voltagex/src/syslinux/efi/console.c:15:29: error: ?EFI_BOOT_SERVICES? has no member named ?OpenProtocol? /home/voltagex/src/syslinux/efi/console.c: In function ?setup_gop?: /home/voltagex/src/syslinux/efi/console.c:81:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] /home/voltagex/src/syslinux/efi/console.c:83:3: error: unknown type name ?EFI_PCI_IO? /home/voltagex/src/syslinux/efi/console.c:89:48: error: ?PciIoProtocol? undeclared (first use in this function) /home/voltagex/src/syslinux/efi/console.c:89:48: note: each undeclared identifier is reported only once for each function it appears in /home/voltagex/src/syslinux/efi/console.c: In function ?setup_uga?: /home/voltagex/src/syslinux/efi/console.c:224:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] /home/voltagex/src/syslinux/efi/console.c:225:3: error: unknown type name ?EFI_PCI_IO? /home/voltagex/src/syslinux/efi/console.c:235:8: error: ?PciIoProtocol? undeclared (first use in this function) make[3]: *** [console.o] Error 1 make[3]: Leaving directory `/home/voltagex/src/syslinux/efi64/efi' make[2]: *** [efi] Error 2 make[2]: Leaving directory `/home/voltagex/src/syslinux/efi64' make[1]: *** [efi64] Error 2 make[1]: Leaving directory `/home/voltagex/src/syslinux' make: *** [efi64] Error 2
Matt Fleming
2013-Apr-08 07:52 UTC
[syslinux] EFI64 failing to build - firmware branch HEAD
On 07/04/13 13:46, Adam Baxter wrote:> Hi, > The latest from the firmware branch is failing to build EFI64 as of > the time of this message > > make[3]: Entering directory `/home/voltagex/src/syslinux/efi64/efi' > gcc -I/usr/include/efi -I/usr/include/efi/x86_64 > -DEFI_FUNCTION_WRAPPER -fPIC -fshort-wchar -ffreestanding -Wall > -I/home/voltagex/src/syslinux/com32/include > -I/home/voltagex/src/syslinux/com32/include/sys > -I/home/voltagex/src/syslinux/core/include > -I/home/voltagex/src/syslinux/core/ -m64 -march=x86-64 > -I/home/voltagex/src/syslinux/com32/lib/ > -I/home/voltagex/src/syslinux/com32/libutil/include -std=gnu99 > -DELF_DEBUG -DSYSLINUX_EFI -W -Wall -Wstrict-prototypes -Wno-clobbered > -D__COM32__ -mno-red-zone -c -o console.o > /home/voltagex/src/syslinux/efi/console.c > In file included from /usr/include/efi/efi.h:44:0, > from /home/voltagex/src/syslinux/efi/efi.h:7, > from /home/voltagex/src/syslinux/efi/console.c:2: > /usr/include/efi/efiapi.h:528:5: warning: function declaration isn?t a > prototype [-Wstrict-prototypes] > /home/voltagex/src/syslinux/efi/console.c: In function ?open_protocol?: > /home/voltagex/src/syslinux/efi/console.c:15:29: error: > ?EFI_BOOT_SERVICES? has no member named ?OpenProtocol?Looks like you need to update your version of gnu-efi. Which version are you using? A version >= 3.0q should be fine. -- Matt Fleming, Intel Open Source Technology Center