Ok,.... Got around this error by adding this code to the rrdPlugin.c:
#ifndef pXBAR #define pXBAR #endif BUT, tried to compile and got more syntax errors: rrdPlugin.c: In function `statisticsPage': rrdPlugin.c:3685: error: syntax error before '=' token rrdPlugin.c:3692: error: syntax error before ')' token rrdPlugin.c:3750: error: syntax error before '=' token rrdPlugin.c:3757: error: syntax error before ')' token SO, I recall making some tweaks in globals-defines.h relating to rrd: /* For compatibility w/ 3.2rc1, these are undef. But it's a good idea to enable them... */ #undef MAX_RRD_PROCESS_BUFFER #undef MAX_RRD_CYCLE_BUFFER #undef MAX_NETFLOW_FLOW_BUFFER #undef MAX_NETFLOW_PACKET_BUFFER /* Default is commented out */ /* #define MAX_RRD_PROCESS_BUFFER 512 /* /* #define MAX_RRD_CYCLE_BUFFER 4 /* /* #define MAX_NETFLOW_FLOW_BUFFER 128 /* /* #define MAX_NETFLOW_PACKET_BUFFER 16 /* It said it was a good idea, so I did it! Apparently it's NOT a good idea! I put this back to default (commented out) and the gmake ran fine! Getting ready to run this thing soon! ________________________________ From: Gary Gatten Sent: Friday, May 08, 2009 10:58 AM To: '[email protected]'; [email protected] Subject: gmake: rrdPlugin.c:3681: error: `pXBAR' undeclared (first use in this function) Still trying to compile latest from SVN, but keep finding "challenges"! I'll try to hack my way through. Is there are recent release that compiles more easily? Not sure how much more time I can spend on this. rrdPlugin.c: In function `statisticsPage': rrdPlugin.c:3681: error: `pXBAR' undeclared (first use in this function) rrdPlugin.c:3681: error: (Each undeclared identifier is reported only once rrdPlugin.c:3681: error: for each function it appears in.) gmake[3]: *** [librrdPlugin_la-rrdPlugin.lo] Error 1 gmake[3]: Leaving directory `/tmp/ntop-svn/ntop/plugins' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/tmp/ntop-svn/ntop/plugins' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/tmp/ntop-svn/ntop' gmake: *** [all] Error 2 <font size="1"> <div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 1.0pt 0in'> </div> "This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system." </font>
_______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
