Author Topic: How to get more up to date version of qBittorrent on Rapsbian stretch?  (Read 733 times)

snqbt

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
I use "apt-get" to get qBittorrent 3.37 onto my Raspbian stretch. Works fine but I wonder is doing my own compilation the only way to get v4 onto it. Anyone compile it before and ran into issues?

snqbt

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Tried to compile qBittorrent 4.1.1 by following the guide at https://github.com/qbittorrent/qBittorrent/wiki/Compiling-qBittorrent-on-Debian-and-Ubuntu without success.
At step  ./configure --disable-gui ,
I got

checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a sed that does not truncate output... /bin/sed
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of gcc... none
checking dependency style of g++... none
checking whether OS is FreeBSD... no
checking whether OS is macOS... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.23... yes
checking whether to enable the Debug build... no
checking whether to enable the stacktrace feature... yes
checking whether to enable the GUI... no
checking whether to install the systemd service file... no
checking whether to enable the WebUI... yes
checking for Qt5 qmake >= 5.5.1... /usr/lib/arm-linux-gnueabihf/qt5/bin/qmake
checking whether QtDBus should be enabled... no
checking for boostlib >= 1.35 (103500)... yes
configure: Boost CPPFLAGS: "-I/usr/include"
                Boost LDFLAGS: "-L/usr/lib"
checking whether the Boost::System library is available... yes
configure: error: Could not find a version of the library!

bjo

  • Newbie
  • *
  • Posts: 7
  • Karma: +1/-0
    • View Profile
Hello,

You should include the following parameter on your configure command :
--with-boost-libdir=/usr/lib/arm-linux-gnueabihf/

CY

snqbt

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Thanks. I got pass the configure part but ran into problem compiling.


compiling webui/api/transfercontroller.cpp
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.
Makefile:2170: recipe for target 'synccontroller.o' failed
make[1]: *** [synccontroller.o] Error 4
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/mnt/data/qbittorrent-4.1.1/src'
Makefile:42: recipe for target 'sub-src-make_first' failed
make: *** [sub-src-make_first] Error 2

bjo

  • Newbie
  • *
  • Posts: 7
  • Karma: +1/-0
    • View Profile
What parallelism level did you used on the compiling part ?

snqbt

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
What parallelism level did you used on the compiling part ?

make -j$(nproc)

Should I try
make -j1

EDIT: I am trying -j1 now...
« Last Edit: June 10, 2018, 12:36:37 AM by snqbt »

snqbt

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
make -j1 works better but ...
cd src/ && ( test -e Makefile || /usr/lib/arm-linux-gnueabihf/qt5/bin/qmake /mnt/data/qbittorrent-4.1.1/src/src.pro QMAKE_LRELEASE= -o Makefile ) && make -f Makefile
make[1]: Entering directory '/mnt/data/qbittorrent-4.1.1/src'
compiling base/bittorrent/session.cpp
base/bittorrent/session.cpp: In constructor BitTorrent::Session::Session(QObject*):
base/bittorrent/session.cpp:432:32: error: generate_fingerprint is not a member of libt
     const std::string peerId = libt::generate_fingerprint(PEER_ID, QBT_VERSION_MAJOR, QBT_VERSION_MINOR, QBT_VERSION_BUGFIX, QBT_VERSION_BUILD);
                                ^~~~
base/bittorrent/session.cpp: In instantiation of QSet<QString> {anonymous}::entryListToSetImpl(const Entry&) [with Entry = libtorrent::bdecode_node]:
base/bittorrent/session.cpp:175:40:   required from here
base/bittorrent/session.cpp:148:55: error: passing const libtorrent::bdecode_node as this argument discards qualifiers [-fpermissive]
             const QString tag = QString::fromStdString(entry.list_string_value_at(i));
                                 ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/libtorrent/torrent_info.hpp:47:0,
                 from base/bittorrent/torrentinfo.h:32,
                 from base/bittorrent/session.h:60,
                 from base/bittorrent/session.cpp:30:
/usr/include/libtorrent/bdecode.hpp:291:14: note:   in call to std::__cxx11::string libtorrent::bdecode_node::list_string_value_at(int, const char*)
  std::string list_string_value_at(int i
              ^~~~~~~~~~~~~~~~~~~~
Makefile:1681: recipe for target 'session.o' failed
make[1]: *** [session.o] Error 1
make[1]: Leaving directory '/mnt/data/qbittorrent-4.1.1/src'
Makefile:42: recipe for target 'sub-src-make_first' failed
make: *** [sub-src-make_first] Error 2
« Last Edit: June 10, 2018, 01:07:24 AM by snqbt »

bjo

  • Newbie
  • *
  • Posts: 7
  • Karma: +1/-0
    • View Profile
I would restart from a clean status :
  • delete the folder where you have the failed compiling.
  • run again the configure with all the needed parameters
  • make -j1

snqbt

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
I did and the log I posted yesterday is the redo. I redid everything again today and the result is the same:

Code: [Select]
./configure --disable-gui --with-boost-
-libdir=/usr/lib/arm-linux-gnueabihf/
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a sed that does not truncate output... /bin/sed
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of gcc... none
checking dependency style of g++... none
checking whether OS is FreeBSD... no
checking whether OS is macOS... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.23... yes
checking whether to enable the Debug build... no
checking whether to enable the stacktrace feature... yes
checking whether to enable the GUI... no
checking whether to install the systemd service file... no
checking whether to enable the WebUI... yes
checking for Qt5 qmake >= 5.5.1... /usr/lib/arm-linux-gnueabihf/qt5/bin/qmake
checking whether QtDBus should be enabled... no
checking for boostlib >= 1.35 (103500)... yes
configure: Boost CPPFLAGS: "-I/usr/include"
                Boost LDFLAGS: "-L/usr/lib/arm-linux-gnueabihf/"
checking whether the Boost::System library is available... yes
checking for exit in -lboost_system... yes
configure: Boost.System LIB: "-lboost_system"
checking which qtsingleapplication to use... shipped
checking for libtorrent... yes
checking for zlib... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating conf.pri
config.status: executing depfiles commands
configure: Running qmake to generate the makefile...
Info: creating stash file /mnt/data/qbittorrent-4.1.1/.qmake.stash
Project MESSAGE: Building translations
Project MESSAGE: Processing lang/qbittorrent_ar
Project MESSAGE: Processing lang/qbittorrent_be
Project MESSAGE: Processing lang/qbittorrent_bg
Project MESSAGE: Processing lang/qbittorrent_ca
Project MESSAGE: Processing lang/qbittorrent_cs
Project MESSAGE: Processing lang/qbittorrent_da
Project MESSAGE: Processing lang/qbittorrent_de
Project MESSAGE: Processing lang/qbittorrent_el
Project MESSAGE: Processing lang/qbittorrent_en
Project MESSAGE: Processing lang/qbittorrent_en_AU
Project MESSAGE: Processing lang/qbittorrent_en_GB
Project MESSAGE: Processing lang/qbittorrent_eo
Project MESSAGE: Processing lang/qbittorrent_es
Project MESSAGE: Processing lang/qbittorrent_eu
Project MESSAGE: Processing lang/qbittorrent_fi
Project MESSAGE: Processing lang/qbittorrent_fr
Project MESSAGE: Processing lang/qbittorrent_gl
Project MESSAGE: Processing lang/qbittorrent_he
Project MESSAGE: Processing lang/qbittorrent_hi_IN
Project MESSAGE: Processing lang/qbittorrent_hr
Project MESSAGE: Processing lang/qbittorrent_hu
Project MESSAGE: Processing lang/qbittorrent_hy
Project MESSAGE: Processing lang/qbittorrent_id
Project MESSAGE: Processing lang/qbittorrent_is
Project MESSAGE: Processing lang/qbittorrent_it
Project MESSAGE: Processing lang/qbittorrent_ja
Project MESSAGE: Processing lang/qbittorrent_ka
Project MESSAGE: Processing lang/qbittorrent_ko
Project MESSAGE: Processing lang/qbittorrent_lt
Project MESSAGE: Processing lang/qbittorrent_lv_LV
Project MESSAGE: Processing lang/qbittorrent_ms_MY
Project MESSAGE: Processing lang/qbittorrent_nb
Project MESSAGE: Processing lang/qbittorrent_nl
Project MESSAGE: Processing lang/qbittorrent_oc
Project MESSAGE: Processing lang/qbittorrent_pl
Project MESSAGE: Processing lang/qbittorrent_pt_BR
Project MESSAGE: Processing lang/qbittorrent_pt_PT
Project MESSAGE: Processing lang/qbittorrent_ro
Project MESSAGE: Processing lang/qbittorrent_ru
Project MESSAGE: Processing lang/qbittorrent_sk
Project MESSAGE: Processing lang/qbittorrent_sl
Project MESSAGE: Processing lang/qbittorrent_sr
Project MESSAGE: Processing lang/qbittorrent_sv
Project MESSAGE: Processing lang/qbittorrent_tr
Project MESSAGE: Processing lang/qbittorrent_uk
Project MESSAGE: Processing lang/[email protected]
Project MESSAGE: Processing lang/qbittorrent_vi
Project MESSAGE: Processing lang/qbittorrent_zh
Project MESSAGE: Processing lang/qbittorrent_zh_HK
Project MESSAGE: Processing lang/qbittorrent_zh_TW
Reading /mnt/data/qbittorrent-4.1.1/src/src.pro
Project MESSAGE: Project is built in RELEASE mode.
Project MESSAGE: Disabling debug output.

configure: Good, your configure finished.


[email protected]:/mnt/data/qbittorrent-4.1.1# make -j1
cd src/ && ( test -e Makefile || /usr/lib/arm-linux-gnueabihf/qt5/bin/qmake /mnt/data/qbittorrent-4.1.1/src/src.pro QMAKE_LRELEASE= -o Makefile ) && make -f Makefile
make[1]: Entering directory '/mnt/data/qbittorrent-4.1.1/src'
compiling app/qtsingleapplication/qtsinglecoreapplication.cpp
compiling app/qtsingleapplication/qtlocalpeer.cpp
compiling app/application.cpp
compiling app/cmdoptions.cpp
compiling app/filelogger.cpp
compiling app/main.cpp
compiling base/asyncfilestorage.cpp
compiling base/bittorrent/infohash.cpp
compiling base/bittorrent/magneturi.cpp
compiling base/bittorrent/peerinfo.cpp
compiling base/bittorrent/private/bandwidthscheduler.cpp
compiling base/bittorrent/private/filterparserthread.cpp
compiling base/bittorrent/private/resumedatasavingmanager.cpp
compiling base/bittorrent/private/speedmonitor.cpp
compiling base/bittorrent/private/statistics.cpp
compiling base/bittorrent/session.cpp
base/bittorrent/session.cpp: In constructor BitTorrent::Session::Session(QObject*):
base/bittorrent/session.cpp:432:32: error: generate_fingerprint is not a member of libt
     const std::string peerId = libt::generate_fingerprint(PEER_ID, QBT_VERSION_MAJOR, QBT_VERSION_MINOR, QBT_VERSION_BUGFIX, QBT_VERSION_BUILD);
                                ^~~~
base/bittorrent/session.cpp: In instantiation of QSet<QString> {anonymous}::entryListToSetImpl(const Entry&) [with Entry = libtorrent::bdecode_node]:
base/bittorrent/session.cpp:175:40:   required from here
base/bittorrent/session.cpp:148:55: error: passing const libtorrent::bdecode_node as this argument discards qualifiers [-fpermissive]
             const QString tag = QString::fromStdString(entry.list_string_value_at(i));
                                 ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/libtorrent/torrent_info.hpp:47:0,
                 from base/bittorrent/torrentinfo.h:32,
                 from base/bittorrent/session.h:60,
                 from base/bittorrent/session.cpp:30:
/usr/include/libtorrent/bdecode.hpp:291:14: note:   in call to std::__cxx11::string libtorrent::bdecode_node::list_string_value_at(int, const char*)
  std::string list_string_value_at(int i
              ^~~~~~~~~~~~~~~~~~~~
Makefile:1681: recipe for target 'session.o' failed
make[1]: *** [session.o] Error 1
make[1]: Leaving directory '/mnt/data/qbittorrent-4.1.1/src'
Makefile:42: recipe for target 'sub-src-make_first' failed
make: *** [sub-src-make_first] Error 2


bjo

  • Newbie
  • *
  • Posts: 7
  • Karma: +1/-0
    • View Profile
When I've compiled qbittorrent I had to also compile libtorrent before being able to run successfully configure for qbittorrent.
I've also removed the libtorrent installed from raspbian stretch repos.

This new compilation went without any problem.

snqbt

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
I am compiling libtorrent 1.0.x now but got many error messages:

Code: [Select]
                 from peer_connection.cpp:35:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from peer_connection.cpp:47:0:
../include/libtorrent/alert_types.hpp: In member function ‘virtual std::auto_ptr<libtorrent::alert> libtorrent::block_downloading_alert::clone() const’:
../include/libtorrent/alert_types.hpp:118:16: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  { return std::auto_ptr<alert>(new name(*this)); } \
                ^
../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro ‘TORRENT_DEFINE_ALERT’
  { return std::auto_ptr<alert>(new name(*this)); } \
                ^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:22,
                 from peer_connection.cpp:35:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from peer_connection.cpp:47:0:
../include/libtorrent/alert_types.hpp: At global scope:
../include/libtorrent/alert_types.hpp:117:15: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  virtual std::auto_ptr<alert> clone() const \
               ^
../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro ‘TORRENT_DEFINE_ALERT’
  virtual std::auto_ptr<alert> clone() const \
               ^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:22,
                 from peer_connection.cpp:35:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from peer_connection.cpp:47:0:
../include/libtorrent/alert_types.hpp: In member function ‘virtual std::auto_ptr<libtorrent::alert> libtorrent::unwanted_block_alert::clone() const’:
../include/libtorrent/alert_types.hpp:118:16: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  { return std::auto_ptr<alert>(new name(*this)); } \
                ^
../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro ‘TORRENT_DEFINE_ALERT’
  { return std::auto_ptr<alert>(new name(*this)); } \
                ^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:22,
                 from peer_connection.cpp:35:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from peer_connection.cpp:47:0:
../include/libtorrent/alert_types.hpp: At global scope:
../include/libtorrent/alert_types.hpp:117:15: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  virtual std::auto_ptr<alert> clone() const \
               ^
../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro ‘TORRENT_DEFINE_ALERT’
  virtual std::auto_ptr<alert> clone() const \
               ^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:22,
                 from peer_connection.cpp:35:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from peer_connection.cpp:47:0:
../include/libtorrent/alert_types.hpp: In member function ‘virtual std::auto_ptr<libtorrent::alert> libtorrent::storage_moved_alert::clone() const’:
../include/libtorrent/alert_types.hpp:118:16: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  { return std::auto_ptr<alert>(new name(*this)); } \
                ^
../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro ‘TORRENT_DEFINE_ALERT’
  { return std::auto_ptr<alert>(new name(*this)); } \
                ^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:22,
                 from peer_connection.cpp:35:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from peer_connection.cpp:47:0:
../include/libtorrent/alert_types.hpp: At global scope:
../include/libtorrent/alert_types.hpp:117:15: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  virtual std::auto_ptr<alert> clone() const \
               ^
../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro ‘TORRENT_DEFINE_ALERT’
  virtual std::auto_ptr<alert> clone() const \
               ^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:22,
                 from peer_connection.cpp:35:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from peer_connection.cpp:47:0:
../include/libtorrent/alert_types.hpp: In member function ‘virtual std::auto_ptr<libtorrent::alert> libtorrent::storage_moved_failed_alert::clone() const’:
../include/libtorrent/alert_types.hpp:118:16: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  { return std::auto_ptr<alert>(new name(*this)); } \
                ^
../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro ‘TORRENT_DEFINE_ALERT’
  { return std::auto_ptr<alert>(new name(*this)); } \
                ^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:22,
                 from peer_connection.cpp:35:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from peer_connection.cpp:47:0:
../include/libtorrent/alert_types.hpp: At global scope:
../include/libtorrent/alert_types.hpp:117:15: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  virtual std::auto_ptr<alert> clone() const \
               ^
../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro ‘TORRENT_DEFINE_ALERT’
  virtual std::auto_ptr<alert> clone() const \
               ^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:22,
                 from peer_connection.cpp:35:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from peer_connection.cpp:47:0:
../include/libtorrent/alert_types.hpp: In member function ‘virtual std::auto_ptr<libtorrent::alert> libtorrent::torrent_deleted_alert::clone() const’:
../include/libtorrent/alert_types.hpp:118:16: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  { return std::auto_ptr<alert>(new name(*this)); } \
                ^
../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro ‘TORRENT_DEFINE_ALERT’
  { return std::auto_ptr<alert>(new name(*this)); } \
                ^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:22,
                 from peer_connection.cpp:35:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from peer_connection.cpp:47:0:
../include/libtorrent/alert_types.hpp: At global scope:
../include/libtorrent/alert_types.hpp:117:15: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  virtual std::auto_ptr<alert> clone() const \
               ^
../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro ‘TORRENT_DEFINE_ALERT’
  virtual std::auto_ptr<alert> clone() const \
               ^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:22,
                 from peer_connection.cpp:35:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from peer_connection.cpp:47:0:
../include/libtorrent/alert_types.hpp: In member function ‘virtual std::auto_ptr<libtorrent::alert> libtorrent::torrent_delete_failed_alert::clone() const’:
../include/libtorrent/alert_types.hpp:118:16: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  { return std::auto_ptr<alert>(new name(*this)); } \
                ^
../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro ‘TORRENT_DEFINE_ALERT’
  { return std::auto_ptr<alert>(new name(*this)); } \
                ^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:22,
                 from peer_connection.cpp:35:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from peer_connection.cpp:47:0:
../include/libtorrent/alert_types.hpp: At global scope:
../include/libtorrent/alert_types.hpp:117:15: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  virtual std::auto_ptr<alert> clone() const \
               ^
../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro ‘TORRENT_DEFINE_ALERT’
  virtual std::auto_ptr<alert> clone() const \
               ^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:22,
                 from peer_connection.cpp:35:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from peer_connection.cpp:47:0:
../include/libtorrent/alert_types.hpp: In member function ‘virtual std::auto_ptr<libtorrent::alert> libtorrent::save_resume_data_alert::clone() const’:
../include/libtorrent/alert_types.hpp:118:16: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  { return std::auto_ptr<alert>(new name(*this)); } \
                ^
../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro ‘TORRENT_DEFINE_ALERT’
  { return std::auto_ptr<alert>(new name(*this)); } \
                ^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:22,
                 from peer_connection.cpp:35:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from peer_connection.cpp:47:0:
../include/libtorrent/alert_types.hpp: At global scope:
../include/libtorrent/alert_types.hpp:117:15: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  virtual std::auto_ptr<alert> clone() const \
               ^
../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro ‘TORRENT_DEFINE_ALERT’
  virtual std::auto_ptr<alert> clone() const \
               ^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:22,
                 from peer_connection.cpp:35:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from peer_connection.cpp:47:0:
../include/libtorrent/alert_types.hpp: In member function ‘virtual std::auto_ptr<libtorrent::alert> libtorrent::save_resume_data_failed_alert::clone() const’:
../include/libtorrent/alert_types.hpp:118:16: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  { return std::auto_ptr<alert>(new name(*this)); } \
                ^
../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro ‘TORRENT_DEFINE_ALERT’
  { return std::auto_ptr<alert>(new name(*this)); } \
                ^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:22,
                 from peer_connection.cpp:35:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from peer_connection.cpp:47:0:
../include/libtorrent/alert_types.hpp: At global scope:
../include/libtorrent/alert_types.hpp:117:15: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  virtual std::auto_ptr<alert> clone() const \
               ^
../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro ‘TORRENT_DEFINE_ALERT’
  virtual std::auto_ptr<alert> clone() const \
               ^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:22,
                 from peer_connection.cpp:35:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from peer_connection.cpp:47:0:
../include/libtorrent/alert_types.hpp: In member function ‘virtual std::auto_ptr<libtorrent::alert> libtorrent::torrent_paused_alert::clone() const’:
../include/libtorrent/alert_types.hpp:118:16: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  { return std::auto_ptr<alert>(new name(*this)); } \
                ^
../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro ‘TORRENT_DEFINE_ALERT’
  { return std::auto_ptr<alert>(new name(*this)); } \
                ^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:22,
                 from peer_connection.cpp:35:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from peer_connection.cpp:47:0:
../include/libtorrent/alert_types.hpp: At global scope:
../include/libtorrent/alert_types.hpp:117:15: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  virtual std::auto_ptr<alert> clone() const \
               ^
../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro ‘TORRENT_DEFINE_ALERT’
  virtual std::auto_ptr<alert> clone() const \
               ^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:22,
                 from peer_connection.cpp:35:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from peer_connection.cpp:47:0:
../include/libtorrent/alert_types.hpp: In member function ‘virtual std::auto_ptr<libtorrent::alert> libtorrent::torrent_resumed_alert::clone() const’:
../include/libtorrent/alert_types.hpp:118:16: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  { return std::auto_ptr<alert>(new name(*this)); } \
                ^
../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro ‘TORRENT_DEFINE_ALERT’
  { return std::auto_ptr<alert>(new name(*this)); } \
                ^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:22,
                 from peer_connection.cpp:35:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from peer_connection.cpp:47:0:
../include/libtorrent/alert_types.hpp: At global scope:
../include/libtorrent/alert_types.hpp:117:15: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  virtual std::auto_ptr<alert> clone() const \
               ^
../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro ‘TORRENT_DEFINE_ALERT’
  virtual std::auto_ptr<alert> clone() const \
               ^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:22,
                 from peer_connection.cpp:35:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from peer_connection.cpp:47:0:
../include/libtorrent/alert_types.hpp: In member function ‘virtual std::auto_ptr<libtorrent::alert> libtorrent::torrent_checked_alert::clone() const’:
../include/libtorrent/alert_types.hpp:118:16: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  { return std::auto_ptr<alert>(new name(*this)); } \
                ^
../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro ‘TORRENT_DEFINE_ALERT’
  { return std::auto_ptr<alert>(new name(*this)); } \
                ^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:22,
                 from peer_connection.cpp:35:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from peer_connection.cpp:47:0:
../include/libtorrent/alert_types.hpp: At global scope:
../include/libtorrent/alert_types.hpp:117:15: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  virtual std::auto_ptr<alert> clone() const \
               ^
../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro ‘TORRENT_DEFINE_ALERT’
  virtual std::auto_ptr<alert> clone() const \
               ^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:22,
                 from peer_connection.cpp:35:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from peer_connection.cpp:47:0:
../include/libtorrent/alert_types.hpp: In member function ‘virtual std::auto_ptr<libtorrent::alert> libtorrent::url_seed_alert::clone() const’:
../include/libtorrent/alert_types.hpp:118:16: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  { return std::auto_ptr<alert>(new name(*this)); } \
                ^
../include/libtorrent/alert_types.hpp:118:16: note: in definition of macro ‘TORRENT_DEFINE_ALERT’
  { return std::auto_ptr<alert>(new name(*this)); } \
                ^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:22,
                 from peer_connection.cpp:35:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
In file included from peer_connection.cpp:47:0:
../include/libtorrent/alert_types.hpp: At global scope:
../include/libtorrent/alert_types.hpp:117:15: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  virtual std::auto_ptr<alert> clone() const \
               ^
../include/libtorrent/alert_types.hpp:117:15: note: in definition of macro ‘TORRENT_DEFINE_ALERT’
  virtual std::auto_ptr<alert> clone() const \
               ^~~~~~~~
In file included from /usr/include/c++/6/memory:81:0,
                 from /usr/include/boost/config/no_tr1/memory.hpp:21,
                 from /usr/include/boost/get_pointer.hpp:14,
                 from /usr/include/boost/bind/mem_fn.hpp:25,
                 from /usr/include/boost/mem_fn.hpp:22,
                 from /usr/include/boost/bind/bind.hpp:26,
                 from /usr/include/boost/bind.hpp:22,
                 from peer_connection.cpp:35:
/usr/include/c++/6/bits/unique_ptr.h:49:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~



bjo

  • Newbie
  • *
  • Posts: 7
  • Karma: +1/-0
    • View Profile
Humm ... Many warnings, yes. But did it complete ?
is "make install" working for libtorrent ?
Did you get a libtorrent library created under /usr/local after install ?

snqbt

  • Newbie
  • *
  • Posts: 10
  • Karma: +0/-0
    • View Profile
Humm ... Many warnings, yes. But did it complete ?
is "make install" working for libtorrent ?
Did you get a libtorrent library created under /usr/local after install ?
"make install" went though the motion and libtorrent is created under /usr/local/include .


I also built qBittorrent after libtorrent and tried to run it.

./qbittorrent-nox: symbol lookup error: ./qbittorrent-nox: undefined symbol: _ZN10libtorrent20generate_fingerprintENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEiiii
[email protected]:/us
« Last Edit: June 11, 2018, 05:16:45 PM by snqbt »

bjo

  • Newbie
  • *
  • Posts: 7
  • Karma: +1/-0
    • View Profile
You should add /usr/local/lib to LD_LIBRARY_PATH to help qbittorrent find the library it is linked against ...

export LD_LIBRARY_PATH=/usr/local/lib

This variable should also be set of you want to use systems to run qbittorrent ...

bjo

  • Newbie
  • *
  • Posts: 7
  • Karma: +1/-0
    • View Profile
systems / systemd