same error with HEAD on openbsd 3.4.
solved by using gcc-3.2.2 port (named egcc) as CC & CPP

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

Regards


                Julien
_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to