Compiling libtorrent and Deluge on fresh Debian Squeeze

General support for problems installing or using Deluge
Post Reply
El_Barto
New User
New User
Posts: 3
Joined: Sun Feb 10, 2013 12:38 am

Compiling libtorrent and Deluge on fresh Debian Squeeze

Post by El_Barto »

Hi,
I'm planning to get a server in a few weeks, so I'm practicing building newest libtorrent and Deluge on my Virtualbox with Debian Squeeze so I don't **** things up when it counts :roll:

What do I want: Newest libtorrent + Deluge on fresh Debian 6.0 64-bit; daemon only to connect via ThinClient

So I read a few things and then I tried to do it. I guess everything is working for now, but the libtorrent build spit out MANY warnings, so that's why I'm confused. I just show you what I did, maybe I made a mistake or forgot something. Please remember that it's an absolutely fresh Debian install.

At first I installed the libboost stuff. I hope it was the right one, there were many...

Code: Select all

sudo apt-get install libboost-all-dev
Then I downloaded the newest libtorrent-rasterbar and extraced it. After that:

Code: Select all

./configure --enable-python-binding
make
make install
Make took an eternity and at some points it printed out crazy stuff. After that I followed the install from source wiki, but when it came to the dependencies I left out "python-libtorrent", the rest I installed. So did I do everything OK? I also have a few other questions:

1. What is the init script for? I just want to start the daemon at boot, is it THAT complicated? I mean I just could write "deluged" and that would be it...
2. What user should run deluged when I'm on a dedicated server. My main user which is also in the sudoers list? Or ist that insecure? Should I create an extra user to run deluge as and to manage my torrents via sftp? Actually I would like my torrents downloaded to my main user's home directory, but how could I do that without changing the permissions when I have an extra "deluge" user?! --> Is that even necessary for security purposes?
3. What do I have to do when I want to update libtorrent? Is the code mentioned above OK? I read about renewing some bindings between deluge and libtorrent after updating.

Sorry about the questions, I'm like new to linux, but I just want to prepare everything so I don't screw up my server when I get it :)

Thanks!
El_Barto
New User
New User
Posts: 3
Joined: Sun Feb 10, 2013 12:38 am

Re: Compiling libtorrent and Deluge on fresh Debian Squeeze

Post by El_Barto »

Hi,
below is my make output, it would be really nice if someone could tell me what this is about and if it's normal.

Code: Select all

  CXX      web_connection_base.lo
  CXX      alert.lo
  CXX      allocator.lo
  CXX      asio.lo
  CXX      assert.lo
  CXX      bandwidth_limit.lo
  CXX      bandwidth_manager.lo
  CXX      bandwidth_queue_entry.lo
  CXX      bloom_filter.lo
  CXX      broadcast_socket.lo
  CXX      bt_peer_connection.lo
  CXX      chained_buffer.lo
  CXX      connection_queue.lo
  CXX      ConvertUTF.lo
  CXX      create_torrent.lo
  CXX      disk_buffer_holder.lo
  CXX      disk_buffer_pool.lo
  CXX      disk_io_thread.lo
  CXX      entry.lo
  CXX      enum_net.lo
  CXX      error_code.lo
  CXX      escape_string.lo
  CXX      file.lo
  CXX      file_pool.lo
  CXX      file_storage.lo
  CXX      gzip.lo
  CXX      http_connection.lo
  CXX      http_parser.lo
  CXX      http_seed_connection.lo
  CXX      http_stream.lo
  CXX      http_tracker_connection.lo
  CXX      i2p_stream.lo
  CXX      identify_client.lo
  CXX      instantiate_connection.lo
  CXX      ip_filter.lo
  CXX      lazy_bdecode.lo
  CXX      logger.lo
  CXX      lsd.lo
  CXX      lt_trackers.lo
  CXX      magnet_uri.lo
magnet_uri.cpp: In function 'libtorrent::torrent_handle libtorrent::add_magnet_uri(libtorrent::session&, const std::string&, const std::string&, libtorrent::storage_mode_t, bool, libtorrent::storage_constructor_type, void*)':
magnet_uri.cpp:121: warning: 'libtorrent::torrent_handle libtorrent::session::add_torrent(const char*, const libtorrent::sha1_hash&, const char*, const std::string&, const libtorrent::entry&, libtorrent::storage_mode_t, bool, libtorrent::storage_constructor_type, void*)' is deprecated (declared at ../include/libtorrent/session.hpp:234)
magnet_uri.cpp: In function 'libtorrent::torrent_handle libtorrent::add_magnet_uri(libtorrent::session&, const std::string&, libtorrent::add_torrent_params)':
magnet_uri.cpp:128: warning: 'libtorrent::torrent_handle libtorrent::add_magnet_uri(libtorrent::session&, const std::string&, libtorrent::add_torrent_params, boost::system::error_code&)' is deprecated (declared at ../include/libtorrent/magnet_uri.hpp:68)
  CXX      metadata_transfer.lo
  CC       mpi.lo
cc1: warning: command line option "-ftemplate-depth-100" is valid for C++/ObjC++ but not for C
  CXX      natpmp.lo
  CXX      parse_url.lo
  CXX      pe_crypto.lo
  CXX      peer_connection.lo
  CXX      piece_picker.lo
  CXX      packet_buffer.lo
  CXX      policy.lo
  CXX      puff.lo
  CXX      random.lo
  CXX      rsa.lo
  CXX      rss.lo
rss.cpp:435: warning: invalid access to non-static data member 'libtorrent::feed_settings::url'  of NULL object
rss.cpp:435: warning: (perhaps the 'offsetof' macro was used incorrectly)
rss.cpp:436: warning: invalid access to non-static data member 'libtorrent::feed_settings::auto_download'  of NULL object
rss.cpp:436: warning: (perhaps the 'offsetof' macro was used incorrectly)
rss.cpp:437: warning: invalid access to non-static data member 'libtorrent::feed_settings::auto_map_handles'  of NULL object
rss.cpp:437: warning: (perhaps the 'offsetof' macro was used incorrectly)
rss.cpp:438: warning: invalid access to non-static data member 'libtorrent::feed_settings::default_ttl'  of NULL object
rss.cpp:438: warning: (perhaps the 'offsetof' macro was used incorrectly)
rss.cpp:445: warning: invalid access to non-static data member 'libtorrent::feed_item::url'  of NULL object
rss.cpp:445: warning: (perhaps the 'offsetof' macro was used incorrectly)
rss.cpp:446: warning: invalid access to non-static data member 'libtorrent::feed_item::uuid'  of NULL object
rss.cpp:446: warning: (perhaps the 'offsetof' macro was used incorrectly)
rss.cpp:447: warning: invalid access to non-static data member 'libtorrent::feed_item::title'  of NULL object
rss.cpp:447: warning: (perhaps the 'offsetof' macro was used incorrectly)
rss.cpp:448: warning: invalid access to non-static data member 'libtorrent::feed_item::description'  of NULL object
rss.cpp:448: warning: (perhaps the 'offsetof' macro was used incorrectly)
rss.cpp:449: warning: invalid access to non-static data member 'libtorrent::feed_item::comment'  of NULL object
rss.cpp:449: warning: (perhaps the 'offsetof' macro was used incorrectly)
rss.cpp:450: warning: invalid access to non-static data member 'libtorrent::feed_item::category'  of NULL object
rss.cpp:450: warning: (perhaps the 'offsetof' macro was used incorrectly)
rss.cpp:451: warning: invalid access to non-static data member 'libtorrent::feed_item::size'  of NULL object
rss.cpp:451: warning: (perhaps the 'offsetof' macro was used incorrectly)
rss.cpp:458: warning: invalid access to non-static data member 'libtorrent::feed::m_title'  of NULL object
rss.cpp:458: warning: (perhaps the 'offsetof' macro was used incorrectly)
rss.cpp:459: warning: invalid access to non-static data member 'libtorrent::feed::m_description'  of NULL object
rss.cpp:459: warning: (perhaps the 'offsetof' macro was used incorrectly)
rss.cpp:460: warning: invalid access to non-static data member 'libtorrent::feed::m_last_attempt'  of NULL object
rss.cpp:460: warning: (perhaps the 'offsetof' macro was used incorrectly)
rss.cpp:461: warning: invalid access to non-static data member 'libtorrent::feed::m_last_update'  of NULL object
rss.cpp:461: warning: (perhaps the 'offsetof' macro was used incorrectly)
rss.cpp:468: warning: invalid access to non-static data member 'libtorrent::add_torrent_params::save_path'  of NULL object
rss.cpp:468: warning: (perhaps the 'offsetof' macro was used incorrectly)
rss.cpp:469: warning: invalid access to non-static data member 'libtorrent::add_torrent_params::flags'  of NULL object
rss.cpp:469: warning: (perhaps the 'offsetof' macro was used incorrectly)
  CXX      session.lo
  CXX      session_impl.lo
session_impl.cpp:284: warning: invalid access to non-static data member 'libtorrent::session_settings::user_agent'  of NULL object
session_impl.cpp:284: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:285: warning: invalid access to non-static data member 'libtorrent::session_settings::tracker_completion_timeout'  of NULL object
session_impl.cpp:285: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:286: warning: invalid access to non-static data member 'libtorrent::session_settings::tracker_receive_timeout'  of NULL object
session_impl.cpp:286: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:287: warning: invalid access to non-static data member 'libtorrent::session_settings::stop_tracker_timeout'  of NULL object
session_impl.cpp:287: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:288: warning: invalid access to non-static data member 'libtorrent::session_settings::tracker_maximum_response_length'  of NULL object
session_impl.cpp:288: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:289: warning: invalid access to non-static data member 'libtorrent::session_settings::piece_timeout'  of NULL object
session_impl.cpp:289: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:290: warning: invalid access to non-static data member 'libtorrent::session_settings::request_timeout'  of NULL object
session_impl.cpp:290: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:291: warning: invalid access to non-static data member 'libtorrent::session_settings::request_queue_time'  of NULL object
session_impl.cpp:291: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:292: warning: invalid access to non-static data member 'libtorrent::session_settings::max_allowed_in_request_queue'  of NULL object
session_impl.cpp:292: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:293: warning: invalid access to non-static data member 'libtorrent::session_settings::max_out_request_queue'  of NULL object
session_impl.cpp:293: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:294: warning: invalid access to non-static data member 'libtorrent::session_settings::whole_pieces_threshold'  of NULL object
session_impl.cpp:294: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:295: warning: invalid access to non-static data member 'libtorrent::session_settings::peer_timeout'  of NULL object
session_impl.cpp:295: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:296: warning: invalid access to non-static data member 'libtorrent::session_settings::urlseed_timeout'  of NULL object
session_impl.cpp:296: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:297: warning: invalid access to non-static data member 'libtorrent::session_settings::urlseed_pipeline_size'  of NULL object
session_impl.cpp:297: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:298: warning: invalid access to non-static data member 'libtorrent::session_settings::urlseed_wait_retry'  of NULL object
session_impl.cpp:298: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:299: warning: invalid access to non-static data member 'libtorrent::session_settings::file_pool_size'  of NULL object
session_impl.cpp:299: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:300: warning: invalid access to non-static data member 'libtorrent::session_settings::allow_multiple_connections_per_ip'  of NULL object
session_impl.cpp:300: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:301: warning: invalid access to non-static data member 'libtorrent::session_settings::max_failcount'  of NULL object
session_impl.cpp:301: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:302: warning: invalid access to non-static data member 'libtorrent::session_settings::min_reconnect_time'  of NULL object
session_impl.cpp:302: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:303: warning: invalid access to non-static data member 'libtorrent::session_settings::peer_connect_timeout'  of NULL object
session_impl.cpp:303: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:304: warning: invalid access to non-static data member 'libtorrent::session_settings::ignore_limits_on_local_network'  of NULL object
session_impl.cpp:304: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:305: warning: invalid access to non-static data member 'libtorrent::session_settings::connection_speed'  of NULL object
session_impl.cpp:305: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:306: warning: invalid access to non-static data member 'libtorrent::session_settings::send_redundant_have'  of NULL object
session_impl.cpp:306: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:307: warning: invalid access to non-static data member 'libtorrent::session_settings::lazy_bitfields'  of NULL object
session_impl.cpp:307: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:308: warning: invalid access to non-static data member 'libtorrent::session_settings::inactivity_timeout'  of NULL object
session_impl.cpp:308: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:309: warning: invalid access to non-static data member 'libtorrent::session_settings::unchoke_interval'  of NULL object
session_impl.cpp:309: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:310: warning: invalid access to non-static data member 'libtorrent::session_settings::optimistic_unchoke_interval'  of NULL object
session_impl.cpp:310: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:311: warning: invalid access to non-static data member 'libtorrent::session_settings::announce_ip'  of NULL object
session_impl.cpp:311: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:312: warning: invalid access to non-static data member 'libtorrent::session_settings::num_want'  of NULL object
session_impl.cpp:312: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:313: warning: invalid access to non-static data member 'libtorrent::session_settings::initial_picker_threshold'  of NULL object
session_impl.cpp:313: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:314: warning: invalid access to non-static data member 'libtorrent::session_settings::allowed_fast_set_size'  of NULL object
session_impl.cpp:314: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:315: warning: invalid access to non-static data member 'libtorrent::session_settings::suggest_mode'  of NULL object
session_impl.cpp:315: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:316: warning: invalid access to non-static data member 'libtorrent::session_settings::max_queued_disk_bytes'  of NULL object
session_impl.cpp:316: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:317: warning: invalid access to non-static data member 'libtorrent::session_settings::max_queued_disk_bytes_low_watermark'  of NULL object
session_impl.cpp:317: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:318: warning: invalid access to non-static data member 'libtorrent::session_settings::handshake_timeout'  of NULL object
session_impl.cpp:318: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:320: warning: invalid access to non-static data member 'libtorrent::session_settings::use_dht_as_fallback'  of NULL object
session_impl.cpp:320: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:322: warning: invalid access to non-static data member 'libtorrent::session_settings::free_torrent_hashes'  of NULL object
session_impl.cpp:322: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:323: warning: invalid access to non-static data member 'libtorrent::session_settings::upnp_ignore_nonrouters'  of NULL object
session_impl.cpp:323: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:324: warning: invalid access to non-static data member 'libtorrent::session_settings::send_buffer_low_watermark'  of NULL object
session_impl.cpp:324: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:325: warning: invalid access to non-static data member 'libtorrent::session_settings::send_buffer_watermark'  of NULL object
session_impl.cpp:325: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:327: warning: invalid access to non-static data member 'libtorrent::session_settings::auto_upload_slots'  of NULL object
session_impl.cpp:327: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:328: warning: invalid access to non-static data member 'libtorrent::session_settings::auto_upload_slots_rate_based'  of NULL object
session_impl.cpp:328: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:330: warning: invalid access to non-static data member 'libtorrent::session_settings::choking_algorithm'  of NULL object
session_impl.cpp:330: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:331: warning: invalid access to non-static data member 'libtorrent::session_settings::seed_choking_algorithm'  of NULL object
session_impl.cpp:331: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:332: warning: invalid access to non-static data member 'libtorrent::session_settings::use_parole_mode'  of NULL object
session_impl.cpp:332: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:333: warning: invalid access to non-static data member 'libtorrent::session_settings::cache_size'  of NULL object
session_impl.cpp:333: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:334: warning: invalid access to non-static data member 'libtorrent::session_settings::cache_buffer_chunk_size'  of NULL object
session_impl.cpp:334: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:335: warning: invalid access to non-static data member 'libtorrent::session_settings::cache_expiry'  of NULL object
session_impl.cpp:335: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:336: warning: invalid access to non-static data member 'libtorrent::session_settings::use_read_cache'  of NULL object
session_impl.cpp:336: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:337: warning: invalid access to non-static data member 'libtorrent::session_settings::explicit_read_cache'  of NULL object
session_impl.cpp:337: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:338: warning: invalid access to non-static data member 'libtorrent::session_settings::disk_io_write_mode'  of NULL object
session_impl.cpp:338: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:339: warning: invalid access to non-static data member 'libtorrent::session_settings::disk_io_read_mode'  of NULL object
session_impl.cpp:339: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:340: warning: invalid access to non-static data member 'libtorrent::session_settings::coalesce_reads'  of NULL object
session_impl.cpp:340: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:341: warning: invalid access to non-static data member 'libtorrent::session_settings::coalesce_writes'  of NULL object
session_impl.cpp:341: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:342: warning: invalid access to non-static data member 'libtorrent::session_settings::peer_tos'  of NULL object
session_impl.cpp:342: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:343: warning: invalid access to non-static data member 'libtorrent::session_settings::active_downloads'  of NULL object
session_impl.cpp:343: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:344: warning: invalid access to non-static data member 'libtorrent::session_settings::active_seeds'  of NULL object
session_impl.cpp:344: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:345: warning: invalid access to non-static data member 'libtorrent::session_settings::active_dht_limit'  of NULL object
session_impl.cpp:345: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:346: warning: invalid access to non-static data member 'libtorrent::session_settings::active_tracker_limit'  of NULL object
session_impl.cpp:346: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:347: warning: invalid access to non-static data member 'libtorrent::session_settings::active_lsd_limit'  of NULL object
session_impl.cpp:347: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:348: warning: invalid access to non-static data member 'libtorrent::session_settings::active_limit'  of NULL object
session_impl.cpp:348: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:349: warning: invalid access to non-static data member 'libtorrent::session_settings::auto_manage_prefer_seeds'  of NULL object
session_impl.cpp:349: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:350: warning: invalid access to non-static data member 'libtorrent::session_settings::dont_count_slow_torrents'  of NULL object
session_impl.cpp:350: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:351: warning: invalid access to non-static data member 'libtorrent::session_settings::auto_manage_interval'  of NULL object
session_impl.cpp:351: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:352: warning: invalid access to non-static data member 'libtorrent::session_settings::share_ratio_limit'  of NULL object
session_impl.cpp:352: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:353: warning: invalid access to non-static data member 'libtorrent::session_settings::seed_time_ratio_limit'  of NULL object
session_impl.cpp:353: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:354: warning: invalid access to non-static data member 'libtorrent::session_settings::seed_time_limit'  of NULL object
session_impl.cpp:354: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:355: warning: invalid access to non-static data member 'libtorrent::session_settings::peer_turnover'  of NULL object
session_impl.cpp:355: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:356: warning: invalid access to non-static data member 'libtorrent::session_settings::peer_turnover_cutoff'  of NULL object
session_impl.cpp:356: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:357: warning: invalid access to non-static data member 'libtorrent::session_settings::close_redundant_connections'  of NULL object
session_impl.cpp:357: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:358: warning: invalid access to non-static data member 'libtorrent::session_settings::auto_scrape_interval'  of NULL object
session_impl.cpp:358: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:359: warning: invalid access to non-static data member 'libtorrent::session_settings::auto_scrape_min_interval'  of NULL object
session_impl.cpp:359: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:360: warning: invalid access to non-static data member 'libtorrent::session_settings::max_peerlist_size'  of NULL object
session_impl.cpp:360: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:361: warning: invalid access to non-static data member 'libtorrent::session_settings::max_paused_peerlist_size'  of NULL object
session_impl.cpp:361: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:362: warning: invalid access to non-static data member 'libtorrent::session_settings::min_announce_interval'  of NULL object
session_impl.cpp:362: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:363: warning: invalid access to non-static data member 'libtorrent::session_settings::prioritize_partial_pieces'  of NULL object
session_impl.cpp:363: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:364: warning: invalid access to non-static data member 'libtorrent::session_settings::auto_manage_startup'  of NULL object
session_impl.cpp:364: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:365: warning: invalid access to non-static data member 'libtorrent::session_settings::rate_limit_ip_overhead'  of NULL object
session_impl.cpp:365: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:366: warning: invalid access to non-static data member 'libtorrent::session_settings::announce_to_all_trackers'  of NULL object
session_impl.cpp:366: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:367: warning: invalid access to non-static data member 'libtorrent::session_settings::announce_to_all_tiers'  of NULL object
session_impl.cpp:367: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:368: warning: invalid access to non-static data member 'libtorrent::session_settings::prefer_udp_trackers'  of NULL object
session_impl.cpp:368: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:369: warning: invalid access to non-static data member 'libtorrent::session_settings::strict_super_seeding'  of NULL object
session_impl.cpp:369: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:370: warning: invalid access to non-static data member 'libtorrent::session_settings::seeding_piece_quota'  of NULL object
session_impl.cpp:370: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:371: warning: invalid access to non-static data member 'libtorrent::session_settings::max_sparse_regions'  of NULL object
session_impl.cpp:371: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:373: warning: invalid access to non-static data member 'libtorrent::session_settings::lock_disk_cache'  of NULL object
session_impl.cpp:373: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:375: warning: invalid access to non-static data member 'libtorrent::session_settings::max_rejects'  of NULL object
session_impl.cpp:375: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:376: warning: invalid access to non-static data member 'libtorrent::session_settings::recv_socket_buffer_size'  of NULL object
session_impl.cpp:376: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:377: warning: invalid access to non-static data member 'libtorrent::session_settings::send_socket_buffer_size'  of NULL object
session_impl.cpp:377: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:378: warning: invalid access to non-static data member 'libtorrent::session_settings::optimize_hashing_for_speed'  of NULL object
session_impl.cpp:378: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:379: warning: invalid access to non-static data member 'libtorrent::session_settings::file_checks_delay_per_block'  of NULL object
session_impl.cpp:379: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:380: warning: invalid access to non-static data member 'libtorrent::session_settings::disk_cache_algorithm'  of NULL object
session_impl.cpp:380: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:381: warning: invalid access to non-static data member 'libtorrent::session_settings::read_cache_line_size'  of NULL object
session_impl.cpp:381: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:382: warning: invalid access to non-static data member 'libtorrent::session_settings::write_cache_line_size'  of NULL object
session_impl.cpp:382: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:383: warning: invalid access to non-static data member 'libtorrent::session_settings::optimistic_disk_retry'  of NULL object
session_impl.cpp:383: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:384: warning: invalid access to non-static data member 'libtorrent::session_settings::disable_hash_checks'  of NULL object
session_impl.cpp:384: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:385: warning: invalid access to non-static data member 'libtorrent::session_settings::allow_reordered_disk_operations'  of NULL object
session_impl.cpp:385: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:386: warning: invalid access to non-static data member 'libtorrent::session_settings::allow_i2p_mixed'  of NULL object
session_impl.cpp:386: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:387: warning: invalid access to non-static data member 'libtorrent::session_settings::max_suggest_pieces'  of NULL object
session_impl.cpp:387: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:388: warning: invalid access to non-static data member 'libtorrent::session_settings::drop_skipped_requests'  of NULL object
session_impl.cpp:388: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:389: warning: invalid access to non-static data member 'libtorrent::session_settings::low_prio_disk'  of NULL object
session_impl.cpp:389: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:390: warning: invalid access to non-static data member 'libtorrent::session_settings::local_service_announce_interval'  of NULL object
session_impl.cpp:390: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:391: warning: invalid access to non-static data member 'libtorrent::session_settings::dht_announce_interval'  of NULL object
session_impl.cpp:391: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:392: warning: invalid access to non-static data member 'libtorrent::session_settings::udp_tracker_token_expiry'  of NULL object
session_impl.cpp:392: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:393: warning: invalid access to non-static data member 'libtorrent::session_settings::volatile_read_cache'  of NULL object
session_impl.cpp:393: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:394: warning: invalid access to non-static data member 'libtorrent::session_settings::guided_read_cache'  of NULL object
session_impl.cpp:394: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:395: warning: invalid access to non-static data member 'libtorrent::session_settings::default_cache_min_age'  of NULL object
session_impl.cpp:395: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:396: warning: invalid access to non-static data member 'libtorrent::session_settings::num_optimistic_unchoke_slots'  of NULL object
session_impl.cpp:396: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:397: warning: invalid access to non-static data member 'libtorrent::session_settings::no_atime_storage'  of NULL object
session_impl.cpp:397: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:398: warning: invalid access to non-static data member 'libtorrent::session_settings::default_est_reciprocation_rate'  of NULL object
session_impl.cpp:398: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:399: warning: invalid access to non-static data member 'libtorrent::session_settings::increase_est_reciprocation_rate'  of NULL object
session_impl.cpp:399: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:400: warning: invalid access to non-static data member 'libtorrent::session_settings::decrease_est_reciprocation_rate'  of NULL object
session_impl.cpp:400: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:401: warning: invalid access to non-static data member 'libtorrent::session_settings::incoming_starts_queued_torrents'  of NULL object
session_impl.cpp:401: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:402: warning: invalid access to non-static data member 'libtorrent::session_settings::report_true_downloaded'  of NULL object
session_impl.cpp:402: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:403: warning: invalid access to non-static data member 'libtorrent::session_settings::strict_end_game_mode'  of NULL object
session_impl.cpp:403: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:404: warning: invalid access to non-static data member 'libtorrent::session_settings::broadcast_lsd'  of NULL object
session_impl.cpp:404: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:405: warning: invalid access to non-static data member 'libtorrent::session_settings::enable_outgoing_utp'  of NULL object
session_impl.cpp:405: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:406: warning: invalid access to non-static data member 'libtorrent::session_settings::enable_incoming_utp'  of NULL object
session_impl.cpp:406: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:407: warning: invalid access to non-static data member 'libtorrent::session_settings::enable_outgoing_tcp'  of NULL object
session_impl.cpp:407: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:408: warning: invalid access to non-static data member 'libtorrent::session_settings::enable_incoming_tcp'  of NULL object
session_impl.cpp:408: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:409: warning: invalid access to non-static data member 'libtorrent::session_settings::max_pex_peers'  of NULL object
session_impl.cpp:409: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:410: warning: invalid access to non-static data member 'libtorrent::session_settings::ignore_resume_timestamps'  of NULL object
session_impl.cpp:410: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:411: warning: invalid access to non-static data member 'libtorrent::session_settings::no_recheck_incomplete_resume'  of NULL object
session_impl.cpp:411: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:412: warning: invalid access to non-static data member 'libtorrent::session_settings::anonymous_mode'  of NULL object
session_impl.cpp:412: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:413: warning: invalid access to non-static data member 'libtorrent::session_settings::tick_interval'  of NULL object
session_impl.cpp:413: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:414: warning: invalid access to non-static data member 'libtorrent::session_settings::report_web_seed_downloads'  of NULL object
session_impl.cpp:414: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:415: warning: invalid access to non-static data member 'libtorrent::session_settings::share_mode_target'  of NULL object
session_impl.cpp:415: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:416: warning: invalid access to non-static data member 'libtorrent::session_settings::upload_rate_limit'  of NULL object
session_impl.cpp:416: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:417: warning: invalid access to non-static data member 'libtorrent::session_settings::download_rate_limit'  of NULL object
session_impl.cpp:417: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:418: warning: invalid access to non-static data member 'libtorrent::session_settings::local_upload_rate_limit'  of NULL object
session_impl.cpp:418: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:419: warning: invalid access to non-static data member 'libtorrent::session_settings::local_download_rate_limit'  of NULL object
session_impl.cpp:419: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:420: warning: invalid access to non-static data member 'libtorrent::session_settings::dht_upload_rate_limit'  of NULL object
session_impl.cpp:420: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:421: warning: invalid access to non-static data member 'libtorrent::session_settings::unchoke_slots_limit'  of NULL object
session_impl.cpp:421: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:422: warning: invalid access to non-static data member 'libtorrent::session_settings::half_open_limit'  of NULL object
session_impl.cpp:422: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:423: warning: invalid access to non-static data member 'libtorrent::session_settings::connections_limit'  of NULL object
session_impl.cpp:423: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:424: warning: invalid access to non-static data member 'libtorrent::session_settings::utp_target_delay'  of NULL object
session_impl.cpp:424: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:425: warning: invalid access to non-static data member 'libtorrent::session_settings::utp_gain_factor'  of NULL object
session_impl.cpp:425: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:426: warning: invalid access to non-static data member 'libtorrent::session_settings::utp_syn_resends'  of NULL object
session_impl.cpp:426: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:427: warning: invalid access to non-static data member 'libtorrent::session_settings::utp_fin_resends'  of NULL object
session_impl.cpp:427: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:428: warning: invalid access to non-static data member 'libtorrent::session_settings::utp_num_resends'  of NULL object
session_impl.cpp:428: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:429: warning: invalid access to non-static data member 'libtorrent::session_settings::utp_connect_timeout'  of NULL object
session_impl.cpp:429: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:430: warning: invalid access to non-static data member 'libtorrent::session_settings::utp_delayed_ack'  of NULL object
session_impl.cpp:430: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:431: warning: invalid access to non-static data member 'libtorrent::session_settings::utp_dynamic_sock_buf'  of NULL object
session_impl.cpp:431: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:432: warning: invalid access to non-static data member 'libtorrent::session_settings::mixed_mode_algorithm'  of NULL object
session_impl.cpp:432: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:433: warning: invalid access to non-static data member 'libtorrent::session_settings::rate_limit_utp'  of NULL object
session_impl.cpp:433: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:434: warning: invalid access to non-static data member 'libtorrent::session_settings::listen_queue_size'  of NULL object
session_impl.cpp:434: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:435: warning: invalid access to non-static data member 'libtorrent::session_settings::announce_double_nat'  of NULL object
session_impl.cpp:435: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:436: warning: invalid access to non-static data member 'libtorrent::session_settings::torrent_connect_boost'  of NULL object
session_impl.cpp:436: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:437: warning: invalid access to non-static data member 'libtorrent::session_settings::seeding_outgoing_connections'  of NULL object
session_impl.cpp:437: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:438: warning: invalid access to non-static data member 'libtorrent::session_settings::no_connect_privileged_ports'  of NULL object
session_impl.cpp:438: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:439: warning: invalid access to non-static data member 'libtorrent::session_settings::alert_queue_size'  of NULL object
session_impl.cpp:439: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:440: warning: invalid access to non-static data member 'libtorrent::session_settings::max_metadata_size'  of NULL object
session_impl.cpp:440: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:441: warning: invalid access to non-static data member 'libtorrent::session_settings::smooth_connects'  of NULL object
session_impl.cpp:441: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:442: warning: invalid access to non-static data member 'libtorrent::session_settings::always_send_user_agent'  of NULL object
session_impl.cpp:442: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:443: warning: invalid access to non-static data member 'libtorrent::session_settings::apply_ip_filter_to_trackers'  of NULL object
session_impl.cpp:443: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:444: warning: invalid access to non-static data member 'libtorrent::session_settings::read_job_every'  of NULL object
session_impl.cpp:444: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:445: warning: invalid access to non-static data member 'libtorrent::session_settings::use_disk_read_ahead'  of NULL object
session_impl.cpp:445: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:446: warning: invalid access to non-static data member 'libtorrent::session_settings::lock_files'  of NULL object
session_impl.cpp:446: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:447: warning: invalid access to non-static data member 'libtorrent::session_settings::ssl_listen'  of NULL object
session_impl.cpp:447: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:448: warning: invalid access to non-static data member 'libtorrent::session_settings::tracker_backoff'  of NULL object
session_impl.cpp:448: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:456: warning: invalid access to non-static data member 'libtorrent::proxy_settings::hostname'  of NULL object
session_impl.cpp:456: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:457: warning: invalid access to non-static data member 'libtorrent::proxy_settings::port'  of NULL object
session_impl.cpp:457: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:458: warning: invalid access to non-static data member 'libtorrent::proxy_settings::username'  of NULL object
session_impl.cpp:458: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:459: warning: invalid access to non-static data member 'libtorrent::proxy_settings::password'  of NULL object
session_impl.cpp:459: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:460: warning: invalid access to non-static data member 'libtorrent::proxy_settings::type'  of NULL object
session_impl.cpp:460: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:461: warning: invalid access to non-static data member 'libtorrent::proxy_settings::proxy_hostnames'  of NULL object
session_impl.cpp:461: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:462: warning: invalid access to non-static data member 'libtorrent::proxy_settings::proxy_peer_connections'  of NULL object
session_impl.cpp:462: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:470: warning: invalid access to non-static data member 'libtorrent::dht_settings::max_peers_reply'  of NULL object
session_impl.cpp:470: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:471: warning: invalid access to non-static data member 'libtorrent::dht_settings::search_branching'  of NULL object
session_impl.cpp:471: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:473: warning: invalid access to non-static data member 'libtorrent::dht_settings::service_port'  of NULL object
session_impl.cpp:473: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:475: warning: invalid access to non-static data member 'libtorrent::dht_settings::max_fail_count'  of NULL object
session_impl.cpp:475: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:476: warning: invalid access to non-static data member 'libtorrent::dht_settings::max_torrent_search_reply'  of NULL object
session_impl.cpp:476: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:485: warning: invalid access to non-static data member 'libtorrent::pe_settings::out_enc_policy'  of NULL object
session_impl.cpp:485: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:486: warning: invalid access to non-static data member 'libtorrent::pe_settings::in_enc_policy'  of NULL object
session_impl.cpp:486: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:487: warning: invalid access to non-static data member 'libtorrent::pe_settings::allowed_enc_level'  of NULL object
session_impl.cpp:487: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:488: warning: invalid access to non-static data member 'libtorrent::pe_settings::prefer_rc4'  of NULL object
session_impl.cpp:488: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:523: warning: invalid access to non-static data member 'libtorrent::aux::session_impl::m_settings'  of NULL object
session_impl.cpp:523: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:523: warning: invalid access to non-static data member 'libtorrent::aux::all_default_values::m_settings'  of NULL object
session_impl.cpp:523: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:525: warning: invalid access to non-static data member 'libtorrent::aux::session_impl::m_dht_settings'  of NULL object
session_impl.cpp:525: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:525: warning: invalid access to non-static data member 'libtorrent::aux::all_default_values::m_dht_settings'  of NULL object
session_impl.cpp:525: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:527: warning: invalid access to non-static data member 'libtorrent::aux::session_impl::m_proxy'  of NULL object
session_impl.cpp:527: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:527: warning: invalid access to non-static data member 'libtorrent::aux::all_default_values::m_proxy'  of NULL object
session_impl.cpp:527: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:532: warning: invalid access to non-static data member 'libtorrent::aux::session_impl::m_pe_settings'  of NULL object
session_impl.cpp:532: warning: (perhaps the 'offsetof' macro was used incorrectly)
session_impl.cpp:532: warning: invalid access to non-static data member 'libtorrent::aux::all_default_values::m_pe_settings'  of NULL object
session_impl.cpp:532: warning: (perhaps the 'offsetof' macro was used incorrectly)
  CXX      settings.lo
  CXX      sha1.lo
  CXX      smart_ban.lo
  CXX      socket_io.lo
  CXX      socket_type.lo
  CXX      socks5_stream.lo
  CXX      stat.lo
  CXX      storage.lo
  CXX      string_util.lo
  CXX      thread.lo
  CXX      torrent.lo
  CXX      torrent_handle.lo
  CXX      torrent_info.lo
  CXX      time.lo
  CXX      timestamp_history.lo
  CXX      tracker_manager.lo
  CXX      udp_socket.lo
  CXX      udp_tracker_connection.lo
  CXX      upnp.lo
  CXX      ut_metadata.lo
  CXX      ut_pex.lo
  CXX      utf8.lo
  CXX      utp_socket_manager.lo
  CXX      utp_stream.lo
  CXX      web_peer_connection.lo
  CXX      dht_tracker.lo
  CXX      find_data.lo
  CXX      node.lo
  CXX      node_id.lo
  CXX      refresh.lo
  CXX      routing_table.lo
  CXX      rpc_manager.lo
  CXX      traversal_algorithm.lo
  CC       GeoIP.lo
cc1: warning: command line option "-ftemplate-depth-100" is valid for C++/ObjC++ but not for C
  CXX      asio_ssl.lo
  CXXLD    libtorrent-rasterbar.la
make[1]: Leaving directory `/home/jimbo/libtorrent-rasterbar-0.16.8/src'
Making all in examples
make[1]: Entering directory `/home/jimbo/libtorrent-rasterbar-0.16.8/examples'
make[1]: Für das Ziel »all« ist nichts zu tun.
make[1]: Leaving directory `/home/jimbo/libtorrent-rasterbar-0.16.8/examples'
Making all in test
make[1]: Entering directory `/home/jimbo/libtorrent-rasterbar-0.16.8/test'
make[1]: Für das Ziel »all« ist nichts zu tun.
make[1]: Leaving directory `/home/jimbo/libtorrent-rasterbar-0.16.8/test'
Making all in bindings
make[1]: Entering directory `/home/jimbo/libtorrent-rasterbar-0.16.8/bindings'
Making all in python
make[2]: Entering directory `/home/jimbo/libtorrent-rasterbar-0.16.8/bindings/python'
/usr/bin/python setup.py build
running build
running build_ext
building 'libtorrent' extension
creating build
creating build/temp.linux-x86_64-2.6
creating build/temp.linux-x86_64-2.6/src
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -I../../include -I/usr/include -I/usr/include -I/usr/include/python2.6 -c src/peer_info.cpp -o build/temp.linux-x86_64-2.6/src/peer_info.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -I../../include -I/usr/include -I/usr/include -I/usr/include/python2.6 -c src/converters.cpp -o build/temp.linux-x86_64-2.6/src/converters.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -I../../include -I/usr/include -I/usr/include -I/usr/include/python2.6 -c src/create_torrent.cpp -o build/temp.linux-x86_64-2.6/src/create_torrent.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -I../../include -I/usr/include -I/usr/include -I/usr/include/python2.6 -c src/string.cpp -o build/temp.linux-x86_64-2.6/src/string.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED
src/string.cpp: In static member function ‘static void unicode_from_python::construct(PyObject*, boost::python::converter::rvalue_from_python_stage1_data*)’:
src/string.cpp:56: warning: unused variable ‘ret’
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -I../../include -I/usr/include -I/usr/include -I/usr/include/python2.6 -c src/magnet_uri.cpp -o build/temp.linux-x86_64-2.6/src/magnet_uri.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED
src/magnet_uri.cpp: In function ‘libtorrent::torrent_handle<unnamed>::_add_magnet_uri(libtorrent::session&, std::string, boost::python::dict)’:
src/magnet_uri.cpp:30: warning: ‘libtorrent::torrent_handle libtorrent::add_magnet_uri(libtorrent::session&, const std::string&, libtorrent::add_torrent_params)’ is deprecated (declared at ../../include/libtorrent/magnet_uri.hpp:62)
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -I../../include -I/usr/include -I/usr/include -I/usr/include/python2.6 -c src/alert.cpp -o build/temp.linux-x86_64-2.6/src/alert.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -I../../include -I/usr/include -I/usr/include -I/usr/include/python2.6 -c src/fingerprint.cpp -o build/temp.linux-x86_64-2.6/src/fingerprint.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -I../../include -I/usr/include -I/usr/include -I/usr/include/python2.6 -c src/big_number.cpp -o build/temp.linux-x86_64-2.6/src/big_number.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -I../../include -I/usr/include -I/usr/include -I/usr/include/python2.6 -c src/utility.cpp -o build/temp.linux-x86_64-2.6/src/utility.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -I../../include -I/usr/include -I/usr/include -I/usr/include/python2.6 -c src/ip_filter.cpp -o build/temp.linux-x86_64-2.6/src/ip_filter.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -I../../include -I/usr/include -I/usr/include -I/usr/include/python2.6 -c src/session_settings.cpp -o build/temp.linux-x86_64-2.6/src/session_settings.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -I../../include -I/usr/include -I/usr/include -I/usr/include/python2.6 -c src/session.cpp -o build/temp.linux-x86_64-2.6/src/session.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED
src/session.cpp: In function ‘libtorrent::torrent_handle<unnamed>::add_torrent_depr(libtorrent::session&, const libtorrent::torrent_info&, const std::string&, const libtorrent::entry&, libtorrent::storage_mode_t, bool)’:
src/session.cpp:165: warning: ‘libtorrent::torrent_handle libtorrent::session::add_torrent(const libtorrent::torrent_info&, const std::string&, const libtorrent::entry&, libtorrent::storage_mode_t, bool, libtorrent::storage_constructor_type)’ is deprecated (declared at ../../include/libtorrent/session.hpp:213)
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -I../../include -I/usr/include -I/usr/include -I/usr/include/python2.6 -c src/module.cpp -o build/temp.linux-x86_64-2.6/src/module.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -I../../include -I/usr/include -I/usr/include -I/usr/include/python2.6 -c src/torrent_handle.cpp -o build/temp.linux-x86_64-2.6/src/torrent_handle.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED
src/torrent_handle.cpp: In function ‘void set_peer_upload_limit(libtorrent::torrent_handle&, const boost::python::tuple&, int)’:
src/torrent_handle.cpp:283: warning: ‘void libtorrent::torrent_handle::set_peer_upload_limit(boost::asio::ip::basic_endpoint<boost::asio::ip::tcp>, int) const’ is deprecated (declared at ../../include/libtorrent/torrent_handle.hpp:279)
src/torrent_handle.cpp: In function ‘void set_peer_download_limit(libtorrent::torrent_handle&, const boost::python::tuple&, int)’:
src/torrent_handle.cpp:288: warning: ‘void libtorrent::torrent_handle::set_peer_download_limit(boost::asio::ip::basic_endpoint<boost::asio::ip::tcp>, int) const’ is deprecated (declared at ../../include/libtorrent/torrent_handle.hpp:281)
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -I../../include -I/usr/include -I/usr/include -I/usr/include/python2.6 -c src/entry.cpp -o build/temp.linux-x86_64-2.6/src/entry.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -I../../include -I/usr/include -I/usr/include -I/usr/include/python2.6 -c src/version.cpp -o build/temp.linux-x86_64-2.6/src/version.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -I../../include -I/usr/include -I/usr/include -I/usr/include/python2.6 -c src/torrent_info.cpp -o build/temp.linux-x86_64-2.6/src/torrent_info.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -I../../include -I/usr/include -I/usr/include -I/usr/include/python2.6 -c src/torrent.cpp -o build/temp.linux-x86_64-2.6/src/torrent.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -I../../include -I/usr/include -I/usr/include -I/usr/include/python2.6 -c src/torrent_status.cpp -o build/temp.linux-x86_64-2.6/src/torrent_status.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -I../../include -I/usr/include -I/usr/include -I/usr/include/python2.6 -c src/datetime.cpp -o build/temp.linux-x86_64-2.6/src/datetime.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -fPIC -I../../include -I/usr/include -I/usr/include -I/usr/include/python2.6 -c src/error_code.cpp -o build/temp.linux-x86_64-2.6/src/error_code.o -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED
creating build/lib.linux-x86_64-2.6
g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-x86_64-2.6/src/peer_info.o build/temp.linux-x86_64-2.6/src/converters.o build/temp.linux-x86_64-2.6/src/create_torrent.o build/temp.linux-x86_64-2.6/src/string.o build/temp.linux-x86_64-2.6/src/magnet_uri.o build/temp.linux-x86_64-2.6/src/alert.o build/temp.linux-x86_64-2.6/src/fingerprint.o build/temp.linux-x86_64-2.6/src/big_number.o build/temp.linux-x86_64-2.6/src/utility.o build/temp.linux-x86_64-2.6/src/ip_filter.o build/temp.linux-x86_64-2.6/src/session_settings.o build/temp.linux-x86_64-2.6/src/session.o build/temp.linux-x86_64-2.6/src/module.o build/temp.linux-x86_64-2.6/src/torrent_handle.o build/temp.linux-x86_64-2.6/src/entry.o build/temp.linux-x86_64-2.6/src/version.o build/temp.linux-x86_64-2.6/src/torrent_info.o build/temp.linux-x86_64-2.6/src/torrent.o build/temp.linux-x86_64-2.6/src/torrent_status.o build/temp.linux-x86_64-2.6/src/datetime.o build/temp.linux-x86_64-2.6/src/error_code.o -L../../src/.libs -ltorrent-rasterbar -lrt -lpthread -lboost_system-mt -lboost_python -lpthread -lssl -lcrypto -o build/lib.linux-x86_64-2.6/libtorrent.so -L/usr/lib
Thank you very much!
Cas
Top Bloke
Top Bloke
Posts: 3681
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

Re: Compiling libtorrent and Deluge on fresh Debian Squeeze

Post by Cas »

No errors means it's fine.
H320
Member
Member
Posts: 16
Joined: Wed Aug 17, 2011 2:03 pm

Re: Compiling libtorrent and Deluge on fresh Debian Squeeze

Post by H320 »

Hi.

It's pleasant to see people enthusiastic with Linux and with the will to learn new stuff about it. Welcome aboard :).

Make is often a long-process and yes it prints out some kind of crazy stuff. Basically the make utility calls the build process which allows to compile the source files into executable binaries. If you want to know more about how it works you should begin with this.

The "warning" in output during make process are raised by the compiler (gcc). "Warnings report other unusual conditions in your code that may indicate a problem, although compilation can (and does) proceed." (source) . This means that with warnings only the binaries will be created. In the other hand with an error the compilation process is "stopped" and failed. In general what you end up to do is: ignore all warnings, check for errors.


1. The initscript is part of the boot process of your machine. Boot sequence is still obscure for me but here is what I know: at some point in boot sequence the initscript are executed. The utility of initscript does not end at the end of boot sequence. It allows you to "manage" the created daemon after the boot sequence. You can for example stop/start/restart/status. The script itself can be called by any users allowed to and therefore ease the management of daemons. Initscript are a generic way of creating daemons processes and it is contained in a file because "Everything is a file". It could seems complicated because you can do much more with initscript than just start a daemon at boot.

2. In any case not the root. It is a good practice to create dedicated user for a "service" installed on your server. It allows to limit the permissions with better refinement. It allows too a confinement of the damage if the "service" is vulnerable to an attack. For example you could easily remove the right of a dedicated user to connect with SSH to your server. Then if you want your completed torrents in a directory belonging to your main user, you could allow this with specific permissions. But I would not do it this way. Think in reverse : you could imagine to allow you main user to access in read mode all the data of deluge user. And by default this is the case with Debian: Every new file created has the read permission for others and thus your main user will be allowed to read data from the home directory of deluge user.

3. After the make install you have to update the link to new library with "ldconfig" command.
El_Barto
New User
New User
Posts: 3
Joined: Sun Feb 10, 2013 12:38 am

Re: Compiling libtorrent and Deluge on fresh Debian Squeeze

Post by El_Barto »

Hi H320,
thank you so much for answering my questions, you've been a big help! I read in a different thread that you split up the init script between deluged and web-ui, I would be very interested in that because like I said, I want to connect via ThinClient.

Thanks a lot!t
Post Reply