[collectd] perl compilation error
Oleg King
king2 at kaluga.ru
Mon Apr 28 00:46:20 CEST 2008
Hi!
I have tried to compile 4.3.3 on FreeBSD 7.0 and found following
error:
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DPREFIX='"/opt/collectd"' -DCONFIGFILE='"/opt/collectd/etc/collectd.conf"' -DLOCALSTATEDIR='"/opt/collectd/var"' -DPKGLOCALSTATEDIR='"/opt/collectd/var/lib/collectd"' -DPIDFILE='"/opt/collectd/var/run/collectd.pid"' -DPLUGINDIR='"/opt/collectd/lib/collectd"' -I/usr/local/include -Wall -Werror -DAPPLLIB_EXP="/usr/local/lib/perl5/5.8.8/BSDPAN" -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/local/lib/perl5/5.8.8/mach/CORE -DXS_VERSION=\"4.3.3\" -DVERSION=\"4.3.3\" -g -O2 -MT perl_la-perl.lo -MD -MP -MF .deps/perl_la-perl.Tpo -c -o perl_la-perl.lo `test -f 'perl.c' || echo './'`perl.c
gcc -DHAVE_CONFIG_H -I. -DPREFIX=\"/opt/collectd\" -DCONFIGFILE=\"/opt/collectd/etc/collectd.conf\" -DLOCALSTATEDIR=\"/opt/collectd/var\" -DPKGLOCALSTATEDIR=\"/opt/collectd/var/lib/collectd\" -DPIDFILE=\"/opt/collectd/var/run/collectd.pid\" -DPLUGINDIR=\"/opt/collectd/lib/collectd\" -I/usr/local/include -Wall -Werror -DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.8/BSDPAN -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/local/lib/perl5/5.8.8/mach/CORE -DXS_VERSION=\"4.3.3\" -DVERSION=\"4.3.3\" -g -O2 -MT perl_la-perl.lo -MD -MP -MF .deps/perl_la-perl.Tpo -c perl.c -fPIC -DPIC -o .libs/perl_la-perl.o
cc1: warnings being treated as errors
perl.c: In function 'init_pi':
perl.c:1367: warning: value computed is not used
*** Error code 1
What I'm doing wrong? :)
--
С уважением,
Oleg mailto:king2 at kaluga.ru
More information about the collectd
mailing list