iPXE discussion forum
issue building from rom-o-matic and source. - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: issue building from rom-o-matic and source. (/showthread.php?tid=11119)



issue building from rom-o-matic and source. - scorpion1976 - 2018-04-02 20:56

Here's the link through rom-o-matic which shows the build error...
i get the same error when building with source code as well.

https://rom-o-matic.eu/build.fcgi?BINARY=ipxe.efi&BINDIR=bin-x86_64-efi&REVISION=master&DEBUG=&EMBED.00script.ipxe=&general.h/PXE_STACK:=1&general.h/PXE_MENU:=1&general.h/CONSOLE_CMD:=1&


RE: issue building from rom-o-matic and source. - NiKiZe - 2018-04-03 17:08

Relevant build options:
Code:
BINARY = ipxe.efi
  BINDIR = bin-x86_64-efi
  DEBUG =
  EMBED.00script.ipxe =
  REVISION = master
  general.h/CONSOLE_CMD: = 1
  general.h/PXE_MENU: = 1
  general.h/PXE_STACK: = 1

The reason is the same as described in https://github.com/xbgmsharp/ipxe-buildweb/issues/45#issuecomment-287152307

You can not have PXE_STACK in a EFI build (not sure about PXE_MENU tho)
PXE_STACK is PCBIOS only tech, it does not make sense to try and enabled them for EFI builds.

What have lead you to try and enable PXE_STACK and PXE_MENU in the first place?


RE: issue building from rom-o-matic and source. - scorpion1976 - 2018-04-03 20:19

(2018-04-03 17:08)NiKiZe Wrote:  Relevant build options:
Code:
BINARY = ipxe.efi
  BINDIR = bin-x86_64-efi
  DEBUG =
  EMBED.00script.ipxe =
  REVISION = master
  general.h/CONSOLE_CMD: = 1
  general.h/PXE_MENU: = 1
  general.h/PXE_STACK: = 1

The reason is the same as described in https://github.com/xbgmsharp/ipxe-buildweb/issues/45#issuecomment-287152307

You can not have PXE_STACK in a EFI build (not sure about PXE_MENU tho)
PXE_STACK is PCBIOS only tech, it does not make sense to try and enabled them for EFI builds.

What have lead you to try and enable PXE_STACK and PXE_MENU in the first place?

Thanks. That was enough to resolve my issue. I think the comment threw my off..

//#undef PXE_STACK /* PXE stack in iPXE - you want this! */


RE: issue building from rom-o-matic and source. - NiKiZe - 2018-04-03 21:25

(2018-04-03 20:19)scorpion1976 Wrote:  Thanks. That was enough to resolve my issue. I think the comment threw my off..

//#undef PXE_STACK /* PXE stack in iPXE - you want this! */

Golden rule: don't change anything, unless you know you have to change it; meaning that only change it if you have already tried with the default and that failed.