[rrd-developers] Re: LC_ALL

Alex van den Bogaerdt alex at ergens.op.HET.NET
Sat Apr 20 16:22:56 MEST 2002


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,
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| 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:rrd-developers-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-developers-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-developers
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-developers mailing list