iPXE discussion forum
efi build errro - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: efi build errro (/showthread.php?tid=3138)



efi build errro - dizUK - 2012-04-19 21:09

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


RE: efi build errro - mcb30 - 2012-04-21 08:10

(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


RE: efi build errro - dizUK - 2012-04-22 12:05

Thanks Big Grin