phosphor-ipmi-flash build error

Mohaimen Alsamarai Mohaimen.Alsamarai at fii-na.com
Wed Nov 18 08:23:15 AEDT 2020


Hi All,
                We are trying to build the phosphor-ipmi-flash<https://github.com/openbmc/phosphor-ipmi-flash> and we counter issue at the make step please see below for the error message, can you advise us what we can do to pass that error


[root at localhost phosphor-ipmi-flash]# make
make  all-recursive
make[1]: Entering directory '/root/phosphor-ipmi-flash'
Making all in .
make[2]: Entering directory '/root/phosphor-ipmi-flash'
make[2]: Leaving directory '/root/phosphor-ipmi-flash'
Making all in tools
make[2]: Entering directory '/root/phosphor-ipmi-flash/tools'
Making all in .
make[3]: Entering directory '/root/phosphor-ipmi-flash/tools'
  CXX      burn_my_bmc-main.o
In file included from p2a.hpp:5,
                 from main.cpp:21:
pci.hpp:40:39: error: 'span' in namespace 'stdplus' does not name a template type
     virtual void write(const stdplus::span<const std::uint8_t> data) = 0;
                                       ^~~~
pci.hpp:40:43: error: expected ',' or '...' before '<' token
     virtual void write(const stdplus::span<const std::uint8_t> data) = 0;
                                           ^
pci.hpp:51:39: error: 'span' in namespace 'stdplus' does not name a template type
     virtual void write(const stdplus::span<const std::uint8_t> data) override;
                                       ^~~~
pci.hpp:51:43: error: expected ',' or '...' before '<' token
     virtual void write(const stdplus::span<const std::uint8_t> data) override;
                                           ^
make[3]: *** [Makefile:699: burn_my_bmc-main.o] Error 1
make[3]: Leaving directory '/root/phosphor-ipmi-flash/tools'
make[2]: *** [Makefile:725: all-recursive] Error 1
make[2]: Leaving directory '/root/phosphor-ipmi-flash/tools'
make[1]: *** [Makefile:615: all-recursive] Error 1
make[1]: Leaving directory '/root/phosphor-ipmi-flash'
make: *** [Makefile:475: all] Error 2
[root at localhost phosphor-ipmi-flash]#



Thanks,
Mohaimen Alsamarai
BMC developer
FII USA


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20201117/6e84f1f3/attachment-0001.htm>


More information about the openbmc mailing list