[ipxe-devel] Trying to build a ROM With ROM-O-Matic

Christian Nilsson nikize at gmail.com
Thu Jul 26 07:10:10 BST 2018


Jeremy wrote:

>
>
> I need an x64 EFI Rom that includes TFTP, NFS and HTTP support.  When I
> attempt to build one using ROM-O-Matic it consistently errors out on me.
>
>
>
>
> Build failed:
>
>
>
> "make" unexpectedly returned exit value 2 at /var/www/ipxe-buildweb/build.fcgi
> line 630
>
>
>
>
>
> Build log:
>
> Path:
>
> Parameters:
>
>   BINARY = ipxe.efi
>
>   BINDIR = bin-x86_64-efi
>
>   DEBUG =
>
>   EMBED.00script.ipxe =
>
>   REVISION = master
>
>   general.h/DOWNLOAD_PROTO_NFS: = 1
>
>   serial.h/COMCONSOLE =
>
>   serial.h/COMDATA: = 0
>
>   serial.h/COMPARITY =
>
>   serial.h/COMSPEED =
>
>   serial.h/COMSTOP: = 0
>
> Binary: ipxe.efi
>
> Binary directory: bin-x86_64-efi
>
> Revision: master
>
> Canonicalising revision master...
>
> Canonical revision: d2063b7693e0e35db97b2264aa987eb6341ae779
>
>
>
Local configuration for serial.h:
>
> #undef COMDATA
>
> #undef COMSTOP
>
> Local configuration for general.h:
>
> #define DOWNLOAD_PROTO_NFS
>
> Building final target bin-x86_64-efi/ipxe.efi...
>
>
> core/gdbserial.c: In function 'gdbserial_init':
>
> core/gdbserial.c:93:53: error: 'COMDATA' undeclared (first use in this
> function)
>
> core/gdbserial.c:93:53: note: each undeclared identifier is reported only
> once for each function it appears in
>
> core/gdbserial.c:93:53: error: 'COMSTOP' undeclared (first use in this
> function)
>
>   [BUILD] bin-x86_64-efi/fcp.o
>
> make: *** [bin-x86_64-efi/gdbserial.o] Error 1
>
> make: *** Waiting for unfinished jobs....
>
> core/serial.c: In function 'serial_init':
>
> core/serial.c:153:5: error: 'COMDATA' undeclared (first use in this
> function)
>
> core/serial.c:153:5: note: each undeclared identifier is reported only
> once for each function it appears in
>
> core/serial.c:153:5: error: 'COMSTOP' undeclared (first use in this
> function)
>
> make: *** [bin-x86_64-efi/serial.o] Error 1
>
> make: Leaving directory `/var/tmp/ipxe-build/ipxe-build-4qvzrk/src'
>
> "make" unexpectedly returned exit value 2 at /var/www/ipxe-buildweb/build.fcgi
> line 630
>
>
>

You have defined some Serial settings, which pulls in that code, but other
settings is undefined.
However I don't think that Serial is valid for EFI at all.
Try building without serial.

This is the same kind of build issues that can be seen in
https://github.com/xbgmsharp/ipxe-buildweb/issues/45
https://github.com/xbgmsharp/ipxe-buildweb/issues/36

Where options are enabled that are not compatible with other selections
(mostly EFI)

/Christian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20180726/37ae3a95/attachment.html>


More information about the ipxe-devel mailing list