Building YARR fails on Ubuntu 20.04 with gcc
Linker fails
/usr/bin/ld: ../lib/libSpec.so: undefined reference to
typeinfo for RxCore'
/usr/bin/ld: ../lib/libSpec.so: undefined reference to typeinfo for TxCore' /usr/bin/ld: ../lib/libUtil.so: undefined reference to
HistogramBase::HistogramBase(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, LoopStatus const&)'
/usr/bin/ld: ../lib/libUtil.so: undefined reference to typeinfo for HistogramBase' /usr/bin/ld: ../lib/libSpec.so: undefined reference to
TxCore::~TxCore()'
/usr/bin/ld: ../lib/libSpec.so: undefined reference to RawData::RawData(unsigned int, unsigned int*, unsigned int)' /usr/bin/ld: ../lib/libSpec.so: undefined reference to
StdDict::registerHwController(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::function<std::unique_ptr<HwController, std::default_delete > ()>)'
/usr/bin/ld: ../lib/libUtil.so: undefined reference to HistogramBase::getName[abi:cxx11]() const' /usr/bin/ld: ../lib/libSpec.so: undefined reference to
RxCore::RxCore()'
/usr/bin/ld: ../lib/libSpec.so: undefined reference to TxCore::TxCore()' /usr/bin/ld: ../lib/libUtil.so: undefined reference to
HistogramBase::HistogramBase(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)'
/usr/bin/ld: ../lib/libSpec.so: undefined reference to RxCore::~RxCore()' /usr/bin/ld: ../lib/libUtil.so: undefined reference to
HistogramBase::~HistogramBase()'
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/specInfo_test.dir/build.make:93: bin/specInfo_test] Error 1
make[1]: *** [CMakeFiles/Makefile2:252: src/CMakeFiles/specInfo_test.dir/all] Error 2