Your message dated Tue, 23 Aug 2005 14:02:51 +1000 with message-id <[EMAIL PROTECTED]> and subject line fixed upstream has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) -------------------------------------- Received: (at submit) by bugs.debian.org; 18 Mar 2005 20:16:05 +0000 >From [EMAIL PROTECTED] Fri Mar 18 12:16:05 2005 Return-path: <[EMAIL PROTECTED]> Received: from c223012.adsl.hansenet.de (localhost.localdomain) [213.39.223.12] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1DCNt6-0002jk-00; Fri, 18 Mar 2005 12:16:04 -0800 Received: from aj by localhost.localdomain with local (Exim 4.44) id 1DCNt4-0002q7-RY; Fri, 18 Mar 2005 21:16:02 +0100 To: Debian Bug Tracking System <[EMAIL PROTECTED]> From: Andreas Jochens <[EMAIL PROTECTED]> Subject: pmacct: FTBFS (amd64/gcc-4.0): array type has incomplete element type Message-Id: <[EMAIL PROTECTED]> Date: Fri, 18 Mar 2005 21:16:02 +0100 Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2005_01_02 X-Spam-Level: Package: pmacct Severity: normal Tags: patch When building 'pmacct' on amd64 with gcc-4.0, I get the following error: cd . \ && CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status creating Makefile make[1]: Leaving directory `/pmacct-0.7.4' make[1]: Entering directory `/pmacct-0.7.4' gcc -DPACKAGE=\"pmacctd\" -DVERSION=\"0.7.4\" -DHAVE_MMAP=1 -DHAVE_PCAP_H=1 -DHAVE_LIBPCAP=1 -DPCAP_7=1 -DPCAP_TYPE_linux=1 -DHAVE_LIBMYSQLCLIENT=1 -DWITH_MYSQL=1 -DWITH_PGSQL=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_SYS_TIME_H=1 -DRETSIGTYPE=void -DHAVE_INET_NTOA=1 -DHAVE_SOCKET=1 -I. -I. -O2 -I/usr/include/postgresql -c pmacct.c In file included from pmacct.c:24: pmacct.h:145: error: array type has incomplete element type With the attached patch 'pmacct' can be compiled on amd64 using gcc-4.0. This patch contains a patch which was already necessary with an earlier version of gcc. Regards Andreas Jochens diff -urN ../tmp-orig/pmacct-0.7.4/pmacct.h ./pmacct.h --- ../tmp-orig/pmacct-0.7.4/pmacct.h 2004-08-27 14:15:42.000000000 +0200 +++ ./pmacct.h 2005-03-18 21:08:58.319414832 +0100 @@ -142,7 +142,6 @@ extern int have_num_memory_pools; /* global getopt() stuff */ extern struct configuration config; /* global configuration structure */ extern struct plugins_list_entry *plugins_list; /* linked list of each plugin configuration */ -extern struct channels_list_entry channels_list[MAX_N_PLUGINS]; /* communication channels: core <-> plugins */ extern pid_t failed_plugins[MAX_N_PLUGINS]; /* plugins failed during startup phase */ #endif diff -urN ../tmp-orig/pmacct-0.7.4/pkt_handlers.c ./pkt_handlers.c --- ../tmp-orig/pmacct-0.7.4/pkt_handlers.c 2004-09-10 17:24:22.000000000 +0200 +++ ./pkt_handlers.c 2005-03-18 21:10:21.503504341 +0100 @@ -27,6 +27,8 @@ #include "plugin_hooks.h" #include "pkt_handlers.h" +extern struct channels_list_entry channels_list[MAX_N_PLUGINS]; /* communication channels: core <-> plugins */ + /* functions */ void evaluate_packet_handlers() { diff -urN ../tmp-orig/pmacct-0.7.4/plugin_hooks.c ./plugin_hooks.c --- ../tmp-orig/pmacct-0.7.4/plugin_hooks.c 2004-09-28 14:00:07.000000000 +0200 +++ ./plugin_hooks.c 2005-03-18 21:09:16.365963333 +0100 @@ -179,7 +179,7 @@ #else /* rg.ptr points to slot's base address into the ring (shared memory); bufptr works as a displacement into the slot to place sequentially packets */ - (char *) pdata = channels_list[index].rg.ptr+ChBufHdrSz+channels_list[index].bufptr; + pdata = channels_list[index].rg.ptr+ChBufHdrSz+channels_list[index].bufptr; #endif while (channels_list[index].phandler[num] != NULL) { (*channels_list[index].phandler[num])(&channels_list[index], pptrs, pdata); --------------------------------------- Received: (at 287918-done) by bugs.debian.org; 23 Aug 2005 04:03:19 +0000 >From [EMAIL PROTECTED] Mon Aug 22 21:03:19 2005 Return-path: <[EMAIL PROTECTED]> Received: from (support.anchor.net.au) [202.4.235.65] by spohr.debian.org with esmtp (Exim 3.36 1 (Debian)) id 1E7Q0N-0005dA-00; Mon, 22 Aug 2005 21:03:19 -0700 Received: from dawn.spacepants.org (dawn.bridge.anchor.net.au [10.108.62.169]) by support.anchor.net.au (Postfix) with ESMTP id 5118A44648; Tue, 23 Aug 2005 14:02:47 +1000 (EST) Received: by dawn.spacepants.org (Postfix, from userid 1000) id 9B9A0E4054; Tue, 23 Aug 2005 14:02:51 +1000 (EST) Date: Tue, 23 Aug 2005 14:02:51 +1000 From: Jamie Wilkinson <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: fixed upstream Message-ID: <[EMAIL PROTECTED]> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Mailer: beefmail v0.0 X-No-CC: Please respect the setting of my Mail-Followup-To header User-Agent: Mutt/1.5.10i Delivered-To: [EMAIL PROTECTED] X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Level: X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no version=2.60-bugs.debian.org_2005_01_02 Both these bugs were fixed in an 0.8.x series release, according to the upstream developer. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]