[collectd] Unable to compile collectd 4.10.0 on Rocks 5.3 (CentOS 5.4) 64-bit
Sebastian Harl
sh at tokkee.org
Thu Jun 3 17:10:15 CEST 2010
Hi Finn,
On Thu, Jun 03, 2010 at 03:54:00PM +0200, Finn Andersen wrote:
> I tried to compile collectd from source, typing configure;make
> This is the output I got (ran make twice to get rid of the stuff that
> compiled fine):
> cc1: warnings being treated as errors
> python.c: In function 'cpy_write_callback':
> python.c:422: warning: dereferencing type-punned pointer will break
> strict-aliasing rules
This seems to be a problem with the (Python) implementation of the
"Py_True" and "Py_False" variables. A fix/work-around is available in
the Git repo in commit 2f2f3a6 [1].
HTH,
Sebastian
[1] <http://git.verplant.org/?p=collectd.git;a=commit;h=2f2f3a6>
--
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: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20100603/d7dfd2ee/attachment.pgp
More information about the collectd
mailing list