[rrd-developers] compile problem rrd_daemon on hardy
Sebastian Harl
sh at tokkee.org
Sun Nov 2 17:13:57 CET 2008
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
--
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/
Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-rrd_daemon-Use-pthread_cond_init-to-initialize-no.patch
Type: text/x-diff
Size: 941 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-developers/attachments/20081102/f7ee674a/attachment-0002.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.oetiker.ch/pipermail/rrd-developers/attachments/20081102/f7ee674a/attachment-0003.bin
More information about the rrd-developers
mailing list