ktorrent fails

Marcin Jessa lists at yazzy.org
Mon Jan 9 09:43:52 PST 2006


Hi.

Any idea how to fix following error I get trying to compile ktorrent? (libtorrent is 0.7.6)

/bin/sh ../../libtool --silent --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/include -I/usr/X11R6/include  -I/usr/local/include -I./../../libktorrent  -D_THREAD_SAFE -pthread -DQT_THREAD_SUPPORT   -I/usr/local/include -I/usr/local/include  -I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE   -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2 -fno-strict-aliasing -pipe -O2 -pipe -march=pentiumpro -march=pentiumpro -O2 -pipe -march=pentiumpro -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions   -c -o singledatachecker.lo `test -f 'singledatachecker.cpp' || echo './'`singledatachecker.cpp
In file included from /usr/local/include/torrent/torrent.h:42,
                 from singledatachecker.cpp:28:
/usr/local/include/torrent/download.h:48:25: sigc++/slot.h: No such file or directory
/usr/local/include/torrent/download.h:49:31: sigc++/connection.h: No such file or directory
In file included from /usr/local/include/torrent/torrent.h:42,
                 from singledatachecker.cpp:28:
/usr/local/include/torrent/download.h:180: error: `sigc' has not been declared
/usr/local/include/torrent/download.h:180: error: ISO C++ forbids declaration of `slot0' with no type
/usr/local/include/torrent/download.h:180: error: expected `;' before '<' token
/usr/local/include/torrent/download.h:181: error: `sigc' has not been declared
/usr/local/include/torrent/download.h:181: error: ISO C++ forbids declaration of `slot1' with no type
/usr/local/include/torrent/download.h:181: error: expected `;' before '<' token
/usr/local/include/torrent/download.h:183: error: `sigc' has not been declared
/usr/local/include/torrent/download.h:183: error: ISO C++ forbids declaration of `slot1' with no type
/usr/local/include/torrent/download.h:183: error: expected `;' before '<' token
/usr/local/include/torrent/download.h:184: error: `sigc' has not been declared
/usr/local/include/torrent/download.h:184: error: ISO C++ forbids declaration of `slot1' with no type
/usr/local/include/torrent/download.h:184: error: expected `;' before '<' token
/usr/local/include/torrent/download.h:185: error: `sigc' has not been declared
/usr/local/include/torrent/download.h:185: error: ISO C++ forbids declaration of `slot1' with no type
/usr/local/include/torrent/download.h:185: error: expected `;' before '<' token
/usr/local/include/torrent/download.h:190: error: `sigc' has not been declared
/usr/local/include/torrent/download.h:190: error: ISO C++ forbids declaration of `connection' with no type
/usr/local/include/torrent/download.h:190: error: expected `;' before "signal_download_done"
/usr/local/include/torrent/download.h:191: error: `sigc' has not been declared
/usr/local/include/torrent/download.h:191: error: ISO C++ forbids declaration of `connection' with no type
/usr/local/include/torrent/download.h:191: error: expected `;' before "signal_hash_done"
/usr/local/include/torrent/download.h:193: error: `sigc' has not been declared
/usr/local/include/torrent/download.h:193: error: ISO C++ forbids declaration of `connection' with no type
/usr/local/include/torrent/download.h:193: error: expected `;' before "signal_peer_connected"
/usr/local/include/torrent/download.h:194: error: `sigc' has not been declared
/usr/local/include/torrent/download.h:194: error: ISO C++ forbids declaration of `connection' with no type
/usr/local/include/torrent/download.h:194: error: expected `;' before "signal_peer_disconnected"
/usr/local/include/torrent/download.h:196: error: `sigc' has not been declared
/usr/local/include/torrent/download.h:196: error: ISO C++ forbids declaration of `connection' with no type
/usr/local/include/torrent/download.h:196: error: expected `;' before "signal_tracker_succeded"
/usr/local/include/torrent/download.h:197: error: `sigc' has not been declared
/usr/local/include/torrent/download.h:197: error: ISO C++ forbids declaration of `connection' with no type
/usr/local/include/torrent/download.h:197: error: expected `;' before "signal_tracker_failed"
/usr/local/include/torrent/download.h:198: error: `sigc' has not been declared
/usr/local/include/torrent/download.h:198: error: ISO C++ forbids declaration of `connection' with no type
/usr/local/include/torrent/download.h:198: error: expected `;' before "signal_tracker_dump"
/usr/local/include/torrent/download.h:200: error: `sigc' has not been declared
/usr/local/include/torrent/download.h:200: error: ISO C++ forbids declaration of `connection' with no type
/usr/local/include/torrent/download.h:200: error: expected `;' before "signal_chunk_passed"
/usr/local/include/torrent/download.h:201: error: `sigc' has not been declared
/usr/local/include/torrent/download.h:201: error: ISO C++ forbids declaration of `connection' with no type
/usr/local/include/torrent/download.h:201: error: expected `;' before "signal_chunk_failed"
/usr/local/include/torrent/download.h:204: error: `sigc' has not been declared
/usr/local/include/torrent/download.h:204: error: ISO C++ forbids declaration of `connection' with no type
/usr/local/include/torrent/download.h:204: error: expected `;' before "signal_network_log"
/usr/local/include/torrent/download.h:210: error: `sigc' has not been declared
/usr/local/include/torrent/download.h:210: error: ISO C++ forbids declaration of `connection' with no type
/usr/local/include/torrent/download.h:210: error: expected `;' before "signal_storage_error"
singledatachecker.cpp: In member function `virtual void bt::SingleDataChecker::check(const QString&, const bt::Torrent&, KProgress*)':
singledatachecker.cpp:45: error: invalid use of undefined type `const struct bt::Torrent'
./datachecker.h:30: error: forward declaration of `const struct bt::Torrent'
singledatachecker.cpp:60: error: invalid use of undefined type `const struct bt::Torrent'
./datachecker.h:30: error: forward declaration of `const struct bt::Torrent'
singledatachecker.cpp:73: error: invalid use of undefined type `const struct bt::Torrent'
./datachecker.h:30: error: forward declaration of `const struct bt::Torrent'
singledatachecker.cpp:73: error: invalid use of undefined type `const struct bt::Torrent'
./datachecker.h:30: error: forward declaration of `const struct bt::Torrent'
singledatachecker.cpp:74: error: invalid use of undefined type `const struct bt::Torrent'
./datachecker.h:30: error: forward declaration of `const struct bt::Torrent'
singledatachecker.cpp:74: error: invalid use of undefined type `const struct bt::Torrent'
./datachecker.h:30: error: forward declaration of `const struct bt::Torrent'
singledatachecker.cpp:74: error: invalid use of undefined type `const struct bt::Torrent'
./datachecker.h:30: error: forward declaration of `const struct bt::Torrent'
singledatachecker.cpp:75: error: invalid use of undefined type `const struct bt::Torrent'
./datachecker.h:30: error: forward declaration of `const struct bt::Torrent'
singledatachecker.cpp:78: error: `SHA1Hash' undeclared (first use this function)
singledatachecker.cpp:78: error: (Each undeclared identifier is reported only once for each function it appears in.)
singledatachecker.cpp:78: error: expected `;' before "h"
singledatachecker.cpp:79: error: `h' undeclared (first use this function)
singledatachecker.cpp:79: error: invalid use of undefined type `const struct bt::Torrent'
./datachecker.h:30: error: forward declaration of `const struct bt::Torrent'
gmake[3]: *** [singledatachecker.lo] Error 1
gmake[3]: Leaving directory `/usr/ports/net/ktorrent/work/ktorrent-1.2rc1/plugins/partfileimport'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/net/ktorrent/work/ktorrent-1.2rc1/plugins'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/net/ktorrent/work/ktorrent-1.2rc1'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/net/ktorrent.


More information about the freebsd-ports mailing list