[ipxe-devel] [OpenBSD] compilation error: net/80211/wpa.c:424: warning: format '%d' expects type '

Jiri B jirib at devio.us
Sun Dec 1 11:35:24 UTC 2013


Hi,

I want to build iPXE from source because I want to then embed a script. But building fails...

-%-
...snip...
[BUILD] bin/wpa.o
cc1: warnings being treated as errors
net/80211/wpa.c: In function 'wpa_maybe_install_gtk':
net/80211/wpa.c:424: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int'
net/80211/wpa.c: In function 'wpa_handle_1_of_2':
net/80211/wpa.c:804: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int'
net/80211/wpa.c: In function 'eapol_key_rx':
net/80211/wpa.c:880: warning: format '%d' expects type 'int', but argument 3 has type 'long int'
gmake: *** [bin/wpa.o] Error 1
-%-

-%-
$ gmake -v
GNU Make 3.82
Built for x86_64-unknown-openbsd5.4
 gcc -v
Reading specs from /usr/lib/gcc-lib/amd64-unknown-openbsd5.4/4.2.1/specs
Target: amd64-unknown-openbsd5.4
Configured with: OpenBSD/amd64 system compiler
Thread model: posix
gcc version 4.2.1 20070719

$ ld -V
GNU ld version 2.15
Supported emulations:
elf_x86_64_obsd
elf_i386_obsd
elf_i386
-%-

jirib



More information about the ipxe-devel mailing list