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

Jiri B jirib at devio.us
Mon Dec 2 14:59:19 UTC 2013


On Sun, Dec 01, 2013 at 06:35:24AM -0500, Jiri B wrote:
> [...complains about 3 yrs old source...]

I was using old source (v1.0.0). With todays git version it fails here:

-%-
# gmake bin/undionly.kpxe               
  [BIN] bin/undionly.kpxe.bin
  [ZINFO] bin/undionly.kpxe.zinfo
  [ZBIN] bin/undionly.kpxe.zbin
Add at 0x787 outside output buffer
Makefile.housekeeping:1052: recipe for target 'bin/undionly.kpxe.zbin' failed
gmake: *** [bin/undionly.kpxe.zbin] Error 1
gmake: *** Deleting file 'bin/undionly.kpxe.zbin'
rm bin/undionly.kpxe.zinfo bin/undionly.kpxe.bin

# cat -n Makefile.housekeeping | sed -n '1049,1054p'
  1049  # Compress raw binary file
  1050  #
  1051  $(BIN)/%.zbin : $(BIN)/%.bin $(BIN)/%.zinfo $(ZBIN)
  1052          $(QM)$(ECHO) "  [ZBIN] $@"
  1053          $(Q)$(ZBIN) $(BIN)/$*.bin $(BIN)/$*.zinfo > $@
  1054  
-%-

Any idea? Old GNU ld on OpenBSD, any workaround?

jirib



More information about the ipxe-devel mailing list