From owner-freebsd-questions@FreeBSD.ORG Tue Jul 19 16:41:21 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B93B116A41F for ; Tue, 19 Jul 2005 16:41:21 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail23.sea5.speakeasy.net (mail23.sea5.speakeasy.net [69.17.117.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C89A43D45 for ; Tue, 19 Jul 2005 16:41:21 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 4126 invoked from network); 19 Jul 2005 16:41:21 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail23.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 19 Jul 2005 16:41:20 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 38C312B; Tue, 19 Jul 2005 12:41:20 -0400 (EDT) Sender: lowell@be-well.ilk.org To: piotrekk@excite.com To: freebsd-questions@freebsd.org References: <20050718234353.339CEAFA99@xprdmailfe5.nwk.excite.com> From: Lowell Gilbert Date: 19 Jul 2005 12:41:19 -0400 In-Reply-To: <20050718234353.339CEAFA99@xprdmailfe5.nwk.excite.com> Message-ID: <448y02iw9c.fsf@be-well.ilk.org> Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Subject: Re: cannot install ntop under freeBSD 5.5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2005 16:41:21 -0000 "PK" writes: > If I try to install ntop from ports, I get following errors: > > rrdPlugin.c: In function `graphCounter': > rrdPlugin.c:583: error: too few arguments to function `rrd_graph' > rrdPlugin.c: In function `netflowSummary': > rrdPlugin.c:728: error: too few arguments to function `rrd_graph' > rrdPlugin.c: In function `graphSummary': > rrdPlugin.c:926: error: too few arguments to function `rrd_graph' > gmake[3]: *** [rrdPlugin.lo] Error 1 > gmake[3]: Leaving directory `/usr/ports/net/ntop/work/ntop/plugins' > gmake[2]: *** [all-recursive] Error 1 > gmake[2]: Leaving directory `/usr/ports/net/ntop/work/ntop/plugins' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory `/usr/ports/net/ntop/work/ntop' > gmake: *** [all] Error 2 > *** Error code 2 > > Stop in /usr/ports/net/ntop. > *** Error code 1 > > Stop in /usr/ports/net/ntop. > > knows someone, howto solve this problem ? > I have the newest ports tree update and rrdtool is already updatet. There is no FreeBSD 5.5 yet, so I'm not sure what you have. Did you clean your ntop port directory before building? rrd_graph is supposed to take 5 parameters (I updated my ports tree this morning). Make sure it does so in that file and in rrd.h.