2013-11-28, 23:29
Hi,
I want to build iPXE from source because I want to then embed a script. But building fails...
[undefined=undefined]...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[/undefined]
[undefined=undefined]$ gmake -v
GNU Make 3.82
Built for x86_64-unknown-openbsd5.4
Copyright © 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
$ 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[/undefined]
jirib
I want to build iPXE from source because I want to then embed a script. But building fails...
[undefined=undefined]...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[/undefined]
[undefined=undefined]$ gmake -v
GNU Make 3.82
Built for x86_64-unknown-openbsd5.4
Copyright © 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
$ 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[/undefined]
jirib