Hi folks,
Trying to set up a Xymon 4,4 server and I'm getting these errors when it tries to detect the latest RRDtool:
Checking for RRDtool ... Not RRDtool 1.0.x, checking for 1.4.x test-rrd.c: In function 'main': test-rrd.c:28:42: error: passing argument 2 of 'rrd_flushcached' from incompatible pointer type [-Wincompatible-pointer-types] 28 | result = rrd_flushcached(pcount, rrdargs); printf("%d", result); | ^~~~~~~ | | | char ** In file included from test-rrd.c:3: /usr/include/rrd.h:242:18: note: expected 'const char **' but argument is of type 'char **' 242 | const char **argv); | ~~~~~~~~~~~~~^~~~ test-rrd.c:32:36: error: passing argument 2 of 'rrd_graph' from incompatible pointer type [-Wincompatible-pointer-types] 32 | result = rrd_graph(pcount, rrdargs, &calcpr, &xsize, &ysize, NULL, &ymin, &ymax); printf("%d", result); | ^~~~~~~ | | | char ** /usr/include/rrd.h:185:5: note: expected 'const char **' but argument is of type 'char **' 185 | const char **, | ^~~~~~~~~~~~~ make: *** [Makefile.test-rrd:4: test-compile] Error 1 Not RRDtool 1.0.x or 1.4.x, checking for 1.2.x test-rrd.c: In function 'main': test-rrd.c:32:36: error: passing argument 2 of 'rrd_graph' from incompatible pointer type [-Wincompatible-pointer-types] 32 | result = rrd_graph(pcount, rrdargs, &calcpr, &xsize, &ysize, NULL, &ymin, &ymax); printf("%d", result); | ^~~~~~~ | | | char ** In file included from test-rrd.c:3: /usr/include/rrd.h:185:5: note: expected 'const char **' but argument is of type 'char **' 185 | const char **, | ^~~~~~~~~~~~~ make: *** [Makefile.test-rrd:4: test-compile] Error 1 ERROR: Cannot compile with RRDtool. ERROR: Linking with RRDtool fails RRDtool include- or library-files not found.
Any thoughts or fixes?
-- Kim Scarborough