[collectd] compilation problem on solaris 11

Bill Gunter tulanian at gmail.com
Tue Aug 27 15:37:52 CEST 2013


Trying to compile 5.2.1 on solaris 11 and getting this failure:

/bin/sh ../libtool --tag=CC    --mode=compile gcc -DHAVE_CONFIG_H -I.
-DPREFIX='"/opt/apps/unix/collectd-5.2.1"'
 -DCONFIGFILE='"/opt/apps/configuration/unix/collectd/etc/collectd.conf"'
 -DLOCALSTATEDIR='"/var"'  -DPKGLOCALSTATEDIR='"/var/lib/collectd"'
 -DPIDFILE='"/var/run/collectd.pid"'
-DPLUGINDIR='"/opt/apps/unix/collectd-5.2.1/lib/collectd"'
 -DPKGDATADIR='"/opt/apps/unix/collectd-5.2.1/share/collectd"'  -Wall
-Werror -g -O2 -MT utils_dns.lo -MD -MP -MF .deps/utils_dns.Tpo -c -o
utils_dns.lo utils_dns.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I.
"-DPREFIX=\"/opt/apps/unix/collectd-5.2.1\""
"-DCONFIGFILE=\"/opt/apps/configuration/unix/collectd/etc/collectd.conf\""
"-DLOCALSTATEDIR=\"/var\"" "-DPKGLOCALSTATEDIR=\"/var/lib/collectd\""
"-DPIDFILE=\"/var/run/collectd.pid\""
"-DPLUGINDIR=\"/opt/apps/unix/collectd-5.2.1/lib/collectd\""
"-DPKGDATADIR=\"/opt/apps/unix/collectd-5.2.1/share/collectd\"" -Wall
-Werror -g -O2 -MT utils_dns.lo -MD -MP -MF .deps/utils_dns.Tpo -c
utils_dns.c  -fPIC -DPIC -o .libs/utils_dns.o
utils_dns.c: In function 'handle_ipv6':
utils_dns.c:478:17: error: storage size of 'ext_hdr' isn't known
utils_dns.c:482:24: error: invalid application of 'sizeof' to incomplete
type 'struct ip6_ext'
utils_dns.c:489:52: error: invalid application of 'sizeof' to incomplete
type 'struct ip6_ext'
cc1: warnings being treated as errors
utils_dns.c:478:17: error: unused variable 'ext_hdr'

Found a few posts on a similar issue but no resolution. Anyone else getting
this?

Thanks,

Bill
---
See my vizify bio!
[image: William Gunter's Visual
Thumbprint]<https://www.vizify.com/es/501a727aba8a2200020003b3>
http://www.gunternation.com
http://www.slowfooddublin.com

"I think we delight to praise what we enjoy because the praise not merely
expresses but completes the enjoyment; it is its appointed consummation."
Reflections on the Psalms, C.S. Lewis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20130827/056ba33a/attachment.html>


More information about the collectd mailing list