Alex van den Bogaerdt wrote:
> 
> 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.
Well thats it. I thought rrd.h did this. 
It seems that today is my brain-damage day... ;-)
Nevertheless many thanks. Now it works.

Andreas.

> 
> 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                                  |
> +----------------------------------------------------------------------+

-- 
@---------------------------------------------@
|       email: [EMAIL PROTECTED]       |
|    http://www.bigfoot.com/~andreas_maus/    |
@---------------------------------------------@

--
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