Andreas Maus wrote:

> But if I try to compile the program gcc says:
> [EMAIL PROTECTED]:~/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,
-- 
   __________________________________________________________________
 / [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-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi

Reply via email to