Alex van den Bogaerdt wrote: > Can anyone tell me how to setup my system so that I don't get this > error: > > rrd_graph.c: In function `rrd_graph': > rrd_graph.c:2518: warning: implicit declaration of function `setlocale' > rrd_graph.c:2518: `LC_ALL' undeclared (first use in this function) > rrd_graph.c:2518: (Each undeclared identifier is reported only once > rrd_graph.c:2518: for each function it appears in.) > make[1]: *** [rrd_graph.lo] Error 1 > make: *** [all-recursive] Error 1
I received a couple of answers (thanks), basically telling me a) more people have this problem b) a quick fix is to include "rrd_tool.h" at the beginning Of course it also helps to remove the SETLOCALE line. If whoever wrote this patch wants to contact me then we can work together and find out which file needs to be included to make it work without local modifications to the source. cheers, -- __________________________________________________________________ / [EMAIL PROTECTED] [EMAIL PROTECTED] \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-developers WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
