[collectd] Version 4.8.0 available

Mirko Buffoni briareos at eswat.org
Tue Sep 15 11:28:54 CEST 2009


Hi,

I'm having problems compiling latest version on CentOS 5.3:

/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H 
-I.  -DPREFIX='"/usr"' -DCONFIGFILE='"/etc/collectd.conf"' 
-DLOCALSTATEDIR='"/var"' -DPKGLOCALSTATEDIR='"/var/lib/collectd"' 
-DPIDFILE='"/var/run/collectd.pid"' -DPLUGINDIR='"/usr/lib/collectd"' 
-DPKGDATADIR='"/usr/share/collectd"'  -Wall  -O2 -g -m32 -march=i686 
-mtune=generic -fasynchronous-unwind-tables -MT irq.lo -MD -MP -MF 
.deps/irq.Tpo -c -o irq.lo irq.c

iptables.c:55: error: conflicting types for 'iptc_handle_t'
owniptc/libiptc.h:48: error: previous declaration of 'iptc_handle_t' was here
iptables.c:58: error: conflicting types for 'ip6tc_handle_t'
owniptc/libip6tc.h:40: error: previous declaration of 'ip6tc_handle_t' was here
iptables.c: In function 'submit6_chain':
iptables.c:375: warning: passing argument 2 of 'ip6tc_first_rule' from 
incompatible pointer type
iptables.c:394: warning: passing argument 2 of 'ip6tc_next_rule' from 
incompatible pointer type
iptables.c: In function 'submit_chain':
iptables.c:407: warning: passing argument 2 of 'iptc_first_rule' from 
incompatible pointer type
iptables.c:426: warning: passing argument 2 of 'iptc_next_rule' from 
incompatible pointer type
iptables.c: In function 'iptables_read':
iptables.c:470: warning: passing argument 1 of 'iptc_free' from 
incompatible pointer type
iptables.c:493: warning: passing argument 1 of 'ip6tc_free' from 
incompatible pointer type
make[3]: *** [iptables.lo] Error 1
make[3]: *** Waiting for unfinished jobs....

I'll investigate this later, but if someone have solved this before, feel
free to post a workaround.

Mirko




More information about the collectd mailing list