% sudo portinstall ntop ---> Installing 'ntop-3.1_1' from a port (net/ntop) ---> Building '/usr/ports/net/ntop' [...] (cd .libs && rm -f libpdaPlugin.la && ln -s ../libpdaPlugin.la libpdaPlugin.la) if /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -I/usr/include -I../myrrd -DFREEBSD -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/include -I/usr/include -g -O -pipe -I/usr/local/include -g -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -MT rrdPlugin.lo -MD -MP -MF ".deps/rrdPlugin.Tpo" -c -o rrdPlugin.lo rrdPlugin.c; \ then mv -f ".deps/rrdPlugin.Tpo" ".deps/rrdPlugin.Plo"; else rm -f ".deps/rrdPlugin.Tpo"; exit 1; fi rm -f .libs/rrdPlugin.lo cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/local/include -I/usr/include -I../myrrd -DFREEBSD -I/usr/local/include -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/include -I/usr/include -g -O -pipe -I/usr/local/include -g -Wshadow -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fPIC -MT rrdPlugin.lo -MD -MP -MF .deps/rrdPlugin.Tpo -c rrdPlugin.c -fPIC -DPIC -o .libs/rrdPlugin.lo 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 `/export/ports/net/ntop/work/ntop/plugins' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/export/ports/net/ntop/work/ntop/plugins' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/export/ports/net/ntop/work/ntop' gmake: *** [all] Error 2 *** Error code 2 Stop in /export/ports/net/ntop.
hi I have exact the same problem and get the same errors. to clean a port, reinstall or upgrade ntop or rrdtool doesn't help. I've done: # portupgrade -a -N -vu -R net/ntop and # portupgrade -a -N -vu -r net/ntop but still get errors ! I've reported this problem to the port maintainer, but didn't get any answer. This is a little strange. under freeBSD 5.2.1 on the same hardware I didn't have any problems. kind regards piotr
Responsible Changed From-To: freebsd-ports-bugs->clement Over to maintainer.
Fix: --- ntop.h.orig Tue Jul 26 03:39:16 2005 +++ ntop.h Tue Jul 26 03:39:29 2005 @@ -447,7 +447,7 @@ #endif #ifndef EMBEDDED -#include "rrd.h" +#include "myrrd/rrd.h" #endif #ifdef HAVE_GETOPT_H
State Changed From-To: open->closed A fix has been committed, thanks for reporting this!