[rrd-developers] compile problem rrd_daemon on hardy

Tobias Oetiker tobi at oetiker.ch
Sun Nov 2 18:11:52 CET 2008


Hi Sebastian,

thanks
tobi
Today Sebastian Harl wrote:

> Hi Tobi,
>
> On Sun, Nov 02, 2008 at 04:36:31PM +0100, Tobias Oetiker wrote:
> > The problem ist that you are setting
> >
> > static pthread_cond_t  cache_cond = PTHREAD_COND_INITIALIZER;
>
> This is fine. PTHREAD_COND_INITIALIZER may be used to initialize
> _static_ condition variables ...
>
> > rrd_daemon.c: In function 'handle_request_update':
> > rrd_daemon.c:1453: error: expected expression before '{' token
>
> ... which is not the case in handle_request_update() though.
>
> > fix ?
>
> See the attached patch.
>
> HTH,
> Sebastian
>
>

-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900



More information about the rrd-developers mailing list