g++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -march=i686 -mmmx -msse -msse2 -msse3 -O2 -pipe -fomit-frame-pointer -g -DDEBUG -fvisibility=hidden -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -MT peer_connection_leech.lo -MD -MP -MF .deps/peer_connection_leech.Tpo -c peer_connection_leech.cc -fPIC -DPIC -o .libs/peer_connection_leech.o peer_connection_leech.cc:48: error: expected unqualified-id before '<<' token peer_connection_leech.cc:51: error: expected unqualified-id before '==' token peer_connection_leech.cc:53: error: expected unqualified-id before '>>' token peer_connection_base.h: In member function 'void torrent::PeerConnectionBase::set_peer_exchange(bool)': peer_connection_base.h:232: error: invalid use of undefined type 'struct torrent::ProtocolExtension' ./../torrent/common.h:92: error: forward declaration of 'struct torrent::ProtocolExtension' peer_connection_base.h:232: error: invalid use of undefined type 'struct torrent::ProtocolExtension' ./../torrent/common.h:92: error: forward declaration of 'struct torrent::ProtocolExtension' peer_connection_base.h:232: error: incomplete type 'torrent::ProtocolExtension' used in nested name specifier peer_connection_base.h:237: error: invalid use of undefined type 'struct torrent::ProtocolExtension' ./../torrent/common.h:92: error: forward declaration of 'struct torrent::ProtocolExtension' peer_connection_base.h:237: error: incomplete type 'torrent::ProtocolExtension' used in nested name specifier peer_connection_base.h:240: error: invalid use of undefined type 'struct torrent::ProtocolExtension' ./../torrent/common.h:92: error: forward declaration of 'struct torrent::ProtocolExtension' peer_connection_base.h:240: error: incomplete type 'torrent::ProtocolExtension' used in nested name specifier peer_connection_leech.cc: In member function 'bool torrent::PeerConnectionLeech::read_message()': peer_connection_leech.cc:295: error: invalid use of undefined type 'struct torrent::ProtocolExtension' ./../torrent/common.h:92: error: forward declaration of 'struct torrent::ProtocolExtension' peer_connection_leech.cc:296: error: invalid use of undefined type 'struct torrent::ProtocolExtension' ./../torrent/common.h:92: error: forward declaration of 'struct torrent::ProtocolExtension' peer_connection_leech.cc:297: error: invalid use of undefined type 'struct torrent::ProtocolExtension' ./../torrent/common.h:92: error: forward declaration of 'struct torrent::ProtocolExtension' peer_connection_leech.cc:302: error: invalid use of undefined type 'struct torrent::ProtocolExtension' ./../torrent/common.h:92: error: forward declaration of 'struct torrent::ProtocolExtension' peer_connection_leech.cc:302: error: incomplete type 'torrent::ProtocolExtension' used in nested name specifier peer_connection_leech.cc: In member function 'virtual void torrent::PeerConnectionLeech::event_read()': peer_connection_leech.cc:412: error: invalid use of undefined type 'struct torrent::ConnectionList' ./../download/choke_manager.h:48: error: forward declaration of 'struct torrent::ConnectionList' peer_connection_leech.cc:416: error: invalid use of undefined type 'struct torrent::ConnectionList' ./../download/choke_manager.h:48: error: forward declaration of 'struct torrent::ConnectionList' peer_connection_leech.cc:421: error: invalid use of undefined type 'struct torrent::ConnectionList' ./../download/choke_manager.h:48: error: forward declaration of 'struct torrent::ConnectionList' peer_connection_leech.cc:425: error: invalid use of undefined type 'struct torrent::ConnectionList' ./../download/choke_manager.h:48: error: forward declaration of 'struct torrent::ConnectionList' peer_connection_leech.cc: In member function 'virtual void torrent::PeerConnectionLeech::event_write()': peer_connection_leech.cc:578: error: invalid use of undefined type 'struct torrent::ConnectionList' ./../download/choke_manager.h:48: error: forward declaration of 'struct torrent::ConnectionList' peer_connection_leech.cc:582: error: invalid use of undefined type 'struct torrent::ConnectionList' ./../download/choke_manager.h:48: error: forward declaration of 'struct torrent::ConnectionList' peer_connection_leech.cc:586: error: invalid use of undefined type 'struct torrent::ConnectionList' ./../download/choke_manager.h:48: error: forward declaration of 'struct torrent::ConnectionList' peer_connection_leech.cc:590: error: invalid use of undefined type 'struct torrent::ConnectionList' ./../download/choke_manager.h:48: error: forward declaration of 'struct torrent::ConnectionList' make[2]: *** [peer_connection_leech.lo] Error 1 make[2]: Leaving directory `/root/rtorrent-svn/trunk/libtorrent/src/protocol' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/root/rtorrent-svn/trunk/libtorrent/src' make: *** [install-recursive] Error 1