[rrd-users] Re: Problem compiling rrdtool on a linux box
Freddy Frouin
freddy.frouin at fluxus.net
Mon Feb 12 15:54:09 MET 2001
from where should came the definition of the RUSAGE_SELF macro ?
can I define it in an include, with which value ?
thanks, f.
Le 12 Feb 2001 11:00:14 CET, Freddy Frouin a écrit:
>
> egcs-2.91.66
> rrdtool-1.0.28
>
> -------
>
> make[1]: Entering directory `/root/rrdtool-1.0.28/src'
> gcc -DHAVE_CONFIG_H -I. -I. -I../config -I../cgilib-0.4 -I../gd1.3
> -I../libpng-1.0.6 -I../zlib-1.1.3 -g -O2 -Wall -pedantic -Wshadow
> -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations
> -Wnested-externs -Winline -fPIC -c rrd_tool.c
> rrd_tool.c: In function `main':
> rrd_tool.c:194: storage size of `myusage' isn't known
> rrd_tool.c:223: warning: implicit declaration of function `getrusage'
> rrd_tool.c:223: `RUSAGE_SELF' undeclared (first use in this function)
> rrd_tool.c:223: (Each undeclared identifier is reported only once
> rrd_tool.c:223: for each function it appears in.)
> rrd_tool.c:194: warning: unused variable `myusage'
> make[1]: *** [rrd_tool.o] Error 1
> make[1]: Leaving directory `/root/rrdtool-1.0.28/src'
> make: *** [all-recursive] Error 1
>
> any help apreciated,
> Cheers, Freddy.
>
> Does someone look on thsi problem ?
> thanks, Freddy.
> --
> Fluxus
> 37, avenue du Colonel Pierre Avia
> 75015 Paris
>
> freddy.frouin at fluxus.net
>
>
>
> --
> 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
>
>
>
>
>
> --
> 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
>
>
>
--
Fluxus
37, avenue du Colonel Pierre Avia
75015 Paris
freddy.frouin at fluxus.net
--
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