[collectd] Compilation issue on Solaris 10
Maciej (Matchek) Bliziński
maciej at opencsw.org
Sat May 5 09:46:05 CEST 2012
Hello collectd community,
I looked at building collectd for OpenCSW[1], and I came across a
compilation issue on Solaris 10:
/bin/bash ../libtool --tag=CC --mode=compile /opt/csw/bin/gcc-4.6
-DHAVE_CONFIG_H -I. -DPREFIX='"/opt/csw"'
-DCONFIGFILE='"/etc/opt/csw/collectd.conf"'
-DLOCALSTATEDIR='"/var/opt/csw"'
-DPKGLOCALSTATEDIR='"/var/opt/csw/lib/collectd"'
-DPIDFILE='"/var/opt/csw/run/collectd.pid"'
-DPLUGINDIR='"/opt/csw/lib/collectd"'
-DPKGDATADIR='"/opt/csw/share/collectd"' -I/opt/csw/include -Wall
-Werror -O2 -pipe -mcpu=v9 -MT exec.lo -MD -MP -MF .deps/exec.Tpo -c
-o exec.lo exec.c
mv -f .deps/ascent_la-ascent.Tpo .deps/ascent_la-ascent.Plo
utils_dns.c: In function 'handle_ipv6':
utils_dns.c:452:21: error: expected '=', ',', ';', 'asm' or
'__attribute__' before '.' token
utils_dns.c:452:21: error: expected expression before '.' token
utils_dns.c:460:5: error: 'S_un' undeclared (first use in this function)
utils_dns.c:460:5: note: each undeclared identifier is reported only
once for each function it appears in
utils_dns.c:476:17: error: storage size of 'ext_hdr' isn't known
Is it a known issue?
Maciej
[1] http://www.opencsw.org/about/
More information about the collectd
mailing list