phosphor-ipmi-flash build error

Mohaimen Alsamarai Mohaimen.Alsamarai at fii-na.com
Sat Nov 21 03:53:44 AEDT 2020


Hi William,
we were able to build successfully on x86-64 (ubuntu) but fails in aarch64 (centOS8) see log below


[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'
  CXXLDburn_my_bmc
burn_my_bmc-main.o: In function `main':
main.cpp:(.text+0x7e0): undefined reference to `internal::sys_impl'
main.cpp:(.text+0x7e4): undefined reference to `internal::sys_impl'
burn_my_bmc-main.o: In function `std::_MakeUniq<host_tool::BtDataHandler>::__single_object std::make_unique<host_tool::BtDataHandler, ipmiblob::BlobHandler*, ho   st_tool::ProgressStdoutIndicator*>(ipmiblob::BlobHandler*&&, host_tool::ProgressStdoutIndicator*&&)':
main.cpp:(.text._ZSt11make_uniqueIN9host_tool13BtDataHandlerEJPN8ipmiblob11BlobHandlerEPNS0_23ProgressStdoutIndicatorEEENSt9_MakeUniqIT_E15__single_objectEDpOT0_[_ZSt11make_uniqueIN9host_tool13BtDataHandlerEJPN8ipmiblob11BlobHandlerEPNS0_23ProgressStdoutIndicatorEEENSt9_MakeUniqIT_E15__single_objectEDpOT0_]+0x40): undefined reference to `internal::sys_impl'
main.cpp:(.text._ZSt11make_uniqueIN9host_tool13BtDataHandlerEJPN8ipmiblob11BlobHandlerEPNS0_23ProgressStdoutIndicatorEEENSt9_MakeUniqIT_E15__single_objectEDpOT0_[_ZSt11make_uniqueIN9host_tool13BtDataHandlerEJPN8ipmiblob11BlobHandlerEPNS0_23ProgressStdoutIndicatorEEENSt9_MakeUniqIT_E15__single_objectEDpOT0_]+0x44): undefined reference to `internal::sys_impl'
burn_my_bmc-main.o: In function `std::_MakeUniq<host_tool::NetDataHandler>::__single_object std::make_unique<host_tool::NetDataHandler, ipmiblob::BlobHandler*,host_tool::ProgressStdoutIndicator*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&>(ipmiblob::BlobHandler*&&, host_tool::ProgressStdoutIndicator*&&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&)':
main.cpp:(.text._ZSt11make_uniqueIN9host_tool14NetDataHandlerEJPN8ipmiblob11BlobHandlerEPNS0_23ProgressStdoutIndicatorERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESD_EENSt9_MakeUniqIT_E15__single_objectEDpOT0_[_ZSt11make_uniqueIN9host_tool14NetDataHandlerEJPN8ipmiblob11BlobHandlerEPNS0_23ProgressStdoutIndicatorERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESD_EENSt9_MakeUniqIT_E15__single_objectEDpOT0_]+0x64): undefined reference to `internal::sys_impl'
burn_my_bmc-main.o:main.cpp:(.text._ZSt11make_uniqueIN9host_tool14NetDataHandlerEJPN8ipmiblob11BlobHandlerEPNS0_23ProgressStdoutIndicatorERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESD_EENSt9_MakeUniqIT_E15__single_objectEDpOT0_[_ZSt11make_uniqueIN9host_tool14NetDataHandlerEJPN8ipmiblob11BlobHandlerEPNS0_23ProgressStdoutIndicatorERNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESD_EENSt9_MakeUniqIT_E15__single_objectEDpOT0_]+0x68): more undefined references to `internal::sys_impl' follow
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:570: burn_my_bmc] 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

________________________________
From: William Kennington <wak at google.com>
Sent: Thursday, November 19, 2020 11:56 PM
To: Mohaimen Alsamarai <Mohaimen.Alsamarai at fii-na.com>
Cc: openbmc at lists.ozlabs.org <openbmc at lists.ozlabs.org>; XP Chen <Xiao-Peng.Chen at fii-na.com>; Lancelot Kao <lancelot.cy.kao at fii-na.com>; Benjamin Fair <benjaminfair at google.com>
Subject: Re: phosphor-ipmi-flash build error

If you are installing these manually, be sure to install https://github.com/martinmoene/span-lite before building and installing stdplus and phosphor-ipmi-flash.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20201120/af5d6492/attachment.htm>


More information about the openbmc mailing list