rakshasa / rtorrent

rTorrent BitTorrent client
https://github.com/rakshasa/rtorrent/wiki
GNU General Public License v2.0
4.08k stars 408 forks source link

compile failure main.o: In function `input_error': undefined reference to #225

Open lonelylose opened 10 years ago

lonelylose commented 10 years ago

Hi everybody,I am a newbie both in English and programming. If someone can solve my problem I will be very glad~

the problem is when i make it after ./configure libtorrent_LIBS="-L/usr/lib/" libtorrent_CFLAGS="-I/usr/include/" --enable-debug=yes,then allways come to these error,it is too long... I am very sorry about that

g++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -g -O2 -g -DDEBUG -pthread -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/include/ -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cc mv -f .deps/main.Tpo .deps/main.Po /bin/sh ../libtool --tag=CXX --mode=link g++ -g -O2 -g -DDEBUG -pthread -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/include/ -o rtorrent main.o libsub_root.a ui/libsub_ui.a core/libsub_core.a display/libsub_display.a input/libsub_input.a rpc/libsub_rpc.a utils/libsub_utils.a -lncursesw -L/usr/local/lib -lsigc-2.0 -lcurl -L/usr/lib/ libtool: link: g++ -g -O2 -g -DDEBUG -pthread -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/include/ -o rtorrent main.o libsub_root.a ui/libsub_ui.a core/libsub_core.a display/libsub_display.a input/libsub_input.a rpc/libsub_rpc.a utils/libsub_utils.a -lncursesw -L/usr/local/lib /usr/local/lib/libsigc-2.0.so -lcurl -L/usr/lib/ -pthread -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib main.o: In function input_error': /usr/local/include/torrent/exceptions.h:158: undefined reference totorrent::input_error::initialize(std::basic_string<char, std::char_traits, std::allocator > const&)' main.o: In function main': /opt/xcache/src/rtorrent-0.9.2/src/main.cc:187: undefined reference totorrent::log_initialize()' /opt/xcache/src/rtorrent-0.9.2/src/main.cc:208: undefined reference to torrent::log_add_group_output(int, char const*)' /opt/xcache/src/rtorrent-0.9.2/src/main.cc:209: undefined reference totorrent::log_add_groupoutput(int, char const)' main.o: In function std::tr1::function<torrent::Poll_ ()()>::swap(std::tr1::function<torrent::Poll* ()()>&)': /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tr1_impl/functional:1901: undefined reference totorrent::Poll::m_slot_create_poll' /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tr1_impl/functional:1902: undefined reference totorrent::Poll::m_slot_create_poll' /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tr1_impl/functional:1904: undefined reference totorrent::Poll::m_slot_create_poll' /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tr1_impl/functional:1901: undefined reference totorrent::Poll::m_slot_create_poll' /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tr1_impl/functional:1902: undefined reference totorrent::Poll::m_slot_create_poll' main.o:/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/tr1_impl/functional:1907: more undefined references totorrent::Poll::m_slot_create_poll' follow main.o: In functionmain': /opt/xcache/src/rtorrent-0.9.2/src/main.cc:213: undefined reference totorrent::initialize()' /opt/xcache/src/rtorrent-0.9.2/src/main.cc:214: undefined reference totorrent::main_thread()' /opt/xcache/src/rtorrent-0.9.2/src/main.cc:215: undefined reference totorrent::main_thread()' /opt/xcache/src/rtorrent-0.9.2/src/main.cc:226: undefined reference totorrent::log_groups' /opt/xcache/src/rtorrent-0.9.2/src/main.cc:226: undefined reference totorrent::log_groups' /opt/xcache/src/rtorrent-0.9.2/src/main.cc:226: undefined reference totorrent::log_group::internal_print(torrent::HashString const, char const, void const, unsigned long, char const, ...)' /opt/xcache/src/rtorrent-0.9.2/src/main.cc:231: undefined reference totorrent::log_groups' /opt/xcache/src/rtorrent-0.9.2/src/main.cc:231: undefined reference totorrent::log_groups' /opt/xcache/src/rtorrent-0.9.2/src/main.cc:231: undefined reference totorrent::log_group::internal_print(torrent::HashString const_, char const_, void const_, unsigned long, char const_, ...)' /opt/xcache/src/rtorrent-0.9.2/src/main.cc:236: undefined reference totorrent::log_groups' /opt/xcache/src/rtorrent-0.9.2/src/main.cc:236: undefined reference totorrent::log_groups' /opt/xcache/src/rtorrent-0.9.2/src/main.cc:236: undefined reference totorrent::log_group::internal_print(torrent::HashString const, char const, void const, unsigned long, char const, ...)' main.o: In functioninput_error': /usr/local/include/torrent/exceptions.h:157: undefined reference totorrent::input_error::initialize(std::basic_string<char, std::char_traits, std::allocator > const&)' /usr/local/include/torrent/exceptions.h:157: undefined reference totorrent::input_error::initialize(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' main.o: In functionmain': /opt/xcache/src/rtorrent-0.9.2/src/main.cc:849: undefined reference totorrent::log_groups' /opt/xcache/src/rtorrent-0.9.2/src/main.cc:849: undefined reference totorrent::log_groups' /opt/xcache/src/rtorrent-0.9.2/src/main.cc:849: undefined reference totorrent::log_group::internal_print(torrent::HashString const_, char const_, void const_, unsigned long, char const_, ...)' /opt/xcache/src/rtorrent-0.9.2/src/main.cc:872: undefined reference totorrent::main_thread()' /opt/xcache/src/rtorrent-0.9.2/src/main.cc:872: undefined reference to . . . . /opt/xcache/src/rtorrent-0.9.2/src/display/utils.cc:274: undefined reference totorrent::up_rate()' /opt/xcache/src/rtorrent-0.9.2/src/display/utils.cc:274: undefined reference totorrent::Rate::rate() const' /opt/xcache/src/rtorrent-0.9.2/src/display/utils.cc:276: undefined reference totorrent::connection_manager()' /opt/xcache/src/rtorrent-0.9.2/src/display/utils.cc:278: undefined reference totorrent::connection_manager()' display/libsub_display.a(utils.o): In functioninternal_error': /usr/local/include/torrent/exceptions.h:63: undefined reference totorrent::internal_error::initialize(std::basic_string<char, std::char_traits, std::allocator > const&)' display/libsub_display.a(utils.o): In functiondisplay::print_status_info(char_, char_)': /opt/xcache/src/rtorrent-0.9.2/src/display/utils.cc:287: undefined reference totorrent::connection_manager()' /opt/xcache/src/rtorrent-0.9.2/src/display/utils.cc:280: undefined reference totorrent::connection_manager()' /opt/xcache/src/rtorrent-0.9.2/src/display/utils.cc:270: undefined reference totorrent::down_throttle_global()' /opt/xcache/src/rtorrent-0.9.2/src/display/utils.cc:265: undefined reference totorrent::up_throttle_global()' /opt/xcache/src/rtorrent-0.9.2/src/display/utils.cc:289: undefined reference totorrent::connection_manager()' /opt/xcache/src/rtorrent-0.9.2/src/display/utils.cc:276: undefined reference totorrent::connection_manager()' /opt/xcache/src/rtorrent-0.9.2/src/display/utils.cc:276: undefined reference totorrent::connection_manager()' display/libsub_display.a(utils.o): In functiondisplay::print_download_info(char_, char_, core::Download_)': /opt/xcache/src/rtorrent-0.9.2/src/display/utils.cc:137: undefined reference totorrent::Download::info() const' display/libsub_display.a(utils.o): In functioncore::Download::is_done() const': /opt/xcache/src/rtorrent-0.9.2/src/display/./../core/download.h:81: undefined reference totorrent::Download::file_list() const' display/libsub_display.a(utils.o): In functiondisplay::print_download_info(char_, char_, core::Download_)': /opt/xcache/src/rtorrent-0.9.2/src/display/utils.cc:149: undefined reference totorrent::Download::file_list() const' /opt/xcache/src/rtorrent-0.9.2/src/display/utils.cc:149: undefined reference totorrent::Download::bytes_done() const' display/libsub_display.a(utils.o): In functioncore::Download::info() const': /opt/xcache/src/rtorrent-0.9.2/src/display/./../core/download.h:74: undefined reference totorrent::Download::info() const' /opt/xcache/src/rtorrent-0.9.2/src/display/./../core/download.h:74: undefined reference totorrent::Download::info() const' display/libsub_display.a(utils.o): In functiondisplay::print_download_info(char_, char_, core::Download_)': /opt/xcache/src/rtorrent-0.9.2/src/display/utils.cc:154: undefined reference totorrent::Rate::rate() const' display/libsub_display.a(utils.o): In functioncore::Download::info() const': /opt/xcache/src/rtorrent-0.9.2/src/display/./../core/download.h:74: undefined reference totorrent::Download::info() const' display/libsub_display.a(utils.o): In functiondisplay::print_download_info(char_, char_, core::Download_)': /opt/xcache/src/rtorrent-0.9.2/src/display/utils.cc:154: undefined reference totorrent::Rate::rate() const' /opt/xcache/src/rtorrent-0.9.2/src/display/utils.cc:156: undefined reference totorrent::Download::info() const' display/libsub_display.a(utils.o): In functioninput_error': /usr/local/include/torrent/exceptions.h:157: undefined reference totorrent::input_error::initialize(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' display/libsub_display.a(utils.o): In functiondisplay::print_download_info(char, char, core::Download)': /opt/xcache/src/rtorrent-0.9.2/src/display/utils.cc:139: undefined reference totorrent::Download::info() const' display/libsub_display.a(utils.o): In functioncore::Download::bencode()': /opt/xcache/src/rtorrent-0.9.2/src/display/./../core/download.h:103: undefined reference totorrent::Download::bencode()' display/libsub_display.a(utils.o): In functiondisplay::print_download_info(char, char, core::Download)': /opt/xcache/src/rtorrent-0.9.2/src/display/utils.cc:174: undefined reference totorrent::Object::get_key(char const_)' display/libsub_display.a(utils.o): In functionget_key_string<char [14]>': /usr/local/include/torrent/object.h:204: undefined reference totorrent::Object::get_key(char const_)' display/libsub_display.a(utils.o): In functioninput_error': /usr/local/include/torrent/exceptions.h:157: undefined reference totorrent::input_error::initialize(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' display/libsub_display.a(utils.o): In functioncore::Download::is_done() const': /opt/xcache/src/rtorrent-0.9.2/src/display/./../core/download.h:81: undefined reference totorrent::Download::file_list() const' display/libsub_display.a(utils.o): In functiondisplay::print_download_info(char, char, core::Download)': /opt/xcache/src/rtorrent-0.9.2/src/display/utils.cc:145: undefined reference totorrent::Download::file_list() const' display/libsub_display.a(utils.o): In functioncore::Download::info() const': /opt/xcache/src/rtorrent-0.9.2/src/display/./../core/download.h:74: undefined reference totorrent::Download::info() const' /opt/xcache/src/rtorrent-0.9.2/src/display/./../core/download.h:74: undefined reference totorrent::Download::info() const' display/libsub_display.a(utils.o): In functiondisplay::print_download_info(char_, char_, core::Download_)': /opt/xcache/src/rtorrent-0.9.2/src/display/utils.cc:154: undefined reference totorrent::Rate::rate() const' display/libsub_display.a(utils.o): In functioncore::Download::info() const': /opt/xcache/src/rtorrent-0.9.2/src/display/./../core/download.h:74: undefined reference totorrent::Download::info() const' display/libsub_display.a(utils.o): In functiondisplay::print_download_info(char_, char_, core::Download_)': /opt/xcache/src/rtorrent-0.9.2/src/display/utils.cc:154: undefined reference totorrent::Rate::rate() const' display/libsub_display.a(utils.o): In functioncore::Download::info() const': /opt/xcache/src/rtorrent-0.9.2/src/display/./../core/download.h:74: undefined reference totorrent::Download::info() const' /opt/xcache/src/rtorrent-0.9.2/src/display/./../core/download.h:74: undefined reference totorrent::Download::info() const' display/libsub_display.a(utils.o): In functiondisplay::print_download_info(char, char, core::Download)': /opt/xcache/src/rtorrent-0.9.2/src/display/utils.cc:154: undefined reference totorrent::Rate::rate() const' display/libsub_display.a(utils.o): In functioncore::Download::info() const': /opt/xcache/src/rtorrent-0.9.2/src/display/./../core/download.h:74: undefined reference totorrent::Download::info() const' display/libsub_display.a(utils.o): In functiondisplay::print_download_info(char, char, core::Download)': /opt/xcache/src/rtorrent-0.9.2/src/display/utils.cc:154: undefined reference totorrent::Rate::rate() const' display/libsub_display.a(utils.o): In functioninput_error': /usr/local/include/torrent/exceptions.h:157: undefined reference totorrent::input_error::initialize(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' display/libsub_display.a(utils.o): In functioninternal_error': /usr/local/include/torrent/exceptions.h:63: undefined reference totorrent::internal_error::initialize(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' display/libsub_display.a(utils.o): In functioncore::Download::is_active() const': /opt/xcache/src/rtorrent-0.9.2/src/display/./../core/download.h:80: undefined reference totorrent::Download::info() const' display/libsub_display.a(utils.o): In functioncore::Download::is_hash_checking() const': /opt/xcache/src/rtorrent-0.9.2/src/display/./../core/download.h:89: undefined reference totorrent::Download::is_hash_checking() const' display/libsub_display.a(utils.o): In functioncore::Download::tracker_list()': /opt/xcache/src/rtorrent-0.9.2/src/display/./../core/download.h:105: undefined reference totorrent::Download::tracker_list() const' display/libsub_display.a(utils.o): In functiondisplay::print_download_status(char, char, core::Download)': /opt/xcache/src/rtorrent-0.9.2/src/display/utils.cc:198: undefined reference totorrent::TrackerList::has_active_not_scrape() const' /opt/xcache/src/rtorrent-0.9.2/src/display/utils.cc:196: undefined reference totorrent::Download::chunks_hashed() const' /opt/xcache/src/rtorrent-0.9.2/src/display/utils.cc:196: undefined reference totorrent::Download::file_list() const' display/libsub_display.a(utils.o): In functioninternal_error': /usr/local/include/torrent/exceptions.h:63: undefined reference totorrent::internal_error::initialize(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' display/libsub_display.a(utils.o): In functioninput_error': /usr/local/include/torrent/exceptions.h:157: undefined reference totorrent::input_error::initialize(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' display/libsub_display.a(utils.o): In functioncore::Download::tracker_list()': /opt/xcache/src/rtorrent-0.9.2/src/display/./../core/download.h:105: undefined reference totorrent::Download::tracker_list() const' /opt/xcache/src/rtorrent-0.9.2/src/display/./../core/download.h:105: undefined reference totorrent::Download::tracker_list() const' /opt/xcache/src/rtorrent-0.9.2/src/display/./../core/download.h:105: undefined reference totorrent::Download::tracker_list() const' display/libsub_display.a(utils.o): In functioncore::Download::is_active() const': /opt/xcache/src/rtorrent-0.9.2/src/display/./../core/download.h:80: undefined reference totorrent::Download::info() const' display/libsub_display.a(text_element_list.o): In functioninternal_error': /usr/local/include/torrent/exceptions.h:63: undefined reference totorrent::internal_error::initialize(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/local/include/torrent/exceptions.h:63: undefined reference totorrent::internal_error::initialize(std::basic_string<char, std::char_traits, std::allocator > const&)' display/libsub_display.a(window_download_chunks_seen.o): In functiondisplay::WindowDownloadChunksSeen::rows() const': /opt/xcache/src/rtorrent-0.9.2/src/display/window_download_chunks_seen.cc:141: undefined reference totorrent::Download::file_list() const' display/libsub_display.a(window_download_chunks_seen.o): In functiondisplay::WindowDownloadChunksSeen::redraw()': /opt/xcache/src/rtorrent-0.9.2/src/display/window_download_chunks_seen.cc:72: undefined reference totorrent::Download::peers_accounted() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_download_chunks_seen.cc:72: undefined reference totorrent::Download::peers_complete() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_download_chunks_seen.cc:72: undefined reference totorrent::Download::file_list() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_download_chunks_seen.cc:74: undefined reference totorrent::Download::chunks_seen() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_download_chunks_seen.cc:76: undefined reference totorrent::Download::file_list() const' display/libsub_display.a(window_download_chunks_seen.o): In functioncore::Download::is_done() const': /opt/xcache/src/rtorrent-0.9.2/src/display/./../core/download.h:81: undefined reference totorrent::Download::file_list() const' display/libsub_display.a(window_download_chunks_seen.o): In functiondisplay::WindowDownloadChunksSeen::redraw()': /opt/xcache/src/rtorrent-0.9.2/src/display/window_download_chunks_seen.cc:91: undefined reference totorrent::Download::file_list() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_download_chunks_seen.cc:93: undefined reference totorrent::Download::file_list() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_download_chunks_seen.cc:94: undefined reference totorrent::Download::transfer_list() const' display/libsub_display.a(window_download_statusbar.o): In functioncore::Download::info() const': /opt/xcache/src/rtorrent-0.9.2/src/display/./../core/download.h:74: undefined reference totorrent::Download::info() const' /opt/xcache/src/rtorrent-0.9.2/src/display/./../core/download.h:74: undefined reference totorrent::Download::info() const' display/libsub_display.a(window_download_statusbar.o): In functiondisplay::WindowDownloadStatusbar::redraw()': /opt/xcache/src/rtorrent-0.9.2/src/display/window_download_statusbar.cc:86: undefined reference totorrent::Download::peers_accounted() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_download_statusbar.cc:86: undefined reference totorrent::Download::peers_complete() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_download_statusbar.cc:86: undefined reference totorrent::Download::peers_currently_interested() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_download_statusbar.cc:86: undefined reference totorrent::Download::peers_currently_unchoked() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_download_statusbar.cc:86: undefined reference totorrent::Download::downloads_max() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_download_statusbar.cc:86: undefined reference totorrent::Download::downloads_min() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_download_statusbar.cc:86: undefined reference totorrent::Download::uploads_max() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_download_statusbar.cc:86: undefined reference totorrent::Download::uploads_min() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_download_statusbar.cc:86: undefined reference totorrent::Download::connection_list()' /opt/xcache/src/rtorrent-0.9.2/src/display/window_download_statusbar.cc:86: undefined reference totorrent::Download::connection_list()' /opt/xcache/src/rtorrent-0.9.2/src/display/window_download_statusbar.cc:86: undefined reference totorrent::Download::peer_list()' /opt/xcache/src/rtorrent-0.9.2/src/display/window_download_statusbar.cc:86: undefined reference totorrent::PeerList::available_list_size() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_download_statusbar.cc:86: undefined reference totorrent::Download::connection_list()' /opt/xcache/src/rtorrent-0.9.2/src/display/window_download_statusbar.cc:94: undefined reference totorrent::Download::tracker_controller() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_download_statusbar.cc:94: undefined reference totorrent::TrackerController::seconds_to_next_timeout() const' display/libsub_display.a(window_download_statusbar.o): In functioncore::Download::tracker_list()': /opt/xcache/src/rtorrent-0.9.2/src/display/./../core/download.h:105: undefined reference totorrent::Download::tracker_list() const' display/libsub_display.a(window_download_statusbar.o): In functiondisplay::WindowDownloadStatusbar::redraw()': /opt/xcache/src/rtorrent-0.9.2/src/display/window_download_statusbar.cc:94: undefined reference totorrent::TrackerList::has_active() const' display/libsub_display.a(window_download_transfer_list.o): In functiondisplay::WindowDownloadTransferList::redraw()': /opt/xcache/src/rtorrent-0.9.2/src/display/window_download_transfer_list.cc:66: undefined reference totorrent::Download::transfer_list() const' display/libsub_display.a(window_file_list.o): In functiondisplay::WindowFileList::redraw()': /opt/xcache/src/rtorrent-0.9.2/src/display/window_file_list.cc:121: undefined reference totorrent::Download::file_list() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_file_list.cc:132: undefined reference totorrent::FileListIterator::forward_current_depth()' /opt/xcache/src/rtorrent-0.9.2/src/display/window_file_list.cc:134: undefined reference totorrent::FileListIterator::operator++()' /opt/xcache/src/rtorrent-0.9.2/src/display/window_file_list.cc:151: undefined reference totorrent::FileListIterator::backward_current_depth()' /opt/xcache/src/rtorrent-0.9.2/src/display/window_file_list.cc:169: undefined reference totorrent::FileListIterator::is_empty() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_file_list.cc:172: undefined reference totorrent::FileListIterator::is_entering() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_file_list.cc:153: undefined reference totorrent::FileListIterator::operator--()' /opt/xcache/src/rtorrent-0.9.2/src/display/window_file_list.cc:179: undefined reference totorrent::FileListIterator::is_file() const' display/libsub_display.a(window_log.o): In functiondisplay::WindowLog::find_older()': /opt/xcache/src/rtorrent-0.9.2/src/display/window_log.cc:66: undefined reference totorrent::log_buffer::find_older(int)' display/libsub_display.a(window_log.o): In functionWindowLog': /opt/xcache/src/rtorrent-0.9.2/src/display/window_log.cc:55: undefined reference totorrent::main_thread()' /opt/xcache/src/rtorrent-0.9.2/src/display/window_log.cc:55: undefined reference totorrent::signal_bitfield::add_signal(std::tr1::function<void ()()>)' /opt/xcache/src/rtorrent-0.9.2/src/display/window_log.cc:57: undefined reference totorrent::main_thread()' display/libsub_display.a(window_log.o): In functiondisplay::WindowLog::find_older()': /opt/xcache/src/rtorrent-0.9.2/src/display/window_log.cc:66: undefined reference totorrent::log_buffer::find_older(int)' display/libsub_display.a(window_peer_list.o): In functiondisplay::WindowPeerList::done_percentage(torrent::Peer_)': /opt/xcache/src/rtorrent-0.9.2/src/display/window_peer_list.cc:188: undefined reference totorrent::Download::file_list() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_peer_list.cc:190: undefined reference totorrent::Peer::chunks_done() const' display/libsub_display.a(window_peer_list.o): In functiondisplay::WindowPeerList::redraw()': /opt/xcache/src/rtorrent-0.9.2/src/display/window_peer_list.cc:98: undefined reference totorrent::Download::file_list() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_peer_list.cc:153: undefined reference totorrent::Peer::incoming_queue_size() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_peer_list.cc:153: undefined reference totorrent::Peer::outgoing_queue_size() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_peer_list.cc:159: undefined reference totorrent::Peer::transfer() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_peer_list.cc:166: undefined reference totorrent::Peer::is_snubbed() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_peer_list.cc:122: undefined reference totorrent::Peer::up_rate() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_peer_list.cc:122: undefined reference totorrent::Rate::rate() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_peer_list.cc:123: undefined reference totorrent::Peer::down_rate() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_peer_list.cc:123: undefined reference totorrent::Rate::rate() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_peer_list.cc:124: undefined reference totorrent::Peer::peer_rate() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_peer_list.cc:124: undefined reference totorrent::Rate::rate() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_peer_list.cc:129: undefined reference totorrent::Peer::is_down_choked_limited() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_peer_list.cc:150: undefined reference totorrent::Peer::is_up_interested() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_peer_list.cc:150: undefined reference totorrent::Peer::is_up_choked() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_peer_list.cc:150: undefined reference totorrent::Peer::is_down_interested() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_peer_list.cc:150: undefined reference totorrent::Peer::is_down_choked() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_peer_list.cc:150: undefined reference totorrent::Peer::is_encrypted() const' /opt/xcache/src/rtorrent-0.9.2/src/display/window_peer_list.cc:131: undefined reference totorrent::Peer::is_down_queued() const' display/libsub_display.a(window_tracker_list.o): In functioncore::Download::tracker_list()': /opt/xcache/src/rtorrent-0.9.2/src/display/./../core/download.h:105: undefined reference totorrent::Download::tracker_list() const' display/libsub_display.a(window_tracker_list.o): In functioncore::Download::tracker_controller()': /opt/xcache/src/rtorrent-0.9.2/src/display/./../core/download.h:108: undefined reference totorrent::Download::tracker_controller() const' input/libsub_input.a(manager.o): In functioninternal_error': /usr/local/include/torrent/exceptions.h:63: undefined reference totorrent::internal_error::initialize(std::basic_string<char, std::char_traits, std::allocator > const&)' rpc/libsub_rpc.a(command_map.o): In functioninput_error': /usr/local/include/torrent/exceptions.h:157: undefined reference totorrent::input_error::initialize(std::basic_string<char, std::char_traits, std::allocator > const&)' /usr/local/include/torrent/exceptions.h:158: undefined reference totorrent::input_error::initialize(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/local/include/torrent/exceptions.h:158: undefined reference totorrent::input_error::initialize(std::basic_string<char, std::char_traits, std::allocator > const&)' rpc/libsub_rpc.a(command_map.o): In functioninternal_error': /usr/local/include/torrent/exceptions.h:63: undefined reference totorrent::internal_error::initialize(std::basic_string<char, std::char_traits, std::allocator > const&)' rpc/libsub_rpc.a(command_scheduler.o): In functioninput_error': /usr/local/include/torrent/exceptions.h:157: undefined reference totorrent::input_error::initialize(std::basic_string<char, std::char_traits, std::allocator > const&)' /usr/local/include/torrent/exceptions.h:157: undefined reference totorrent::input_error::initialize(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/local/include/torrent/exceptions.h:157: undefined reference totorrent::input_error::initialize(std::basic_string<char, std::char_traits, std::allocator > const&)' /usr/local/include/torrent/exceptions.h:157: undefined reference totorrent::input_error::initialize(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' rpc/libsub_rpc.a(command_scheduler.o): In functionrpc::CommandScheduler::parse(std::basic_string<char, std::char_traits, std::allocator > const&, std::basic_string<char, std::char_traits, std::allocator > const&, std::basic_string<char, std::char_traits, std::allocator > const&, torrent::Object const&)': /opt/xcache/src/rtorrent-0.9.2/src/rpc/command_scheduler.cc:151: undefined reference totorrent::Object::operator=(torrent::Object const&)' rpc/libsub_rpc.a(command_scheduler.o): In functioninternal_error': /usr/local/include/torrent/exceptions.h:63: undefined reference totorrent::internal_error::initialize(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/local/include/torrent/exceptions.h:63: undefined reference totorrent::internal_error::initialize(std::basic_string<char, std::char_traits, std::allocator > const&)' /usr/local/include/torrent/exceptions.h:63: undefined reference totorrent::internal_error::initialize(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' rpc/libsub_rpc.a(command_scheduler_item.o): In functioninternal_error': /usr/local/include/torrent/exceptions.h:63: undefined reference totorrent::internal_error::initialize(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/local/include/torrent/exceptions.h:63: undefined reference totorrent::internal_error::initialize(std::basic_string<char, std::char_traits, std::allocator > const&)' rpc/libsub_rpc.a(exec_file.o): In functioninput_error': /usr/local/include/torrent/exceptions.h:157: undefined reference totorrent::input_error::initialize(std::basic_string<char, std::char_traits, std::allocator > const&)' rpc/libsub_rpc.a(exec_file.o): In functiontorrent::thread_base::release_global_lock()': /usr/local/include/torrent/utils/thread_base.h:163: undefined reference totorrent::thread_base::m_global' rpc/libsub_rpc.a(exec_file.o): In functiontorrent::thread_base::acquire_global_lock()': /usr/local/include/torrent/utils/thread_base.h:151: undefined reference totorrent::thread_base::m_global' /usr/local/include/torrent/utils/thread_base.h:152: undefined reference totorrent::thread_base::m_global' /usr/local/include/torrent/utils/thread_base.h:153: undefined reference totorrent::thread_base::m_global' /usr/local/include/torrent/utils/thread_base.h:151: undefined reference totorrent::thread_base::m_global' rpc/libsub_rpc.a(exec_file.o):/usr/local/include/torrent/utils/thread_base.h:152: more undefined references totorrent::thread_base::m_global' follow rpc/libsub_rpc.a(exec_file.o): In functioninternal_error': /usr/local/include/torrent/exceptions.h:63: undefined reference totorrent::internal_error::initialize(std::basic_string<char, std::char_traits, std::allocator > const&)' rpc/libsub_rpc.a(exec_file.o): In functioninput_error': /usr/local/include/torrent/exceptions.h:157: undefined reference totorrent::input_error::initialize(std::basic_string<char, std::char_traits, std::allocator > const&)' /usr/local/include/torrent/exceptions.h:157: undefined reference totorrent::input_error::initialize(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' rpc/libsub_rpc.a(object_storage.o): In functioninput_error': /usr/local/include/torrent/exceptions.h:157: undefined reference totorrent::input_error::initialize(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/local/include/torrent/exceptions.h:157: undefined reference totorrent::input_error::initialize(std::basic_string<char, std::char_traits, std::allocator > const&)' rpc/libsub_rpc.a(object_storage.o): In functionrpc::object_storage::set_function(torrent::raw_string const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': /opt/xcache/src/rtorrent-0.9.2/src/rpc/object_storage.cc:175: undefined reference totorrent::Object::operator=(torrent::Object const&)' rpc/libsub_rpc.a(object_storage.o): In functionrpc::object_storage::set_string(torrent::raw_string const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': /opt/xcache/src/rtorrent-0.9.2/src/rpc/object_storage.cc:157: undefined reference totorrent::Object::operator=(torrent::Object const&)' rpc/libsub_rpc.a(object_storage.o): In functionrpc::object_storage::set_value(torrent::raw_string const&, long)': /opt/xcache/src/rtorrent-0.9.2/src/rpc/object_storage.cc:150: undefined reference totorrent::Object::operator=(torrent::Object const&)' rpc/libsub_rpc.a(object_storage.o): In functionrpc::object_storage::set_bool(torrent::raw_string const&, long)': /opt/xcache/src/rtorrent-0.9.2/src/rpc/object_storage.cc:143: undefined reference totorrent::Object::operator=(torrent::Object const&)' rpc/libsub_rpc.a(object_storage.o): In functioninput_error': /usr/local/include/torrent/exceptions.h:157: undefined reference totorrent::input_error::initialize(std::basic_string<char, std::char_traits, std::allocator > const&)' /usr/local/include/torrent/exceptions.h:157: undefined reference totorrent::input_error::initialize(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/local/include/torrent/exceptions.h:157: undefined reference totorrent::input_error::initialize(std::basic_string<char, std::char_traits, std::allocator > const&)' /usr/local/include/torrent/exceptions.h:157: undefined reference totorrent::input_error::initialize(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/local/include/torrent/exceptions.h:157: undefined reference totorrent::input_error::initialize(std::basic_string<char, std::char_traits, std::allocator > const&)' rpc/libsub_rpc.a(object_storage.o): In functiontorrent::Object::insert_key(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, torrent::Object const&)': /usr/local/include/torrent/object.h:211: undefined reference totorrent::Object::operator=(torrent::Object const&)' rpc/libsub_rpc.a(object_storage.o): In functionrpc::object_storage::set_list(torrent::raw_string const&, std::vector<torrent::Object, std::allocator<torrent::Object> > const&)': /opt/xcache/src/rtorrent-0.9.2/src/rpc/object_storage.cc:163: undefined reference totorrent::Object::operator=(torrent::Object const&)' rpc/libsub_rpc.a(object_storage.o): In functioninput_error': /usr/local/include/torrent/exceptions.h:157: undefined reference totorrent::input_error::initialize(std::basic_string<char, std::char_traits, std::allocator > const&)' rpc/libsub_rpc.a(object_storage.o): In functionrpc::object_storage::insert(char const_, unsigned int, torrent::Object const&, unsigned int)': /opt/xcache/src/rtorrent-0.9.2/src/rpc/object_storage.cc:117: undefined reference totorrent::Object::operator=(torrent::Object const&)' /opt/xcache/src/rtorrent-0.9.2/src/rpc/object_storage.cc:102: undefined reference totorrent::Object::operator=(torrent::Object const&)' /opt/xcache/src/rtorrent-0.9.2/src/rpc/object_storage.cc:99: undefined reference totorrent::Object::operator=(torrent::Object const&)' /opt/xcache/src/rtorrent-0.9.2/src/rpc/object_storage.cc:98: undefined reference totorrent::Object::operator=(torrent::Object const&)' /opt/xcache/src/rtorrent-0.9.2/src/rpc/object_storage.cc:97: undefined reference totorrent::Object::operator=(torrent::Object const&)' rpc/libsub_rpc.a(object_storage.o): In functioninput_error': /usr/local/include/torrent/exceptions.h:157: undefined reference totorrent::input_error::initialize(std::basic_string<char, std::char_traits, std::allocator > const&)' rpc/libsub_rpc.a(parse.o): In functioninternal_error': /usr/local/include/torrent/exceptions.h:63: undefined reference totorrent::internal_error::initialize(std::basic_string<char, std::char_traits, std::allocator > const&)' /usr/local/include/torrent/exceptions.h:63: undefined reference totorrent::internal_error::initialize(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' rpc/libsub_rpc.a(parse.o): In functionrpc::parse_object(char const, char const, torrent::Object, bool ()(char))': /opt/xcache/src/rtorrent-0.9.2/src/rpc/parse.cc:224: undefined reference totorrent::Object::operator=(torrent::Object const&)' /opt/xcache/src/rtorrent-0.9.2/src/rpc/parse.cc:197: undefined reference totorrent::Object::operator=(torrent::Object const&)' /opt/xcache/src/rtorrent-0.9.2/src/rpc/parse.cc:177: undefined reference totorrent::Object::operator=(torrent::Object const&)' /opt/xcache/src/rtorrent-0.9.2/src/rpc/parse.cc:208: undefined reference totorrent::Object::operator=(torrent::Object const&)' rpc/libsub_rpc.a(parse.o): In functionrpc::parse_whole_list(char const_, char const_, torrent::Object_, bool (_)(char))': /opt/xcache/src/rtorrent-0.9.2/src/rpc/parse.cc:261: undefined reference totorrent::Object::swap(torrent::Object&)' rpc/libsub_rpc.a(parse_commands.o): In functionrpc::parse_command_execute(rpc::rt_triple<int, void*, void*>, torrent::Object_)': /opt/xcache/src/rtorrent-0.9.2/src/rpc/parse_commands.cc:111: undefined reference totorrent::Object::operator=(torrent::Object const&)' /opt/xcache/src/rtorrent-0.9.2/src/rpc/parse_commands.cc:100: undefined reference totorrent::Object::operator=(torrent::Object const&)' rpc/libsub_rpc.a(parse_commands.o): In functioninput_error': /usr/local/include/torrent/exceptions.h:157: undefined reference totorrent::input_error::initialize(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/local/include/torrent/exceptions.h:157: undefined reference totorrent::input_error::initialize(std::basic_string<char, std::char_traits, std::allocator > const&)' rpc/libsub_rpc.a(parse_commands.o): In functioninternal_error': /usr/local/include/torrent/exceptions.h:63: undefined reference totorrent::internal_error::initialize(std::basic_string<char, std::char_traits, std::allocator > const&)' rpc/libsub_rpc.a(parse_commands.o): In functioninput_error': /usr/local/include/torrent/exceptions.h:157: undefined reference totorrent::input_error::initialize(std::basic_string<char, std::char_traits, std::allocator > const&)' /usr/local/include/torrent/exceptions.h:157: undefined reference totorrent::input_error::initialize(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' rpc/libsub_rpc.a(parse_commands.o): In functionoperator=': /usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../include/c++/4.4.7/bits/stl_pair.h:68: undefined reference totorrent::Object::operator=(torrent::Object const&)' rpc/libsub_rpc.a(parse_commands.o): In functionrpc::command_base::pop_stack(rpc::command_base::stacktype, torrent::Object_)': /opt/xcache/src/rtorrent-0.9.2/src/rpc/command_impl.h:101: undefined reference to torrent::Object::swap(torrent::Object&)' rpc/libsub_rpc.a(parse_commands.o): In functionrpc::command_base::pushstack(torrent::Object const, torrent::Object const_, rpc::command_base::stacktype)': /opt/xcache/src/rtorrent-0.9.2/src/rpc/command_impl.h:85: undefined reference to torrent::Object::swap(torrent::Object&)' /opt/xcache/src/rtorrent-0.9.2/src/rpc/command_impl.h:85: undefined reference totorrent::Object::swap(torrent::Object&)' rpc/libsub_rpc.a(parse_commands.o): In function input_error': /usr/local/include/torrent/exceptions.h:157: undefined reference totorrent::input_error::initialize(std::basic_string<char, std::char_traits, std::allocator > const&)' rpc/libsub_rpc.a(parse_commands.o): In function rpc::command_base::push_stack(torrent::Object const*, torrent::Object const*, rpc::command_base::stack_type*)': /opt/xcache/src/rtorrent-0.9.2/src/rpc/command_impl.h:85: undefined reference totorrent::Object::swap(torrent::Object&)' rpc/libsub_rpc.a(parse_commands.o): In function rpc::command_base::pop_stack(rpc::command_base::stack_type*, torrent::Object*)': /opt/xcache/src/rtorrent-0.9.2/src/rpc/command_impl.h:101: undefined reference totorrent::Object::swap(torrent::Object&)' rpc/libsub_rpc.a(parse_commands.o): In function input_error': /usr/local/include/torrent/exceptions.h:157: undefined reference totorrent::input_error::initialize(std::basic_string<char, std::char_traits, std::allocator > const&)' rpc/libsub_rpc.a(parse_commands.o): In function rpc::command_base::push_stack(torrent::Object const*, torrent::Object const*, rpc::command_base::stack_type*)': /opt/xcache/src/rtorrent-0.9.2/src/rpc/command_impl.h:85: undefined reference totorrent::Object::swap(torrent::Object&)' rpc/libsub_rpc.a(parse_commands.o): In function input_error': /usr/local/include/torrent/exceptions.h:157: undefined reference totorrent::input_error::initialize(std::basic_string<char, std::char_traits, std::allocator > const&)' rpc/libsub_rpc.a(parse_commands.o): In function rpc::command_base::push_stack(torrent::Object const*, torrent::Object const*, rpc::command_base::stack_type*)': /opt/xcache/src/rtorrent-0.9.2/src/rpc/command_impl.h:85: undefined reference totorrent::Object::swap(torrent::Object&)' rpc/libsub_rpc.a(parse_commands.o): In function rpc::command_base::pop_stack(rpc::command_base::stack_type*, torrent::Object*)': /opt/xcache/src/rtorrent-0.9.2/src/rpc/command_impl.h:101: undefined reference totorrent::Object::swap(torrent::Object&)' rpc/libsub_rpc.a(parse_commands.o): In function input_error': /usr/local/include/torrent/exceptions.h:157: undefined reference totorrent::input_error::initialize(std::basic_string<char, std::char_traits, std::allocator > const&)' rpc/libsub_rpc.a(parse_commands.o): In function rpc::command_base::push_stack(torrent::Object const*, torrent::Object const*, rpc::command_base::stack_type*)': /opt/xcache/src/rtorrent-0.9.2/src/rpc/command_impl.h:85: undefined reference totorrent::Object::swap(torrent::Object&)' rpc/libsub_rpc.a(parse_commands.o): In function rpc::command_function_call_object(torrent::Object const&, rpc::rt_triple<int, void*, void*>, torrent::Object const&)': /opt/xcache/src/rtorrent-0.9.2/src/rpc/parse_commands.cc:287: undefined reference totorrent::Object::operator=(torrent::Object const&)' /opt/xcache/src/rtorrent-0.9.2/src/rpc/parse_commands.cc:294: undefined reference to torrent::Object::operator=(torrent::Object const&)' rpc/libsub_rpc.a(parse_commands.o): In functionrpc::command_base::pop_stack(rpc::command_base::stacktype, torrent::Object_)': /opt/xcache/src/rtorrent-0.9.2/src/rpc/command_impl.h:101: undefined reference to torrent::Object::swap(torrent::Object&)' rpc/libsub_rpc.a(scgi.o): In functioninternal_error': /usr/local/include/torrent/exceptions.h:63: undefined reference to torrent::internal_error::initialize(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' rpc/libsub_rpc.a(scgi.o): In functionresource_error': /usr/local/include/torrent/exceptions.h:143: undefined reference to torrent::resource_error::initialize(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' rpc/libsub_rpc.a(scgi.o): In functionrpc::SCgi::open(void_, unsigned int)': /opt/xcache/src/rtorrent-0.9.2/src/rpc/scgi.cc:115: undefined reference to torrent::connection_manager()' rpc/libsub_rpc.a(scgi.o): In function~SCgi': /opt/xcache/src/rtorrent-0.9.2/src/rpc/scgi.cc:65: undefined reference to torrent::connection_manager()' rpc/libsub_rpc.a(scgi.o): In functionresource_error': /usr/local/include/torrent/exceptions.h:143: undefined reference to torrent::resource_error::initialize(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' rpc/libsub_rpc.a(scgi.o): In functioninternal_error': /usr/local/include/torrent/exceptions.h:63: undefined reference to torrent::internal_error::initialize(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' rpc/libsub_rpc.a(scgi.o): In functiontorrent::thread_base::acquire_global_lock()': /usr/local/include/torrent/utils/thread_base.h:151: undefined reference to torrent::thread_base::m_global' /usr/local/include/torrent/utils/thread_base.h:152: undefined reference totorrent::thread_base::m_global' /usr/local/include/torrent/utils/thread_base.h:153: undefined reference to torrent::thread_base::m_global' rpc/libsub_rpc.a(scgi.o): In functiontorrent::thread_base::release_global_lock()': /usr/local/include/torrent/utils/thread_base.h:163: undefined reference to torrent::thread_base::m_global' rpc/libsub_rpc.a(scgi.o): In functionresource_error': /usr/local/include/torrent/exceptions.h:142: undefined reference to torrent::resource_error::initialize(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/local/include/torrent/exceptions.h:142: undefined reference totorrent::resource_error::initialize(std::basic_string<char, std::char_traits, std::allocator > const&)' rpc/libsub_rpc.a(scgi_task.o): In function rpc::SCgiTask::event_read()': /opt/xcache/src/rtorrent-0.9.2/src/rpc/scgi_task.cc:188: undefined reference totorrent::log_groups' /opt/xcache/src/rtorrent-0.9.2/src/rpc/scgi_task.cc:188: undefined reference to torrent::log_groups' /opt/xcache/src/rtorrent-0.9.2/src/rpc/scgi_task.cc:188: undefined reference totorrent::log_group::internalprint(torrent::HashString const, char const, void const, unsigned long, char const_, ...)' rpc/libsub_rpc.a(scgi_task.o): In function rpc::SCgiTask::receive_write(char const_, unsigned int)': /opt/xcache/src/rtorrent-0.9.2/src/rpc/scgi_task.cc:249: undefined reference totorrent::log_groups' /opt/xcache/src/rtorrent-0.9.2/src/rpc/scgi_task.cc:249: undefined reference totorrent::log_groups' /opt/xcache/src/rtorrent-0.9.2/src/rpc/scgi_task.cc:249: undefined reference totorrent::log_group::internal_print(torrent::HashString const, char const, void const, unsigned long, char const, ...)' rpc/libsub_rpc.a(scgi_task.o): In functioninternal_error': /usr/local/include/torrent/exceptions.h:63: undefined reference totorrent::internal_error::initialize(std::basic_string<char, std::char_traits, std::allocator > const&)' rpc/libsub_rpc.a(xmlrpc.o): In functionresource_error': /usr/local/include/torrent/exceptions.h:142: undefined reference totorrent::resource_error::initialize(std::basic_string<char, std::char_traits, std::allocator > const&)' utils/libsub_utils.a(directory.o): In functioninput_error': /usr/local/include/torrent/exceptions.h:157: undefined reference totorrent::input_error::initialize(std::basic_string<char, std::char_traits, std::allocator > const&)' utils/libsub_utils.a(socket_fd.o): In functioninternal_error': /usr/local/include/torrent/exceptions.h:63: undefined reference totorrent::internal_error::initialize(std::basic_string<char, std::char_traits, std::allocator > const&)' /usr/local/include/torrent/exceptions.h:63: undefined reference totorrent::internal_error::initialize(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/local/include/torrent/exceptions.h:63: undefined reference totorrent::internal_error::initialize(std::basic_string<char, std::char_traits, std::allocator > const&)' /usr/local/include/torrent/exceptions.h:63: undefined reference totorrent::internal_error::initialize(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /usr/local/include/torrent/exceptions.h:63: undefined reference totorrent::internal_error::initialize(std::basic_string<char, std::char_traits, std::allocator > const&)' utils/libsub_utils.a(socket_fd.o):/usr/local/include/torrent/exceptions.h:63: more undefined references totorrent::internal_error::initialize(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' follow collect2: ld returned 1 exit status make[3]: **\* [rtorrent] Error 1 make[3]: Leaving directory/opt/xcache/src/rtorrent-0.9.2/src' make[2]: * [all-recursive] Error 1 make[2]: Leaving directory/opt/xcache/src/rtorrent-0.9.2/src' make[1]: **\* [all-recursive] Error 1 make[1]: Leaving directory/opt/xcache/src/rtorrent-0.9.2' make: * [all] Error 2

dishather commented 10 years ago

./configure libtorrent_LIBS="-L/usr/lib/" libtorrent_CFLAGS="-I/usr/include/"

This is not quite correct.

First off, I prefer setting environment variables before calling configure - this way it always works as expected. I had some issues setting env. variables from arguments to configure, though I do not remember the details.

And second, you're mixing up the variables. Look:

Here is how I build rtorrent myself. Note that I make a static build, so I did not install libtorrent. Instead, I use paths to directories where the library has been built:

----- cut build.sh -----

!/bin/bash

pushd rtorrent-0.9.4 LDFLAGS='-L/home/user/third_party/lib -L/home/user/scratchpad/libtorrent-0.13.4/src/.libs' CPPFLAGS=-I/home/user/third_party/include libcurl_CFLAGS=-DCURL_STATICLIB libcurl_LIBS=-lcurl libtorrent_CFLAGS=-I/home/user/scratchpad/libtorrent-0.13.4/src libtorrent_LIBS='-ltorrent -lssl -lcrypto -lz' ./configure || exit 1 make || exit 1 popd ----- cut build.sh -----