Unabled to build 4.3.0 (4.3.0.1) against libtorrent-rasterbar-1.2.9 (1.2.10) #11123

Closed
opened 2026-02-21 21:09:51 -05:00 by deekerman · 0 comments
Owner

Originally created by @tomfisk on GitHub (Oct 25, 2020).

Please provide the following information

qBittorrent version and Operating System

4.3.0.1, Debian 10.6

If on linux, libtorrent-rasterbar and Qt version

Both 1.2.9 and 1.2.10, Using Qt version 5.11.3 in /usr/lib/x86_64-linux-gnu

What is the problem

Get the following error when linking:

cd src/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /root/qbittorrent-4.3.0.1/src/src.pro -qtconf /usr/lib/x86_64-linux-gnu/qt5/qt.conf -early QMAKE_CC=x86_64-linux-gnu-gcc QMAKE_CXX=x86_64-linux-gnu-g++ QMAKE_LINK=x86_64-linux-gnu-g++ QMAKE_QMAKE=/usr/bin/x86_64-linux-gnu-qmake PKG_CONFIG=x86_64-linux-gnu-pkg-config -before QMAKE_LRELEASE= ) && make -f Makefile
make[1]: Entering directory '/root/qbittorrent-4.3.0.1/src'
linking qbittorrent-nox
/usr/bin/ld: resumedatasavingmanager.o: in function int libtorrent::detail::bencode_recursive<Utils::IO::FileDeviceOutputIterator>(Utils::IO::FileDeviceOutputIterator&, libtorrent::entry const&)': /usr/local/include/libtorrent/bencode.hpp:165: undefined reference to libtorrent::entry::dictabi:cxx11 const'
/usr/bin/ld: tracker.o: in function BitTorrent::Tracker::prepareAnnounceResponse(BitTorrent::Tracker::TrackerAnnounceRequest const&)': /root/qbittorrent-4.3.0.1/src/base/bittorrent/tracker.cpp:452: undefined reference to libtorrent::entry::entry(std::map<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, libtorrent::entry, libtorrent::aux::strview_less, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, libtorrent::entry> > >)'
/usr/bin/ld: tracker.o: in function BitTorrent::Tracker::prepareAnnounceResponse(BitTorrent::Tracker::TrackerAnnounceRequest const&)': /usr/include/c++/8/ext/new_allocator.h:136: undefined reference to libtorrent::entry::entry(std::map<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, libtorrent::entry, libtorrent::aux::strview_less, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, libtorrent::entry> > >)'
/usr/bin/ld: tracker.o: in function BitTorrent::Tracker::processRequest(Http::Request const&, Http::Environment const&)': /root/qbittorrent-4.3.0.1/src/base/bittorrent/tracker.cpp:259: undefined reference to libtorrent::entry::entry(std::map<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, libtorrent::entry, libtorrent::aux::strview_less, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, libtorrent::entry> > >)'
/usr/bin/ld: tracker.o: in function int libtorrent::detail::bencode_recursive<std::back_insert_iterator<QByteArray> >(std::back_insert_iterator<QByteArray>&, libtorrent::entry const&)': /usr/local/include/libtorrent/bencode.hpp:165: undefined reference to libtorrent::entry::dictabi:cxx11 const'
/usr/bin/ld: tracker.o: in function void std::vector<libtorrent::entry, std::allocator<libtorrent::entry> >::_M_realloc_insert<std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, libtorrent::entry, libtorrent::aux::strview_less, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, libtorrent::entry> > >&>(__gnu_cxx::__normal_iterator<libtorrent::entry*, std::vector<libtorrent::entry, std::allocator<libtorrent::entry> > >, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, libtorrent::entry, libtorrent::aux::strview_less, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, libtorrent::entry> > >&)': /usr/include/c++/8/ext/new_allocator.h:136: undefined reference to libtorrent::entry::entry(std::map<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, libtorrent::entry, libtorrent::aux::strview_less, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits, std::allocator > const, libtorrent::entry> > >)'
collect2: error: ld returned 1 exit status

What is the expected behavior

(type here)

Steps to reproduce

(type here)

Extra info(if any)

(type here)

Originally created by @tomfisk on GitHub (Oct 25, 2020). **Please provide the following information** ### qBittorrent version and Operating System 4.3.0.1, Debian 10.6 ### If on linux, libtorrent-rasterbar and Qt version Both 1.2.9 and 1.2.10, Using Qt version 5.11.3 in /usr/lib/x86_64-linux-gnu ### What is the problem Get the following error when linking: cd src/ && ( test -e Makefile || /usr/lib/qt5/bin/qmake -o Makefile /root/qbittorrent-4.3.0.1/src/src.pro -qtconf /usr/lib/x86_64-linux-gnu/qt5/qt.conf -early QMAKE_CC=x86_64-linux-gnu-gcc QMAKE_CXX=x86_64-linux-gnu-g++ QMAKE_LINK=x86_64-linux-gnu-g++ QMAKE_QMAKE=/usr/bin/x86_64-linux-gnu-qmake PKG_CONFIG=x86_64-linux-gnu-pkg-config -before QMAKE_LRELEASE= ) && make -f Makefile make[1]: Entering directory '/root/qbittorrent-4.3.0.1/src' linking qbittorrent-nox /usr/bin/ld: resumedatasavingmanager.o: in function `int libtorrent::detail::bencode_recursive<Utils::IO::FileDeviceOutputIterator>(Utils::IO::FileDeviceOutputIterator&, libtorrent::entry const&)': /usr/local/include/libtorrent/bencode.hpp:165: undefined reference to `libtorrent::entry::dict[abi:cxx11]() const' /usr/bin/ld: tracker.o: in function `BitTorrent::Tracker::prepareAnnounceResponse(BitTorrent::Tracker::TrackerAnnounceRequest const&)': /root/qbittorrent-4.3.0.1/src/base/bittorrent/tracker.cpp:452: undefined reference to `libtorrent::entry::entry(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, libtorrent::entry, libtorrent::aux::strview_less, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, libtorrent::entry> > >)' /usr/bin/ld: tracker.o: in function `BitTorrent::Tracker::prepareAnnounceResponse(BitTorrent::Tracker::TrackerAnnounceRequest const&)': /usr/include/c++/8/ext/new_allocator.h:136: undefined reference to `libtorrent::entry::entry(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, libtorrent::entry, libtorrent::aux::strview_less, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, libtorrent::entry> > >)' /usr/bin/ld: tracker.o: in function `BitTorrent::Tracker::processRequest(Http::Request const&, Http::Environment const&)': /root/qbittorrent-4.3.0.1/src/base/bittorrent/tracker.cpp:259: undefined reference to `libtorrent::entry::entry(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, libtorrent::entry, libtorrent::aux::strview_less, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, libtorrent::entry> > >)' /usr/bin/ld: tracker.o: in function `int libtorrent::detail::bencode_recursive<std::back_insert_iterator<QByteArray> >(std::back_insert_iterator<QByteArray>&, libtorrent::entry const&)': /usr/local/include/libtorrent/bencode.hpp:165: undefined reference to `libtorrent::entry::dict[abi:cxx11]() const' /usr/bin/ld: tracker.o: in function `void std::vector<libtorrent::entry, std::allocator<libtorrent::entry> >::_M_realloc_insert<std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, libtorrent::entry, libtorrent::aux::strview_less, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, libtorrent::entry> > >&>(__gnu_cxx::__normal_iterator<libtorrent::entry*, std::vector<libtorrent::entry, std::allocator<libtorrent::entry> > >, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, libtorrent::entry, libtorrent::aux::strview_less, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, libtorrent::entry> > >&)': /usr/include/c++/8/ext/new_allocator.h:136: undefined reference to `libtorrent::entry::entry(std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, libtorrent::entry, libtorrent::aux::strview_less, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, libtorrent::entry> > >)' collect2: error: ld returned 1 exit status ### What is the expected behavior (type here) ### Steps to reproduce (type here) ### Extra info(if any) (type here)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/qBittorrent#11123
No description provided.