Blockstream/satellite

ldpc_tool compilation error

634-5789 opened this issue · 3 comments

make CXX=g++ ldpc_tool

fails with

/usr/bin/ld: mods_handler.o:mods_handler.cc:(.text._ZN10ModulationI16PhaseShiftKeyingILi8ESt7complexIfEaELi21600EE5softNEPaPS2_f[_ZN10ModulationI16PhaseShiftKeyingILi8ESt7complexIfEaELi21600EE5softNEPaPS2_f]+0x64): more undefined references to `PhaseShiftKeying<8, std::complex, signed char>::rot_cw' follow
collect2: error: ld returned 1 exit status
make: *** [Makefile:18: ldpc_tool] Error 1

on Ubuntu 19.10. How can this be fixed?

Thanks for letting us know. We have been able to reproduce the problem.

Could you try again by repeating the process? We have pushed some changes to the leansdr repository as well as the underlying LDPC submodule. Hence, you could remove the leansdr folder, then clone and build again. Alternatively, you could run:

cd leansdr/
git pull origin master
git submodule update

That worked. Thanks for the quick response and keep up this great work.

@634-5789 You are welcome. Thanks for confirming it works.