iPXE discussion forum

Full Version: efi build errro
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi when I attempt to build an EFIROM form my Relatek r8168 based network card I get the error shown below. Any ideas what is causing the build issues?

make bin-x86_64-efi/10ec8168.efirom

[HOSTCC] util/elf2efi64
util/elf2efi.c: In function ‘elf2pe’:
util/elf2efi.c:425:7: error: ‘applicable_end’ may be used uninitialized in this function [-Werror=uninitialized]
util/elf2efi.c:343:17: note: ‘applicable_end’ was declared here
util/elf2efi.c:423:11: error: ‘applicable_start’ may be used uninitialized in this function [-Werror=uninitialized]
util/elf2efi.c:342:17: note: ‘applicable_start’ was declared here
cc1: all warnings being treated as errors

make: *** [util/elf2efi64] Error 1
(2012-04-19 21:09)dizUK Wrote: [ -> ][HOSTCC] util/elf2efi64
util/elf2efi.c: In function ‘elf2pe’:
util/elf2efi.c:425:7: error: ‘applicable_end’ may be used uninitialized in this function [-Werror=uninitialized]
util/elf2efi.c:343:17: note: ‘applicable_end’ was declared here
util/elf2efi.c:423:11: error: ‘applicable_start’ may be used uninitialized in this function [-Werror=uninitialized]
util/elf2efi.c:342:17: note: ‘applicable_start’ was declared here
cc1: all warnings being treated as errors

Should now be fixed: http://git.ipxe.org/ipxe.git/commitdiff/8b0305e
Thanks Big Grin
Reference URL's