JustPaste.it

ronas:~/libtorrent-0.13.2# make
make  all-recursive
make[1]: Entering directory `/root/libtorrent-0.13.2'
Making all in src
make[2]: Entering directory `/root/libtorrent-0.13.2/src'
Making all in torrent
make[3]: Entering directory `/root/libtorrent-0.13.2/src/torrent'
Making all in data
make[4]: Entering directory `/root/libtorrent-0.13.2/src/torrent/data'
/bin/sh ../../../libtool --tag=CXX   --mode=compile sparc-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../..    -g -O2 -g -DDEBUG -pthread   -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include   -MT block.lo -MD -MP -MF .deps/block.Tpo -c -o block.lo block.cc
libtool: compile:  sparc-linux-g++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -g -O2 -g -DDEBUG -pthread -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -MT block.lo -MD -MP -MF .deps/block.Tpo -c block.cc  -fPIC -DPIC -o .libs/block.o
In file included from ../../protocol/peer_connection_base.h:42,
                 from block.cc:44:
../../torrent/poll.h:40:26: tr1/functional: No such file or directory
In file included from ../../protocol/peer_connection_base.h:42,
                 from block.cc:44:
../../torrent/poll.h:49: error: no class template named `tr1' in `std'
../../torrent/poll.h:49: error: ISO C++ forbids declaration of `function' with
   no type
../../torrent/poll.h:49: error: template-id `function<torrent::Poll*()()>' used
   as a declarator
../../torrent/poll.h:49: error: parse error before `;' token
../../torrent/poll.h:94: error: ISO C++ forbids declaration of `slot_poll' with
   no type
../../torrent/poll.h:94: error: parse error before `&' token
../../torrent/poll.h:96: error: semicolon missing after declaration of `
   torrent::Poll'
../../torrent/poll.h:96: error: parse error before `private'
../../torrent/poll.h: In constructor `torrent::Poll::Poll()':
../../torrent/poll.h:54: error: class `torrent::Poll' does not have any field
   named `m_flags'
../../torrent/poll.h: In member function `uint32_t torrent::Poll::flags() const
   ':
../../torrent/poll.h:57: error: `m_flags' undeclared (first use this function)
../../torrent/poll.h:57: error: (Each undeclared identifier is reported only
   once for each function it appears in.)
../../torrent/poll.h: At global scope:
../../torrent/poll.h:96: error: parse error before `:' token
../../torrent/poll.h:99: error: `uint32_t torrent::m_flags' used prior to
   declaration
../../torrent/poll.h:102: error: parse error before `}' token
In file included from ../../protocol/extensions.h:47,
                 from ../../protocol/peer_connection_base.h:47,
                 from block.cc:44:
../../torrent/download_info.h:43:26: tr1/functional: No such file or directory
In file included from ../../protocol/extensions.h:47,
                 from ../../protocol/peer_connection_base.h:47,
                 from block.cc:44:
../../torrent/download_info.h:57: error: no class template named `tr1' in `std'
../../torrent/download_info.h:57: error: ISO C++ forbids declaration of `
   function' with no type
../../torrent/download_info.h:57: error: template-id `function<uint64_t ()()>'
   used as a declarator
../../torrent/download_info.h:57: error: parse error before `;' token
../../torrent/download_info.h:58: error: no class template named `tr1' in `std'
../../torrent/download_info.h:58: error: ISO C++ forbids declaration of `
   function' with no type
../../torrent/download_info.h:58: error: template-id `function<void ()(unsigned
   int)>' used as a declarator
../../torrent/download_info.h:58: error: parse error before `;' token
../../torrent/download_info.h:60: error: no class template named `tr1' in `std'
../../torrent/download_info.h:60: error: template argument 1 is invalid
../../torrent/download_info.h:60: error: template argument 2 is invalid
../../torrent/download_info.h:60: error: declaration does not declare anything
../../torrent/download_info.h:60: error: ISO C++ forbids declaration of `type
   name' with no type
../../torrent/download_info.h:60: error: parse error before `>' token
../../torrent/download_info.h:61: error: no class template named `tr1' in `std'
../../torrent/download_info.h:61: error: parse error before `::' token
../../torrent/download_info.h:62: error: `slot_chunk_type' was not declared in
   this scope
../../torrent/download_info.h:62: error: template argument 1 is invalid
../../torrent/download_info.h:62: error: template argument 2 is invalid
../../torrent/download_info.h:62: error: ISO C++ forbids declaration of `
   signal_chunk_type' with no type
../../torrent/download_info.h:63: error: no class template named `tr1' in `std'
../../torrent/download_info.h:63: error: parse error before `::' token
../../torrent/download_info.h:161: error: syntax error before `&' token
../../torrent/download_info.h: In member function `const std::string&
   torrent::DownloadInfo::name() const':
../../torrent/download_info.h:88: error: `m_name' undeclared (first use this
   function)
../../torrent/download_info.h: In member function `const torrent::HashString&
   torrent::DownloadInfo::hash() const':
../../torrent/download_info.h:91: error: `m_hash' undeclared (first use this
   function)
../../torrent/download_info.h: In member function `const torrent::HashString&
   torrent::DownloadInfo::hash_obfuscated() const':
../../torrent/download_info.h:94: error: `m_hashObfuscated' undeclared (first
   use this function)
../../torrent/download_info.h: In member function `const torrent::HashString&
   torrent::DownloadInfo::local_id() const':
../../torrent/download_info.h:97: error: `m_localId' undeclared (first use this
   function)
../../torrent/download_info.h: In member function `const torrent::Rate*
   torrent::DownloadInfo::up_rate() const':
../../torrent/download_info.h:123: error: `m_upRate' undeclared (first use this
   function)
../../torrent/download_info.h: In member function `const torrent::Rate*
   torrent::DownloadInfo::down_rate() const':
../../torrent/download_info.h:124: error: `m_downRate' undeclared (first use
   this function)
../../torrent/download_info.h: In member function `const torrent::Rate*
   torrent::DownloadInfo::skip_rate() const':
../../torrent/download_info.h:125: error: `m_skipRate' undeclared (first use
   this function)
../../torrent/download_info.h: In member function `uint64_t
   torrent::DownloadInfo::uploaded_baseline() const':
../../torrent/download_info.h:131: error: `m_uploadedBaseline' undeclared
   (first use this function)
../../torrent/download_info.h: In member function `uint64_t
   torrent::DownloadInfo::completed_baseline() const':
../../torrent/download_info.h:135: error: `m_completedBaseline' undeclared
   (first use this function)
../../torrent/download_info.h: In member function `uint64_t
   torrent::DownloadInfo::completed_adjusted() const':
../../torrent/download_info.h:136: error: `m_slotStatCompleted' undeclared
   (first use this function)
../../torrent/download_info.h: In member function `size_t
   torrent::DownloadInfo::metadata_size() const':
../../torrent/download_info.h:139: error: `m_metadataSize' undeclared (first
   use this function)
../../torrent/download_info.h: In member function `uint32_t
   torrent::DownloadInfo::size_pex() const':
../../torrent/download_info.h:142: error: `m_sizePex' undeclared (first use
   this function)
../../torrent/download_info.h: In member function `uint32_t
   torrent::DownloadInfo::max_size_pex() const':
../../torrent/download_info.h:145: error: `m_maxSizePex' undeclared (first use
   this function)
../../torrent/download_info.h: In member function `uint32_t
   torrent::DownloadInfo::creation_date() const':
../../torrent/download_info.h:151: error: `m_creationDate' undeclared (first
   use this function)
../../torrent/download_info.h: In member function `uint32_t
   torrent::DownloadInfo::load_date() const':
../../torrent/download_info.h:152: error: `m_loadDate' undeclared (first use
   this function)
../../torrent/download_info.h: In member function `uint32_t
   torrent::DownloadInfo::upload_unchoked() const':
../../torrent/download_info.h:158: error: `m_upload_unchoked' undeclared (first
   use this function)
../../torrent/download_info.h: In member function `uint32_t
   torrent::DownloadInfo::download_unchoked() const':
../../torrent/download_info.h:159: error: `m_download_unchoked' undeclared
   (first use this function)
../../torrent/download_info.h: At global scope:
../../torrent/download_info.h:162: error: ISO C++ forbids defining types within
   return type
../../torrent/download_info.h:162: error: syntax error before `&' token
../../torrent/download_info.h:165: error: syntax error before `&' token
../../torrent/download_info.h:166: error: syntax error before `&' token
../../torrent/download_info.h:168: error: syntax error before `&' token
../../torrent/download_info.h:169: error: syntax error before `&' token
../../torrent/download_info.h: In function `void set_creation_date(unsigned
   int)':
../../torrent/download_info.h:175: error: `m_creationDate' undeclared (first
   use this function)
../../torrent/download_info.h: In function `void set_upload_unchoked(unsigned
   int)':
../../torrent/download_info.h:177: error: `m_upload_unchoked' undeclared (first
   use this function)
../../torrent/download_info.h: In function `void set_download_unchoked(unsigned
   int)':
../../torrent/download_info.h:178: error: `m_download_unchoked' undeclared
   (first use this function)
../../torrent/download_info.h: At global scope:
../../torrent/download_info.h:180: error: syntax error before `&' token
../../torrent/download_info.h:181: error: syntax error before `&' token
../../torrent/download_info.h:185: error: 'HashString' is used as a type, but
   is not defined as a type.
../../torrent/download_info.h:186: error: 'HashString' is used as a type, but
   is not defined as a type.
../../torrent/download_info.h:187: error: 'HashString' is used as a type, but
   is not defined as a type.
../../torrent/download_info.h:189: error: non-member `m_flags' cannot be
   declared `mutable'
../../torrent/download_info.h:191: error: syntax error before `;' token
../../torrent/download_info.h:192: error: syntax error before `;' token
../../torrent/download_info.h:193: error: syntax error before `;' token
../../torrent/download_info.h:201: error: `uint32_t m_creationDate' used prior
   to declaration
../../torrent/download_info.h:204: error: `uint32_t m_upload_unchoked' used
   prior to declaration
../../torrent/download_info.h:205: error: `uint32_t m_download_unchoked' used
   prior to declaration
../../torrent/download_info.h:207: error: 'slot_stat_type' is used as a type,
   but is not defined as a type.
../../torrent/download_info.h:208: error: 'slot_stat_type' is used as a type,
   but is not defined as a type.
../../torrent/download_info.h:210: error: syntax error before `;' token
../../torrent/download_info.h:211: error: syntax error before `;' token
../../torrent/download_info.h:213: error: syntax error before `;' token
../../torrent/download_info.h:214: error: syntax error before `;' token
../../torrent/download_info.h:216: error: syntax error before `;' token
../../torrent/download_info.h:217: error: syntax error before `;' token
In file included from ../../globals.h:41,
                 from ../../protocol/peer_connection_base.h:52,
                 from block.cc:44:
../../../rak/priority_queue_default.h:41:26: tr1/functional: No such file or directory
In file included from ../../globals.h:41,
                 from ../../protocol/peer_connection_base.h:52,
                 from block.cc:44:
../../../rak/priority_queue_default.h:50: error: no class template named `tr1'
   in `std'
../../../rak/priority_queue_default.h:50: error: ISO C++ forbids declaration of
   `function' with no type
../../../rak/priority_queue_default.h:50: error: template-id `function<void
   ()()>' used as a declarator
../../../rak/priority_queue_default.h:50: error: parse error before `;' token
../../../rak/priority_queue_default.h:64: error: syntax error before `&' token
../../../rak/priority_queue_default.h: In destructor `
   rak::priority_item::~priority_item()':
../../../rak/priority_queue_default.h:57: error: `m_time' undeclared (first use
   this function)
../../../rak/priority_queue_default.h:58: error: `m_slot' undeclared (first use
   this function)
../../../rak/priority_queue_default.h:58: error: `slot_void' undeclared (first
   use this function)
../../../rak/priority_queue_default.h: At global scope:
../../../rak/priority_queue_default.h:66: error: ISO C++ forbids defining types
   within return type
../../../rak/priority_queue_default.h:66: error: syntax error before `&' token
../../../rak/priority_queue_default.h: In function `void clear_time()':
../../../rak/priority_queue_default.h:67: error: `m_time' undeclared (first use
   this function)
../../../rak/priority_queue_default.h:67: error: `timer' undeclared (first use
   this function)
../../../rak/priority_queue_default.h: At global scope:
../../../rak/priority_queue_default.h:68: error: parse error before `&' token
../../../rak/priority_queue_default.h: In function `void set_time(...)':
../../../rak/priority_queue_default.h:68: error: `t' undeclared (first use this
   function)
../../../rak/priority_queue_default.h: At global scope:
../../../rak/priority_queue_default.h:70: error: parse error before `&' token
../../../rak/priority_queue_default.h:70: error: non-member function `bool
   compare(...)' cannot have `const' method qualifier
../../../rak/priority_queue_default.h:72: error: parse error before `private'
../../../rak/priority_queue_default.h:74: error: parse error before `&' token
../../../rak/priority_queue_default.h:74: error: `void operator=(...)' must be
   a nonstatic member function
../../../rak/priority_queue_default.h:74: error: `void operator=(...)' must
   take exactly two arguments
../../../rak/priority_queue_default.h:76: error: 'timer' is used as a type, but
   is not defined as a type.
../../../rak/priority_queue_default.h:77: error: 'slot_void' is used as a type,
   but is not defined as a type.
../../../rak/priority_queue_default.h:78: error: parse error before `}' token
../../../rak/priority_queue_default.h:81: error: parse error before `*' token
../../../rak/priority_queue_default.h: In member function `bool
   priority_compare::operator()(...) const':
../../../rak/priority_queue_default.h:82: error: `p1' undeclared (first use
   this function)
../../../rak/priority_queue_default.h:82: error: `p2' undeclared (first use
   this function)
../../../rak/priority_queue_default.h: At global scope:
../../../rak/priority_queue_default.h:86: error: `priority_item' was not
   declared in this scope
../../../rak/priority_queue_default.h:86: error: parse error before `>' token
../../../rak/priority_queue_default.h:87: error: `priority_item' was not
   declared in this scope
../../../rak/priority_queue_default.h:87: error: parse error before `,' token
../../../rak/priority_queue_default.h:91: error: `priority_queue_default' was
   not declared in this scope
../../../rak/priority_queue_default.h:91: error: `queue' was not declared in
   this scope
../../../rak/priority_queue_default.h:91: error: parse error before `)' token
../../../rak/priority_queue_default.h: In function `void
   priority_queue_perform(...)':
../../../rak/priority_queue_default.h:92: error: `queue' undeclared (first use
   this function)
../../../rak/priority_queue_default.h:93: error: `priority_item' undeclared
   (first use this function)
../../../rak/priority_queue_default.h:93: error: `v' undeclared (first use this
   function)
../../../rak/priority_queue_default.h: At global scope:
../../../rak/priority_queue_default.h:102: error: `priority_queue_default' was
   not declared in this scope
../../../rak/priority_queue_default.h:102: error: `item' was not declared in
   this scope
../../../rak/priority_queue_default.h:102: error: parse error before `)' token
../../../rak/priority_queue_default.h: In function `void
   priority_queue_insert(...)':
../../../rak/priority_queue_default.h:106: error: `item' undeclared (first use
   this function)
../../../rak/priority_queue_default.h: At global scope:
../../../rak/priority_queue_default.h:120: error: `priority_queue_default' was
   not declared in this scope
../../../rak/priority_queue_default.h:120: error: variable or field `
   priority_queue_erase' declared void
../../../rak/priority_queue_default.h:120: error: `priority_queue_erase'
   declared as an `inline' variable
../../../rak/priority_queue_default.h:120: error: initializer list being
   treated as compound expression
../../../rak/priority_queue_default.h:120: error: syntax error before `{' token
../../../rak/priority_queue_default.h:130: error: syntax error before `->'
   token
In file included from ../../protocol/peer_connection_base.h:52,
                 from block.cc:44:
../../globals.h:45: error: syntax error before `;' token
In file included from ../../thread_disk.h:40,
                 from ../../manager.h:44,
                 from ../../protocol/peer_connection_base.h:54,
                 from block.cc:44:
../../data/hash_check_queue.h:42:26: tr1/functional: No such file or directory
In file included from ../../thread_disk.h:40,
                 from ../../manager.h:44,
                 from ../../protocol/peer_connection_base.h:54,
                 from block.cc:44:
../../data/hash_check_queue.h:51: error: `HashChunk' was not declared in this
   scope
../../data/hash_check_queue.h:51: error: parse error before `,' token
../../data/hash_check_queue.h:54: error: no class template named `tr1' in `std'
../../data/hash_check_queue.h:54: error: `HashChunk' was not declared in this
   scope
../../data/hash_check_queue.h:54: error: parse error before `,' token
../../data/hash_check_queue.h:66: error: ISO C++ forbids declaration of `
   HashCheckQueue' with no type
../../data/hash_check_queue.h:67: error: destructors must be member functions
../../data/hash_check_queue.h:67: error: new declaration `void
   torrent::HashCheckQueue()'
../../data/hash_check_queue.h:66: error: ambiguates old declaration `int
   torrent::HashCheckQueue()'
../../data/hash_check_queue.h:71: error: `HashChunk' was not declared in this
   scope
../../data/hash_check_queue.h:71: error: `node' was not declared in this scope
../../data/hash_check_queue.h:71: error: variable or field `push_back' declared
   void
../../data/hash_check_queue.h:74: error: `HashChunk' was not declared in this
   scope
../../data/hash_check_queue.h:74: error: `node' was not declared in this scope
../../data/hash_check_queue.h:76: error: syntax error before `&' token
../../data/hash_check_queue.h:81: error: parse error before `}' token
In file included from ../../torrent/utils/thread_base.h:43,
                 from ../../thread_disk.h:41,
                 from ../../manager.h:44,
                 from ../../protocol/peer_connection_base.h:54,
                 from block.cc:44:
../../torrent/utils/signal_bitfield.h:40:26: tr1/functional: No such file or directory
In file included from ../../torrent/utils/thread_base.h:43,
                 from ../../thread_disk.h:41,
                 from ../../manager.h:44,
                 from ../../protocol/peer_connection_base.h:54,
                 from block.cc:44:
../../torrent/utils/signal_bitfield.h:48: error: no class template named `tr1'
   in `std'
../../torrent/utils/signal_bitfield.h:48: error: ISO C++ forbids declaration of
   `function' with no type
../../torrent/utils/signal_bitfield.h:48: error: template-id `function<void
   ()()>' used as a declarator
../../torrent/utils/signal_bitfield.h:48: error: parse error before `;' token
../../torrent/utils/signal_bitfield.h:58: error: `slot_type' was not declared
   in this scope
../../torrent/utils/signal_bitfield.h:58: error: parse error before `)' token
../../torrent/utils/signal_bitfield.h:64: error: parse error before `[' token
../../torrent/utils/signal_bitfield.h: In member function `void
   torrent::signal_bitfield::signal(unsigned int)':
../../torrent/utils/signal_bitfield.h:55: error: `__sync_or_and_fetch'
   undeclared (first use this function)
In file included from ../../thread_disk.h:41,
                 from ../../manager.h:44,
                 from ../../protocol/peer_connection_base.h:54,
                 from block.cc:44:
../../torrent/utils/thread_base.h:44:26: tr1/functional: No such file or directory
In file included from ../../thread_disk.h:41,
                 from ../../manager.h:44,
                 from ../../protocol/peer_connection_base.h:54,
                 from block.cc:44:
../../torrent/utils/thread_base.h: At global scope:
../../torrent/utils/thread_base.h:53: error: no class template named `tr1' in `
   std'
../../torrent/utils/thread_base.h:53: error: ISO C++ forbids declaration of `
   function' with no type
../../torrent/utils/thread_base.h:53: error: template-id `function<void ()()>'
   used as a declarator
../../torrent/utils/thread_base.h:53: error: parse error before `;' token
../../torrent/utils/thread_base.h:54: error: no class template named `tr1' in `
   std'
../../torrent/utils/thread_base.h:54: error: ISO C++ forbids declaration of `
   function' with no type
../../torrent/utils/thread_base.h:54: error: template-id `function<uint64_t
   ()()>' used as a declarator
../../torrent/utils/thread_base.h:54: error: parse error before `;' token
../../torrent/utils/thread_base.h:89: error: syntax error before `*' token
../../torrent/utils/thread_base.h: In member function `bool
   torrent::thread_base::is_initialized() const':
../../torrent/utils/thread_base.h:74: error: `m_state' undeclared (first use
   this function)
../../torrent/utils/thread_base.h: In member function `bool
   torrent::thread_base::is_active() const':
../../torrent/utils/thread_base.h:75: error: `m_state' undeclared (first use
   this function)
../../torrent/utils/thread_base.h: In member function `bool
   torrent::thread_base::is_inactive() const':
../../torrent/utils/thread_base.h:76: error: `m_state' undeclared (first use
   this function)
../../torrent/utils/thread_base.h: In member function `
   torrent::thread_base::state_type torrent::thread_base::state() const':
../../torrent/utils/thread_base.h:84: error: `m_state' undeclared (first use
   this function)
../../torrent/utils/thread_base.h: At global scope:
../../torrent/utils/thread_base.h:90: error: ISO C++ forbids defining types
   within return type
../../torrent/utils/thread_base.h:90: error: syntax error before `*' token
../../torrent/utils/thread_base.h: In function `pthread_t pthread()':
../../torrent/utils/thread_base.h:91: error: `m_thread' undeclared (first use
   this function)
../../torrent/utils/thread_base.h: At global scope:
../../torrent/utils/thread_base.h:93: error: virtual outside class declaration
../../torrent/utils/thread_base.h:93: error: function `void init_thread()' is
   initialized like a variable
../../torrent/utils/thread_base.h:95: error: virtual outside class declaration
../../torrent/utils/thread_base.h:96: error: virtual outside class declaration
../../torrent/utils/thread_base.h:102: error: syntax error before `&' token
../../torrent/utils/thread_base.h:103: error: syntax error before `&' token
../../torrent/utils/thread_base.h: In function `int global_queue_size()':
../../torrent/utils/thread_base.h:105: error: `m_global' undeclared (first use
   this function)
../../torrent/utils/thread_base.h: At global scope:
../../torrent/utils/thread_base.h:116: error: `thread_base' was not declared in
   this scope
../../torrent/utils/thread_base.h:116: error: `thread' was not declared in this
   scope
../../torrent/utils/thread_base.h:118: error: parse error before `protected'
../../torrent/utils/thread_base.h:123: error: parse error before `}' token
../../torrent/utils/thread_base.h:125: error: virtual outside class declaration
../../torrent/utils/thread_base.h:125: error: function `void call_events()' is
   initialized like a variable
../../torrent/utils/thread_base.h:126: error: virtual outside class declaration
../../torrent/utils/thread_base.h:126: error: function `int64_t
   next_timeout_usec()' is initialized like a variable
../../torrent/utils/thread_base.h:128: error: syntax error before `;' token
../../torrent/utils/thread_base.h:130: error: `pthread_t m_thread' used prior
   to declaration
../../torrent/utils/thread_base.h:131: error: 'state_type' is used as a type,
   but is not defined as a type.
../../torrent/utils/thread_base.h:132: error: redefinition of `int m_flags'
../../torrent/download_info.h:189: error: `int m_flags' previously declared
   here
../../torrent/utils/thread_base.h:134: error: syntax error before `*' token
../../torrent/utils/thread_base.h:135: error: 'signal_type' is used as a type,
   but is not defined as a type.
../../torrent/utils/thread_base.h:137: error: 'slot_void' is used as a type,
   but is not defined as a type.
../../torrent/utils/thread_base.h:138: error: 'slot_timer' is used as a type,
   but is not defined as a type.
../../torrent/utils/thread_base.h:139: error: parse error before `}' token
../../torrent/utils/thread_base.h:142: error: syntax error before `::' token
../../torrent/utils/thread_base.h:150: error: syntax error before `::' token
../../torrent/utils/thread_base.h:152: error: `thread_base' was not declared in
   this scope
../../torrent/utils/thread_base.h:152: error: parse error before `::' token
../../torrent/utils/thread_base.h:152: error: ISO C++ forbids declaration of `
   pthread_mutex_lock' with no type
../../torrent/utils/thread_base.h:153: error: `thread_base' was not declared in
   this scope
../../torrent/utils/thread_base.h:153: error: parse error before `::' token
../../torrent/utils/thread_base.h:153: error: ISO C++ forbids declaration of `
   __sync_sub_and_fetch' with no type
../../torrent/utils/thread_base.h:157: error: syntax error before `::' token
../../torrent/utils/thread_base.h:162: error: syntax error before `::' token
../../torrent/utils/thread_base.h:167: error: syntax error before `::' token
../../torrent/utils/thread_base.h:171: error: ISO C++ forbids declaration of `
   acquire_global_lock' with no type
../../torrent/utils/thread_base.h:171: error: new declaration `int
   acquire_global_lock()'
../../torrent/utils/thread_base.h:107: error: ambiguates old declaration `void
   acquire_global_lock()'
../../torrent/utils/thread_base.h:172: error: parse error before `}' token
../../torrent/utils/thread_base.h:182: error: syntax error before `::' token
../../torrent/utils/thread_base.h:187: error: syntax error before `::' token
In file included from ../../manager.h:44,
                 from ../../protocol/peer_connection_base.h:54,
                 from block.cc:44:
../../thread_disk.h:45: error: parse error before `{' token
../../thread_disk.h:49: error: virtual outside class declaration
../../thread_disk.h:51: error: syntax error before `*' token
../../thread_disk.h:55: error: virtual outside class declaration
../../thread_disk.h:57: error: 'HashCheckQueue' is used as a type, but is not
   defined as a type.
../../thread_disk.h:58: error: parse error before `}' token
In file included from ../../manager.h:45,
                 from ../../protocol/peer_connection_base.h:54,
                 from block.cc:44:
../../thread_main.h:45: error: parse error before `{' token
../../thread_main.h:49: error: virtual outside class declaration
../../thread_main.h:51: error: parse error before `protected'
../../thread_main.h:53: error: virtual outside class declaration
../../thread_main.h:54: error: parse error before `}' token
In file included from ../../protocol/peer_connection_base.h:54,
                 from block.cc:44:
../../manager.h:72: error: syntax error before `*' token
../../manager.h:73: error: ISO C++ forbids defining types within return type
../../manager.h:73: error: syntax error before `*' token
../../manager.h:74: error: syntax error before `*' token
../../manager.h:75: error: syntax error before `*' token
../../manager.h:76: error: syntax error before `*' token
../../manager.h:78: error: syntax error before `*' token
../../manager.h:79: error: syntax error before `*' token
../../manager.h:80: error: syntax error before `*' token
../../manager.h:81: error: syntax error before `*' token
../../manager.h:83: error: syntax error before `*' token
../../manager.h:85: error: syntax error before `*' token
../../manager.h:86: error: syntax error before `*' token
../../manager.h:88: error: syntax error before `*' token
../../manager.h:90: error: syntax error before `*' token
../../manager.h:91: error: syntax error before `*' token
../../manager.h:93: error: `DownloadWrapper' was not declared in this scope
../../manager.h:93: error: `d' was not declared in this scope
../../manager.h:93: error: variable or field `initialize_download' declared
   void
../../manager.h:94: error: `DownloadWrapper' was not declared in this scope
../../manager.h:94: error: `d' was not declared in this scope
../../manager.h:94: error: variable or field `cleanup_download' declared void
../../manager.h:98: error: parse error before `private'
../../manager.h:100: error: syntax error before `*' token
../../manager.h:101: error: syntax error before `*' token
../../manager.h:102: error: syntax error before `*' token
../../manager.h:103: error: syntax error before `*' token
../../manager.h:105: error: syntax error before `*' token
../../manager.h:106: error: syntax error before `*' token
../../manager.h:107: error: syntax error before `*' token
../../manager.h:108: error: syntax error before `*' token
../../manager.h:110: error: 'thread_main' is used as a type, but is not defined
   as a type.
../../manager.h:111: error: 'thread_disk' is used as a type, but is not defined
   as a type.
../../manager.h:113: error: 'EncodingList' is used as a type, but is not
   defined as a type.
../../manager.h:115: error: syntax error before `*' token
../../manager.h:116: error: syntax error before `*' token
../../manager.h:120: error: parse error before `}' token
../../manager.h:122: error: syntax error before `*' token
In file included from block.cc:44:
../../protocol/peer_connection_base.h:68: error: parse error before `,' token
../../protocol/peer_connection_base.h:71: error: syntax error before `;' token
../../protocol/peer_connection_base.h:77: error: syntax error before `;' token
../../protocol/peer_connection_base.h:88: error: ISO C++ forbids declaration of
   `PeerConnectionBase' with no type
../../protocol/peer_connection_base.h:89: error: destructors must be member
   functions
../../protocol/peer_connection_base.h:89: error: virtual outside class
   declaration
../../protocol/peer_connection_base.h:89: error: new declaration `void
   torrent::PeerConnectionBase()'
../../protocol/peer_connection_base.h:88: error: ambiguates old declaration `
   int torrent::PeerConnectionBase()'
../../protocol/peer_connection_base.h:91: error: non-member function `const
   char* torrent::type_name()' cannot have `const' method qualifier
../../protocol/peer_connection_base.h:93: error: `DownloadMain' was not
   declared in this scope
../../protocol/peer_connection_base.h:93: error: `download' was not declared in
   this scope
../../protocol/peer_connection_base.h:93: error: `PeerInfo' was not declared in
   this scope
../../protocol/peer_connection_base.h:93: error: `p' was not declared in this
   scope
../../protocol/peer_connection_base.h:93: error: `SocketFd' was not declared in
   this scope
../../protocol/peer_connection_base.h:93: error: parse error before `,' token
../../protocol/peer_connection_base.h:96: error: non-member function `bool
   torrent::is_up_choked()' cannot have `const' method qualifier
../../protocol/peer_connection_base.h: In function `bool
   torrent::is_up_choked()':
../../protocol/peer_connection_base.h:96: error: `m_upChoke' undeclared (first
   use this function)
../../protocol/peer_connection_base.h: At global scope:
../../protocol/peer_connection_base.h:97: error: non-member function `bool
   torrent::is_up_interested()' cannot have `const' method qualifier
../../protocol/peer_connection_base.h: In function `bool
   torrent::is_up_interested()':
../../protocol/peer_connection_base.h:97: error: `m_upChoke' undeclared (first
   use this function)
../../protocol/peer_connection_base.h: At global scope:
../../protocol/peer_connection_base.h:98: error: non-member function `bool
   torrent::is_up_snubbed()' cannot have `const' method qualifier
../../protocol/peer_connection_base.h: In function `bool
   torrent::is_up_snubbed()':
../../protocol/peer_connection_base.h:98: error: `m_upChoke' undeclared (first
   use this function)
../../protocol/peer_connection_base.h: At global scope:
../../protocol/peer_connection_base.h:100: error: non-member function `bool
   torrent::is_down_queued()' cannot have `const' method qualifier
../../protocol/peer_connection_base.h: In function `bool
   torrent::is_down_queued()':
../../protocol/peer_connection_base.h:100: error: `m_downChoke' undeclared
   (first use this function)
../../protocol/peer_connection_base.h: At global scope:
../../protocol/peer_connection_base.h:101: error: non-member function `bool
   torrent::is_down_local_unchoked()' cannot have `const' method qualifier
../../protocol/peer_connection_base.h: In function `bool
   torrent::is_down_local_unchoked()':
../../protocol/peer_connection_base.h:101: error: `m_downChoke' undeclared
   (first use this function)
../../protocol/peer_connection_base.h: At global scope:
../../protocol/peer_connection_base.h:102: error: non-member function `bool
   torrent::is_down_remote_unchoked()' cannot have `const' method qualifier
../../protocol/peer_connection_base.h: In function `bool
   torrent::is_down_remote_unchoked()':
../../protocol/peer_connection_base.h:102: error: `m_downUnchoked' undeclared
   (first use this function)
../../protocol/peer_connection_base.h: At global scope:
../../protocol/peer_connection_base.h:103: error: non-member function `bool
   torrent::is_down_interested()' cannot have `const' method qualifier
../../protocol/peer_connection_base.h: In function `bool
   torrent::is_down_interested()':
../../protocol/peer_connection_base.h:103: error: `m_downInterested' undeclared
   (first use this function)
../../protocol/peer_connection_base.h: At global scope:
../../protocol/peer_connection_base.h:107: error: non-member function `bool
   torrent::is_seeder()' cannot have `const' method qualifier
../../protocol/peer_connection_base.h: In function `bool torrent::is_seeder()':
../../protocol/peer_connection_base.h:107: error: `m_peerChunks' undeclared
   (first use this function)
../../protocol/peer_connection_base.h: At global scope:
../../protocol/peer_connection_base.h:108: error: non-member function `bool
   torrent::is_not_seeder()' cannot have `const' method qualifier
../../protocol/peer_connection_base.h: In function `bool
   torrent::is_not_seeder()':
../../protocol/peer_connection_base.h:108: error: `m_peerChunks' undeclared
   (first use this function)
../../protocol/peer_connection_base.h: At global scope:
../../protocol/peer_connection_base.h:110: error: non-member function `bool
   torrent::is_encrypted()' cannot have `const' method qualifier
../../protocol/peer_connection_base.h: In function `bool
   torrent::is_encrypted()':
../../protocol/peer_connection_base.h:110: error: `m_encryption' undeclared
   (first use this function)
../../protocol/peer_connection_base.h: At global scope:
../../protocol/peer_connection_base.h:111: error: non-member function `bool
   torrent::is_obfuscated()' cannot have `const' method qualifier
../../protocol/peer_connection_base.h: In function `bool
   torrent::is_obfuscated()':
../../protocol/peer_connection_base.h:111: error: `m_encryption' undeclared
   (first use this function)
../../protocol/peer_connection_base.h: At global scope:
../../protocol/peer_connection_base.h:113: error: syntax error before `*' token
../../protocol/peer_connection_base.h:115: error: syntax error before `*' token
../../protocol/peer_connection_base.h:116: error: syntax error before `*' token
../../protocol/peer_connection_base.h:118: error: syntax error before `*' token
../../protocol/peer_connection_base.h:119: error: syntax error before `*' token
../../protocol/peer_connection_base.h:121: error: syntax error before `*' token
../../protocol/peer_connection_base.h:122: error: syntax error before `*' token
../../protocol/peer_connection_base.h:123: error: syntax error before `*' token
../../protocol/peer_connection_base.h:125: error: syntax error before `*' token
../../protocol/peer_connection_base.h:126: error: syntax error before `*' token
../../protocol/peer_connection_base.h: In function `void do_peer_exchange()':
../../protocol/peer_connection_base.h:128: error: `m_sendPEXMask' undeclared
   (first use this function)
../../protocol/peer_connection_base.h:128: error: `PEX_DO' undeclared (first
   use this function)
../../protocol/peer_connection_base.h: At global scope:
../../protocol/peer_connection_base.h:132: error: virtual outside class
   declaration
../../protocol/peer_connection_base.h:132: error: function `void
   initialize_custom()' is initialized like a variable
../../protocol/peer_connection_base.h:133: error: virtual outside class
   declaration
../../protocol/peer_connection_base.h:133: error: function `void
   update_interested()' is initialized like a variable
../../protocol/peer_connection_base.h:134: error: virtual outside class
   declaration
../../protocol/peer_connection_base.h:134: error: function `bool
   receive_keepalive()' is initialized like a variable
../../protocol/peer_connection_base.h:139: error: virtual outside class
   declaration
../../protocol/peer_connection_base.h:143: error: `BlockTransfer' was not
   declared in this scope
../../protocol/peer_connection_base.h:143: error: `transfer' was not declared
   in this scope
../../protocol/peer_connection_base.h:143: error: variable or field `
   cancel_transfer' declared void
../../protocol/peer_connection_base.h:150: error: virtual outside class
   declaration
../../protocol/peer_connection_base.h:152: error: `choke_queue' was not
   declared in this scope
../../protocol/peer_connection_base.h:152: error: `cq' was not declared in this
   scope
../../protocol/peer_connection_base.h:154: error: parse error before `protected
   '
../../protocol/peer_connection_base.h:162: error: parse error before `&' token
../../protocol/peer_connection_base.h:163: error: parse error before `&' token
../../protocol/peer_connection_base.h:166: error: parse error before `&' token
../../protocol/peer_connection_base.h:168: error: parse error before `&' token
../../protocol/peer_connection_base.h:195: error: syntax error before `*' token
../../protocol/peer_connection_base.h:197: error: syntax error before `*' token
../../protocol/peer_connection_base.h:198: error: syntax error before `*' token
../../protocol/peer_connection_base.h:200: error: 'PeerChunks' is used as a
   type, but is not defined as a type.
../../protocol/peer_connection_base.h:202: error: 'RequestList' is used as a
   type, but is not defined as a type.
../../protocol/peer_connection_base.h:203: error: 'ChunkHandle' is used as a
   type, but is not defined as a type.
../../protocol/peer_connection_base.h:206: error: 'Piece' is used as a type,
   but is not defined as a type.
../../protocol/peer_connection_base.h:207: error: 'ChunkHandle' is used as a
   type, but is not defined as a type.
../../protocol/peer_connection_base.h:219: error: 'choke_status' is used as a
   type, but is not defined as a type.
../../protocol/peer_connection_base.h:220: error: 'choke_status' is used as a
   type, but is not defined as a type.
../../protocol/peer_connection_base.h:229: error: `int m_sendPEXMask' used
   prior to declaration
../../protocol/peer_connection_base.h:233: error: 'DataBuffer' is used as a
   type, but is not defined as a type.
../../protocol/peer_connection_base.h:236: error: syntax error before `*' token
../../protocol/peer_connection_base.h:237: error: 'EncryptionInfo' is used as a
   type, but is not defined as a type.
../../protocol/peer_connection_base.h:238: error: syntax error before `*' token
../../protocol/peer_connection_base.h:241: error: parse error before `}' token
../../protocol/peer_connection_base.h:244: error: syntax error before `::'
   token
../../protocol/peer_connection_base.h:250: error: syntax error before `->'
   token
../../protocol/peer_connection_base.h:253: error: syntax error before `->'
   token
../../protocol/peer_connection_base.h:258: error: syntax error before `::'
   token
../../protocol/peer_connection_base.h:260: error: syntax error before `->'
   token
../../protocol/peer_connection_base.h:264: error: syntax error before `::'
   token
../../protocol/peer_connection_base.h:268: error: syntax error before `->'
   token
../../protocol/peer_connection_base.h:272: error: syntax error before `::'
   token
../../protocol/peer_connection_base.h:276: error: syntax error before `->'
   token
In file included from block.cc:46:
block.h:55: error: `BlockTransfer' was not declared in this scope
block.h:55: error: parse error before `>' token
block.h:65: error: parse error before `*' token
block.h:66: error: parse error before `*' token
block.h:71: error: syntax error before `*' token
block.h: In constructor `torrent::Block::Block()':
block.h:58: error: class `torrent::Block' does not have any field named `
   m_notStalled'
block.h:58: error: class `torrent::Block' does not have any field named `
   m_leader'
block.h:58: error: class `torrent::Block' does not have any field named `
   m_failedList'
block.h: In member function `bool torrent::Block::is_stalled() const':
block.h:61: error: `m_notStalled' undeclared (first use this function)
block.h: In member function `bool torrent::Block::is_finished() const':
block.h:62: error: `m_leader' undeclared (first use this function)
block.h: In member function `bool torrent::Block::is_transfering() const':
block.h:63: error: `m_leader' undeclared (first use this function)
block.h: In member function `bool torrent::Block::is_peer_queued(...) const':
block.h:65: error: `p' undeclared (first use this function)
block.h:65: error: `find_queued' undeclared (first use this function)
block.h: In member function `bool torrent::Block::is_peer_transfering(...)
   const':
block.h:66: error: `p' undeclared (first use this function)
block.h:66: error: `find_transfer' undeclared (first use this function)
block.h: In member function `uint32_t torrent::Block::size_all() const':
block.h:68: error: `m_queued' undeclared (first use this function)
block.h:68: error: `m_transfers' undeclared (first use this function)
block.h: In member function `uint32_t torrent::Block::size_not_stalled() const
   ':
block.h:69: error: `m_notStalled' undeclared (first use this function)
block.h: At global scope:
block.h:72: error: ISO C++ forbids defining types within return type
block.h:72: error: syntax error before `*' token
block.h:73: error: `BlockList' was not declared in this scope
block.h:73: error: `p' was not declared in this scope
block.h:73: error: variable or field `set_parent' declared void
block.h:73: error: syntax error before `{' token
block.h:75: error: syntax error before `&' token
block.h:76: error: parse error before `&' token
block.h: In function `void set_piece(...)':
block.h:76: error: `m_piece' undeclared (first use this function)
block.h:76: error: `p' undeclared (first use this function)
block.h: At global scope:
block.h:78: error: non-member function `uint32_t index()' cannot have `const'
   method qualifier
block.h:80: error: syntax error before `*' token
block.h:81: error: syntax error before `*' token
block.h:84: error: syntax error before `*' token
block.h:85: error: syntax error before `*' token
block.h:87: error: syntax error before `*' token
block.h:88: error: syntax error before `*' token
block.h:90: error: syntax error before `*' token
block.h:91: error: syntax error before `*' token
block.h:93: error: syntax error before `*' token
block.h:94: error: syntax error before `*' token
block.h:98: error: syntax error before `*' token
block.h:99: error: `BlockTransfer' was not declared in this scope
block.h:99: error: `transfer' was not declared in this scope
block.h:99: error: variable or field `erase' declared void
block.h:101: error: `BlockTransfer' was not declared in this scope
block.h:101: error: `transfer' was not declared in this scope
block.h:104: error: `BlockTransfer' was not declared in this scope
block.h:104: error: `transfer' was not declared in this scope
block.h:106: error: `BlockTransfer' was not declared in this scope
block.h:106: error: `transfer' was not declared in this scope
block.h:106: error: variable or field `transfer_dissimilar' declared void
block.h:108: error: `BlockTransfer' was not declared in this scope
block.h:108: error: `transfer' was not declared in this scope
block.h:108: error: variable or field `stalled' declared void
block.h:108: error: syntax error before `{' token
block.h:108: error: syntax error before `->' token
block.h:109: error: `BlockTransfer' was not declared in this scope
block.h:109: error: `transfer' was not declared in this scope
block.h:109: error: variable or field `stalled_transfer' declared void
block.h:111: error: `BlockTransfer' was not declared in this scope
block.h:111: error: `transfer' was not declared in this scope
block.h:111: error: variable or field `change_leader' declared void
block.h:114: error: syntax error before `*' token
block.h:115: error: `BlockFailed' was not declared in this scope
block.h:115: error: `f' was not declared in this scope
block.h:115: error: variable or field `set_failed_list' declared void
block.h:115: error: syntax error before `{' token
block.h:117: error: `BlockTransfer' was not declared in this scope
block.h:117: error: `transfer' was not declared in this scope
block.h:117: error: `PeerInfo' was not declared in this scope
block.h:117: error: `peerInfo' was not declared in this scope
block.h:117: error: parse error before `&' token
block.h:122: error: `BlockTransfer' was not declared in this scope
block.h:122: error: `transfer' was not declared in this scope
block.h:122: error: variable or field `release' declared void
block.h:124: error: parse error before `private'
block.h:133: error: syntax error before `*' token
block.h:134: error: 'Piece' is used as a type, but is not defined as a type.
block.h:138: error: 'transfer_list_type' is used as a type, but is not defined
   as a type.
block.h:139: error: 'transfer_list_type' is used as a type, but is not defined
   as a type.
block.h:141: error: syntax error before `*' token
block.h:143: error: syntax error before `*' token
block.h:146: error: syntax error before `*' token
block.h:156: error: syntax error before `*' token
In file included from block.cc:47:
block_failed.h:95: error: syntax error before `::' token
block_failed.h:99: error: syntax error before `::' token
block_failed.h:104: error: syntax error before `::' token
In file included from block.cc:48:
block_list.h:47: error: `Block' was not declared in this scope
block_list.h:47: error: template argument 1 is invalid
block_list.h:47: error: template argument 2 is invalid
block_list.h:47: error: invalid base-class specification
block_list.h:49: error: `Block' was not declared in this scope
block_list.h:49: error: template argument 1 is invalid
block_list.h:49: error: template argument 2 is invalid
block_list.h:49: error: ISO C++ forbids declaration of `base_type' with no type
block_list.h:68: error: parse error before `&' token
block_list.h:73: error: ISO C++ forbids declaration of `Piece' with no type
block_list.h:73: error: parse error before `&' token
block_list.h:47: error: type `torrent::BlockList' is not a base type for type `
   int'
block_list.h:47: error: type `torrent::BlockList' is not a base type for type `
   int'
block_list.h:47: error: type `torrent::BlockList' is not a base type for type `
   int'
block_list.h:47: error: type `torrent::BlockList' is not a base type for type `
   int'
block_list.h:47: error: type `torrent::BlockList' is not a base type for type `
   int'
block_list.h:47: error: type `torrent::BlockList' is not a base type for type `
   int'
block_list.h:47: error: type `torrent::BlockList' is not a base type for type `
   int'
block_list.h:47: error: type `torrent::BlockList' is not a base type for type `
   int'
block_list.h:47: error: type `torrent::BlockList' is not a base type for type `
   int'
block_list.h:47: error: type `torrent::BlockList' is not a base type for type `
   int'
block_list.h:47: error: type `torrent::BlockList' is not a base type for type `
   int'
block_list.h:47: error: type `torrent::BlockList' is not a base type for type `
   int'
block_list.h: In member function `bool torrent::BlockList::is_all_finished()
   const':
block_list.h:71: error: `m_finished' undeclared (first use this function)
block_list.h:71: error: `size' undeclared (first use this function)
block_list.h: At global scope:
block_list.h:75: error: ISO C++ forbids defining types within return type
block_list.h:75: error: syntax error before `(' token
block_list.h:77: error: parse error before `)' token
block_list.h:78: error: parse error before `)' token
block_list.h: In function `void set_priority(...)':
block_list.h:78: error: `m_priority' undeclared (first use this function)
block_list.h: At global scope:
block_list.h:80: error: parse error before `)' token
block_list.h: In function `void inc_finished()':
block_list.h:81: error: `m_finished' undeclared (first use this function)
block_list.h: At global scope:
block_list.h:84: error: non-member function `uint32_t failed()' cannot have `
   const' method qualifier
block_list.h: In function `uint32_t failed()':
block_list.h:84: error: `m_failed' undeclared (first use this function)
block_list.h: At global scope:
block_list.h:89: error: non-member function `uint32_t attempt()' cannot have `
   const' method qualifier
block_list.h: In function `uint32_t attempt()':
block_list.h:89: error: `m_attempt' undeclared (first use this function)
block_list.h: At global scope:
block_list.h:96: error: non-member function `bool by_seeder()' cannot have `
   const' method qualifier
block_list.h: In function `bool by_seeder()':
block_list.h:96: error: `m_bySeeder' undeclared (first use this function)
block_list.h: At global scope:
block_list.h:99: error: parse error before `private'
block_list.h:101: error: parse error before `&' token
block_list.h:101: error: `void operator=(...)' must be a nonstatic member
   function
block_list.h:101: error: `void operator=(...)' must take exactly two arguments
block_list.h:103: error: 'Piece' is used as a type, but is not defined as a
   type.
block_list.h:104: error: 'priority_t' is used as a type, but is not defined as
   a type.
block_list.h:106: error: 'size_type' is used as a type, but is not defined as a
   type.
block_list.h:107: error: `uint32_t m_failed' used prior to declaration
block_list.h:108: error: `uint32_t m_attempt' used prior to declaration
block_list.h:110: error: `bool m_bySeeder' used prior to declaration
block_list.h:111: error: parse error before `}' token
block.cc:54: error: syntax error before `::' token
block.cc:57: error: `m_queued' was not declared in this scope
block.cc:57: error: `m_queued' was not declared in this scope
block.cc:57: error: `Block' was not declared in this scope
block.cc:57: error: parse error before `::' token
block.cc:57: error: ISO C++ forbids declaration of `for_each' with no type
block.cc:57: error: declaration of `int for_each(...)' not in a namespace
   surrounding `std'
block.cc:57: error: `int std::for_each(...)' should have been declared inside `
   std'
block.cc:58: error: syntax error before `.' token
block.cc:60: error: `m_transfers' was not declared in this scope
block.cc:60: error: `m_transfers' was not declared in this scope
block.cc:60: error: `Block' was not declared in this scope
block.cc:60: error: parse error before `::' token
block.cc:60: error: ISO C++ forbids declaration of `for_each' with no type
block.cc:60: error: declaration of `int for_each(...)' not in a namespace
   surrounding `std'
block.cc:60: error: `int std::for_each(...)' should have been declared inside `
   std'
block.cc:61: error: syntax error before `.' token
block.cc:69: error: syntax error before `*' token
block.cc:74: error: syntax error before `++' token
block.cc:76: error: syntax error before `::' token
block.cc:78: error: syntax error before `->' token
block.cc:79: error: syntax error before `->' token
block.cc:80: error: syntax error before `->' token
block.cc:81: error: syntax error before `->' token
block.cc:82: error: syntax error before `->' token
block.cc:83: error: syntax error before `->' token
block.cc:84: error: syntax error before `->' token
block.cc:86: error: syntax error before `->' token
block.cc:92: error: syntax error before `::' token
block.cc:96: error: syntax error before `-=' token
block.cc:104: error: syntax error before `.' token
block.cc:113: error: syntax error before `.' token
block.cc:126: error: syntax error before `::' token
block.cc:128: error: syntax error before `::' token
block.cc:132: error: syntax error before `->' token
block.cc:140: error: ISO C++ forbids declaration of `remove_erased_transfers'
   with no type
block.cc:140: error: new declaration `int remove_erased_transfers()'
block.h:130: error: ambiguates old declaration `void remove_erased_transfers()'
block.cc:141: error: parse error before `}' token
block.cc:151: error: syntax error before `->' token
block.cc:156: error: syntax error before `::' token
block.cc:160: error: syntax error before `::' token
block.cc:165: error: syntax error before `.' token
block.cc:166: error: syntax error before `.' token
block.cc:180: error: syntax error before `->' token
block.cc:186: error: syntax error before `::' token
block.cc:203: error: syntax error before `->' token
block.cc:208: error: syntax error before `-=' token
block.cc:210: error: syntax error before `->' token
block.cc:211: error: syntax error before `->' token
block.cc:218: error: `m_queued' was not declared in this scope
block.cc:218: error: `m_queued' was not declared in this scope
block.cc:218: error: `Block' was not declared in this scope
block.cc:218: error: parse error before `::' token
block.cc:218: error: ISO C++ forbids declaration of `for_each' with no type
block.cc:218: error: `int std::for_each(...)' should have been declared inside
   `std'
block.cc:219: error: syntax error before `.' token
block.cc:223: error: ISO C++ forbids declaration of `
   remove_non_leader_transfers' with no type
block.cc:223: error: new declaration `int remove_non_leader_transfers()'
block.h:131: error: ambiguates old declaration `void
   remove_non_leader_transfers()'
block.cc:225: error: parse error before `if'
block.cc:236: error: syntax error before `::' token
block.cc:240: error: syntax error before `-=' token
block.cc:246: error: syntax error before `->' token
block.cc:247: error: syntax error before `->' token
block.cc:248: error: syntax error before `->' token
block.cc:252: error: syntax error before `::' token
block.cc:257: error: syntax error before `--' token
block.cc:262: error: syntax error before `->' token
block.cc:266: error: syntax error before `::' token
block.cc:276: error: ISO C++ forbids declaration of `m_leader' with no type
block.cc:276: error: `transfer' was not declared in this scope
block.cc:277: error: syntax error before `->' token
block.cc:281: error: syntax error before `::' token
block.cc:285: error: ISO C++ forbids declaration of `m_leader' with no type
block.cc:285: error: redefinition of `int m_leader'
block.cc:276: error: `int m_leader' previously defined here
block.cc:285: warning: converting to non-pointer type `int' from NULL
block.cc:287: error: parse error before `if'
block.cc:292: error: syntax error before `::' token
block.cc:298: error: syntax error before `->' token
block.cc:299: error: syntax error before `->' token
block.cc:300: error: syntax error before `->' token
block.cc:302: error: syntax error before `->' token
block.cc:303: error: syntax error before `->' token
block.cc:304: error: syntax error before `->' token
block.cc:308: error: syntax error before `::' token
block.cc:320: error: syntax error before `::' token
block.cc:334: error: syntax error before `->' token
block.cc:343: error: syntax error before `::' token
block.cc:346: error: `split' was not declared in this scope
block.cc:346: error: `m_transfers' was not declared in this scope
block.cc:346: error: `Block' was not declared in this scope
block.cc:346: error: parse error before `::' token
block.cc:346: error: ISO C++ forbids declaration of `for_each' with no type
block.cc:346: error: `int std::for_each(...)' should have been declared inside
   `std'
block.cc:347: error: syntax error before `.' token
block.cc:351: error: syntax error before `::' token
block.cc:354: error: `split' was not declared in this scope
block.cc:354: error: `m_transfers' was not declared in this scope
block.cc:354: error: `Block' was not declared in this scope
block.cc:354: error: parse error before `::' token
block.cc:354: error: ISO C++ forbids declaration of `for_each' with no type
block.cc:354: error: `int std::for_each(...)' should have been declared inside
   `std'
block.cc:355: error: syntax error before `.' token
block.cc:358: error: syntax error before `*' token
block.cc:368: error: syntax error before `*' token
block.cc:378: error: syntax error before `*' token
block.cc:388: error: syntax error before `*' token
make[4]: *** [block.lo] Error 1
make[4]: Leaving directory `/root/libtorrent-0.13.2/src/torrent/data'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/libtorrent-0.13.2/src/torrent'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/libtorrent-0.13.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/libtorrent-0.13.2'
make: *** [all] Error 2