[collectd] compilation problem on solaris 11
Yves Mettier
ymettier at free.fr
Wed Aug 28 13:01:42 CEST 2013
Hello,
What is your opinion about issue #348 ?
Regards,
Yves
Le 2013-08-27 15:37, Bill Gunter a écrit :
> 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\""
>
>
>
> CONFIGFILE=\"/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
>
> _______________________________________________
> collectd mailing list
> collectd at verplant.org
> http://mailman.verplant.org/listinfo/collectd
--
- Homepage - http://ymettier.free.fr -
- GPG key - http://ymettier.free.fr/gpg.txt -
- C en action - http://ymettier.free.fr/livres/C_en_action_ed2.html -
- Guide Survie C - http://www.pearson.fr/livre/?GCOI=27440100673730 -
More information about the collectd
mailing list