Error message is:
[ 77%] Building CXX object overlay/CMakeFiles/overlay.dir/overlay-manager.cpp.o
[ 77%] Linking CXX executable test-storage
/usr/bin/ld: storage/libstorage.a(TorrentCreator.cpp.o): in function `std::__cxx11::basic_string, std::allocator > td::serialize(ton::TorrentHeader const&)':
TorrentCreator.cpp:(.text._ZN2td9serializeIN3ton13TorrentHeaderEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_[_ZN2td9serializeIN3ton13TorrentHeaderEEENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKT_]+0x3f): undefined reference to `void ton::TorrentHeader::store(td::TlStorerCalcLength&) const'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/test-storage.dir/build.make:151: test-storage] Error 1
make[1]: *** [CMakeFiles/Makefile2:2079: CMakeFiles/test-storage.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

Jul 11, 2022, 8:06 AM

© 2024 Draquery.com All rights reserved.