From owner-freebsd-ports@FreeBSD.ORG Mon Jan 9 17:43:51 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CD89B16A41F; Mon, 9 Jan 2006 17:43:51 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from mail.yazzy.org (mail.yazzy.org [217.8.140.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7DFF743D48; Mon, 9 Jan 2006 17:43:50 +0000 (GMT) (envelope-from lists@yazzy.org) Received: from lapdance.yazzy.net (unknown [192.168.99.4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.yazzy.org (Postfix) with ESMTP id 5D7CB3983E; Mon, 9 Jan 2006 18:44:13 +0100 (CET) Date: Mon, 9 Jan 2006 17:43:08 +0000 From: Marcin Jessa To: markus@FreeBSD.org Message-Id: <20060109174308.4e8450ce.lists@yazzy.org> Organization: YazzY.org X-Mailer: Sylpheed version 2.0.4 (GTK+ 2.8.9; i386-portbld-freebsd6.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org Subject: ktorrent fails X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jan 2006 17:43:52 -0000 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.