ipxe / pipxe

iPXE for the Raspberry Pi
http://ipxe.org
195 stars 38 forks source link

Failed to build from source #17

Open Bec-k opened 2 years ago

Bec-k commented 2 years ago

Was building on:

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=21.04
DISTRIB_CODENAME=hirsute
DISTRIB_DESCRIPTION="Ubuntu 21.04"

Building error log part:

  [BUILD] bin-arm64-efi/flexboot_nodnic.o
drivers/infiniband/flexboot_nodnic.c: In function ‘flexboot_nodnic_create_qp’:
drivers/infiniband/flexboot_nodnic.c:368:53: error: implicit conversion from ‘enum ib_queue_pair_type’ to ‘nodnic_queue_pair_type’ [-Werror=enum-conversion]
  368 |  status = nodnic_port_create_qp(&port->port_priv, qp->type,
      |                                                   ~~^~~~~~
drivers/infiniband/flexboot_nodnic.c: In function ‘flexboot_nodnic_destroy_qp’:
drivers/infiniband/flexboot_nodnic.c:409:45: error: implicit conversion from ‘enum ib_queue_pair_type’ to ‘nodnic_queue_pair_type’ [-Werror=enum-conversion]
  409 |  nodnic_port_destroy_qp(&port->port_priv, qp->type,
      |                                           ~~^~~~~~
cc1: all warnings being treated as errors
make[1]: *** [Makefile.housekeeping:946: bin-arm64-efi/flexboot_nodnic.o] Error 1
make[1]: Leaving directory '/var/local/acp/pipxe/ipxe/src'
make: *** [Makefile:46: ipxe/src/bin-arm64-efi/rpi.efi] Error 2