From: Buchan M. <bg...@st...> - 2010-02-08 20:42:00
|
On Monday, 8 February 2010 16:37:35 mario andre wrote: > Hi Buchan, How are you? Please keep mail on the mailing lists. > My friend I've upgrade to xymon 4.3.0 beta2 because I was needing the new > features reports from this version. Please use the version in xymon / hobbitmon 4.3.0 branch svn. > But after I upgrade I came with the hobbitd_rrd fatal errors as I have > before talking to you and install the do_devmon.c revision 164. The fixes didn't make it into 4.3.0-beta2. > The do_devmon.c version from henrik package is different from the revision > 164 that I was using and produced the hobbitd_rrd errors. Yes, some changes were made to the API for the RRD changes in 4.3.x, so the version(s) for 4.2.x won't compile. > I've tried to > compile the do_devmon.c rev 164 but I'm getting the folowing errors: > > In file included from do_rrd.c:567: > rrd/do_devmon.c: In function 'do_devmon_rrd': > rrd/do_devmon.c:78: error: 'rra1' undeclared (first use in this function) > rrd/do_devmon.c:78: error: (Each undeclared identifier is reported only > once rrd/do_devmon.c:78: error: for each function it appears in.) > rrd/do_devmon.c:79: error: 'rra2' undeclared (first use in this function) > rrd/do_devmon.c:80: error: 'rra3' undeclared (first use in this function) > rrd/do_devmon.c:81: error: 'rra4' undeclared (first use in this function) > rrd/do_devmon.c:84: warning: assignment from incompatible pointer type > rrd/do_devmon.c:118: warning: passing argument 3 of 'create_and_update_rrd' > from incompatible pointer type > rrd/do_devmon.c:118: error: too few arguments to function > 'create_and_update_rrd' > do_rrd.c: In function 'update_rrd': > do_rrd.c:649: warning: passing argument 4 of 'do_devmon_rrd' makes integer > from pointer without a cast > do_rrd.c:649: error: too many arguments to function 'do_devmon_rrd' > make[1]: *** [do_rrd.o] Error 1 > make[1]: Leaving directory `/home/xymon/xymon-4.3.0-beta2/hobbitd' > make: *** [hobbitd-build] Error 2 I haven't personally tested, but the changes I committed in rev 6222 of the hobbitmon svn repo should address both: http://hobbitmon.svn.sf.net/viewvc/hobbitmon?view=rev&revision=6222 Please let me know if it works for you. Regards, Buchan |