Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: NTop: Users

gmake: rrdPlugin.c:3681: error: `pXBAR' undeclared (first use in this function)

 

 

NTop users RSS feed   Index | Next | Previous | View Threaded


Ggatten at waddell

May 8, 2009, 8:58 AM

Post #1 of 2 (451 views)
Permalink
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>


Ggatten at waddell

May 8, 2009, 11:58 AM

Post #2 of 2 (410 views)
Permalink
Re: gmake: rrdPlugin.c:3681: error: `pXBAR' undeclared (first use in this function) [In reply to]

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: 'ntop [at] unipi'; ntop-dev [at] unipi
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 users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.