Fixed in the cvs ... BMS0442 But you probably should look at upgrading gcc to something modern and supported ... only the older 2.94s and such have trouble with the code the way it was...
-----Burton > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Mike > Hunter > Sent: Tuesday, February 10, 2004 1:16 PM > To: [EMAIL PROTECTED] > Subject: [Ntop] More Ntop problems on FreeBSD (cannot compile CVS, fbsd > 4.8) > > > Hi everybody, > > I'm trying to work on my unresloved Ntop issues from several weeks ago. > For comparason, I am trying to compile ntop on a freebsd-4.8 box, but I > get the following compiler error: > > % gmake > cd . && /bin/sh ./missing --run echo > > gmake all-recursive > gmake[1]: Entering directory `/root/ntop-cvs/ntop' > cd . && /bin/sh ./missing --run echo > > Making all in myrrd > gmake[2]: Entering directory `/root/ntop-cvs/ntop/myrrd' > gmake[2]: Nothing to be done for `all'. > gmake[2]: Leaving directory `/root/ntop-cvs/ntop/myrrd' > Making all in . > gmake[2]: Entering directory `/root/ntop-cvs/ntop' > cd . && /bin/sh ./missing --run echo > > gmake[2]: Nothing to be done for `all-am'. > gmake[2]: Leaving directory `/root/ntop-cvs/ntop' > Making all in plugins > gmake[2]: Entering directory `/root/ntop-cvs/ntop/plugins' > Making all in . > gmake[3]: Entering directory `/root/ntop-cvs/ntop/plugins' > source='rrdPlugin.c' object='rrdPlugin.lo' libtool=yes \ > depfile='.deps/rrdPlugin.Plo' tmpdepfile='.deps/rrdPlugin.TPlo' \ > depmode=gcc /usr/local/bin/bash ../depcomp \ > /usr/local/bin/bash ../libtool --mode=compile gcc -DHAVE_CONFIG_H > -I. -I. -I.. -I.. -I/root/ntop-cvs/ntop/myrrd > -DHAVE_FILEDESCRIPTORBUG -DFREEBSD -I/usr/local/include > -I/root/ntop-cvs/ntop/myrrd -g -O2 -I/usr/local/include -Wshadow > -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations > -Wnested-externs -fPIC -c -o rrdPlugin.lo `test -f 'rrdPlugin.c' > || echo './'`rrdPlugin.c > rm -f .libs/rrdPlugin.lo > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/root/ntop-cvs/ntop/myrrd > -DHAVE_FILEDESCRIPTORBUG -DFREEBSD -I/usr/local/include > -I/root/ntop-cvs/ntop/myrrd -g -O2 -I/usr/local/include -Wshadow > -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations > -Wnested-externs -fPIC -c rrdPlugin.c > -Wp,-MD,.deps/rrdPlugin.TPlo -fPIC -DPIC -o .libs/rrdPlugin.lo > rrdPlugin.c: In function `rrdMainLoop': > rrdPlugin.c:1600: syntax error before `*' > rrdPlugin.c:1609: `maxHosts' undeclared (first use in this function) > rrdPlugin.c:1609: (Each undeclared identifier is reported only once > rrdPlugin.c:1609: for each function it appears in.) > rrdPlugin.c:1610: `len' undeclared (first use in this function) > rrdPlugin.c:1611: `tmpStats' undeclared (first use in this function) > rrdPlugin.c:1615: `stats' undeclared (first use in this function) > rrdPlugin.c:1618: syntax error before `*' > rrdPlugin.c:1622: `el' undeclared (first use in this function) > rrdPlugin.c:1637: syntax error before `keyValue' > rrdPlugin.c:1639: `keyValue' undeclared (first use in this function) > rrdPlugin.c:1651: `statsEntry' undeclared (first use in this function) > rrdPlugin.c:1653: `numEntries' undeclared (first use in this function) > rrdPlugin.c:1663: `totBytesSent' undeclared (first use in this function) > rrdPlugin.c:1666: `totBytesRcvd' undeclared (first use in this function) > gmake[3]: *** [rrdPlugin.lo] Error 1 > gmake[3]: Leaving directory `/root/ntop-cvs/ntop/plugins' > gmake[2]: *** [all-recursive] Error 1 > gmake[2]: Leaving directory `/root/ntop-cvs/ntop/plugins' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory `/root/ntop-cvs/ntop' > gmake: *** [all] Error 2 > > Should I be posting this to ntop-devel instead? > > Thanks, > > Mike > _______________________________________________ > Ntop mailing list > [EMAIL PROTECTED] > http://listgateway.unipi.it/mailman/listinfo/ntop > _______________________________________________ Ntop mailing list [EMAIL PROTECTED] http://listgateway.unipi.it/mailman/listinfo/ntop
