[rrd-users] Re: Accessing a rrd-database using C?

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Thu Mar 15 15:16:56 MET 2001


Andreas Maus wrote:

> But if I try to compile the program gcc says:
> root at conglom-o:~/code/c/rrd:gcc -o rrdtest -L/usr/local/rrdtool/lib
> -I/usr/local/rrdtool/include rrdtest.c -lrrd
> 
>  /usr/local/rrdtool/include/rrd.h:60: parse error before `*'
> 
> Hmmm...Whats the problem?
> Line 60 in rrd.h is:
> 
> int  LockRRD(FILE *);

I think you should include stdio.h from your program.

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-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list