[collectd] compilation error
Salimane Adjao Moustapha
salimane at gmail.com
Mon Dec 12 12:14:40 CET 2011
Hi,
I'm trying to compile collectd on ubuntu 11.10 64bit but got some errors :
./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
make
.....
Making all in libcollectdclient
make[3]: Entering directory
`/home/salimane/htdocs/collectd/src/libcollectdclient'
make all-am
make[4]: Entering directory
`/home/salimane/htdocs/collectd/src/libcollectdclient'
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../../src -Wall -Werror -g -O2 -c -o client.lo client.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src -Wall -Werror -g -O2
-c client.c -fPIC -DPIC -o .libs/client.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src -Wall -Werror -g -O2
-c client.c -o client.o >/dev/null 2>&1
/bin/bash ../../libtool --tag=CC --mode=link gcc -Wall -Werror -g -O2
-version-info 0:0:0 -o libcollectdclient.la -rpath /opt/collectd/lib
client.lo -ldl
libtool: link: gcc -shared -fPIC -DPIC .libs/client.o -ldl -O2
-Wl,-soname -Wl,libcollectdclient.so.0 -o .libs/libcollectdclient.so.0.0.0
libtool: link: (cd ".libs" && rm -f "libcollectdclient.so.0" && ln -s
"libcollectdclient.so.0.0.0" "libcollectdclient.so.0")
libtool: link: (cd ".libs" && rm -f "libcollectdclient.so" && ln -s
"libcollectdclient.so.0.0.0" "libcollectdclient.so")
libtool: link: ar cru .libs/libcollectdclient.a client.o
libtool: link: ranlib .libs/libcollectdclient.a
libtool: link: ( cd ".libs" && rm -f "libcollectdclient.la" && ln -s "../
libcollectdclient.la" "libcollectdclient.la" )
make[4]: Leaving directory
`/home/salimane/htdocs/collectd/src/libcollectdclient'
make[3]: Leaving directory
`/home/salimane/htdocs/collectd/src/libcollectdclient'
Making all in owniptc
make[3]: Entering directory `/home/salimane/htdocs/collectd/src/owniptc'
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-I../../src -Wall -Werror -g -O2 -c -o libip4tc.lo libip4tc.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src -Wall -Werror -g -O2
-c libip4tc.c -fPIC -DPIC -o .libs/libip4tc.o
In file included from libip4tc.c:136:0:
libiptc.c:84:8: error: redefinition of 'struct xt_error_target'
/usr/include/linux/netfilter/x_tables.h:69:8: note: originally defined here
make[3]: Leaving directory `/home/salimane/htdocs/collectd/src/owniptc'
make[3]: *** [libip4tc.lmake[2]: Leaving directory
`/home/salimane/htdocs/collectd/src'
o] Error 1
make[1]: Leaving directory `/home/salimane/htdocs/collectd/src'
make[2]: *** [all-recursive] Error 1
make[1]:%
*** [all] Error 2
make: *** [all-recursive] Error 1
Thanks for any suggestion
*--*
*Salimane Adjao Moustapha*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20111212/f7e87366/attachment.html>
More information about the collectd
mailing list