<div dir="ltr">Hi,<div><br></div><div>I'm trying to compile collectd on ubuntu 11.10 64bit  but got some errors :</div><div><br></div><div>./configure --disable-all-plugins --enable-bind --enable-cpu --enable-df --enable-disk --enable-entropy --enable-interface --enable-load --enable-mbmon --enable-memory --enable-mysql --enable-network --enable-nginx --enable-ping --enable-python --enable-redis --enable-processes --enable-protocols --enable-swap --enable-snmp --enable-tcpconns --enable-tokyotyrant --enable-unixsock --enable-uptime --enable-uuid --enable-vmem --enable-write_http --enable-write_redis</div>

<div><br></div><div>make</div><div>.....</div><div><div>Making all in libcollectdclient</div><div>make[3]: Entering directory `/home/salimane/htdocs/collectd/src/libcollectdclient'</div><div>make  all-am</div><div>make[4]: Entering directory `/home/salimane/htdocs/collectd/src/libcollectdclient'</div>

<div>/bin/bash ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src    -Wall -Werror -g -O2 -c -o client.lo client.c</div><div>libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../src -Wall -Werror -g -O2 -c client.c  -fPIC -DPIC -o .libs/client.o</div>

<div>libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../src -Wall -Werror -g -O2 -c client.c -o client.o >/dev/null 2>&1</div><div>/bin/bash ../../libtool --tag=CC   --mode=link gcc -Wall -Werror -g -O2 -version-info 0:0:0  -o <a href="http://libcollectdclient.la">libcollectdclient.la</a> -rpath /opt/collectd/lib client.lo  -ldl </div>

<div>libtool: link: gcc -shared  -fPIC -DPIC  .libs/client.o   -ldl  -O2   -Wl,-soname -Wl,libcollectdclient.so.0 -o .libs/libcollectdclient.so.0.0.0</div><div>libtool: link: (cd ".libs" && rm -f "libcollectdclient.so.0" && ln -s "libcollectdclient.so.0.0.0" "libcollectdclient.so.0")</div>

<div>libtool: link: (cd ".libs" && rm -f "libcollectdclient.so" && ln -s "libcollectdclient.so.0.0.0" "libcollectdclient.so")</div><div>libtool: link: ar cru .libs/libcollectdclient.a  client.o</div>

<div>libtool: link: ranlib .libs/libcollectdclient.a</div><div>libtool: link: ( cd ".libs" && rm -f "<a href="http://libcollectdclient.la">libcollectdclient.la</a>" && ln -s "../<a href="http://libcollectdclient.la">libcollectdclient.la</a>" "<a href="http://libcollectdclient.la">libcollectdclient.la</a>" )</div>

<div>make[4]: Leaving directory `/home/salimane/htdocs/collectd/src/libcollectdclient'</div><div>make[3]: Leaving directory `/home/salimane/htdocs/collectd/src/libcollectdclient'</div><div>Making all in owniptc</div>

<div>make[3]: Entering directory `/home/salimane/htdocs/collectd/src/owniptc'</div><div>/bin/bash ../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src    -Wall -Werror -g -O2 -c -o libip4tc.lo libip4tc.c</div>

<div>libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../src -Wall -Werror -g -O2 -c libip4tc.c  -fPIC -DPIC -o .libs/libip4tc.o</div><div>In file included from libip4tc.c:136:0:</div><div>libiptc.c:84:8: error: redefinition of 'struct xt_error_target'</div>

<div>/usr/include/linux/netfilter/x_tables.h:69:8: note: originally defined here</div><div>make[3]: Leaving directory `/home/salimane/htdocs/collectd/src/owniptc'</div><div>make[3]: *** [libip4tc.lmake[2]: Leaving directory `/home/salimane/htdocs/collectd/src'</div>

<div>o] Error 1</div><div>make[1]: Leaving directory `/home/salimane/htdocs/collectd/src'</div><div>make[2]: *** [all-recursive] Error 1</div><div>make[1]:%                                                                                                                                                                        *** [all] Error 2</div>

<div>make: *** [all-recursive] Error 1</div><div><br></div><div><br></div><div><br></div><div><br><div>Thanks for any suggestion<br clear="all"><div dir="ltr"><span style="border-collapse:collapse;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:13px"><div style="margin-bottom:5px">

<span style="font-family:arial,helvetica,sans-serif;font-size:small"><b>--</b></span></div><div style="margin-bottom:5px"><span style="font-family:arial,helvetica,sans-serif;font-size:small"><b>Salimane Adjao Moustapha</b></span><br>

</div></span></div>
</div></div></div></div>