<div dir="auto"><div class="gmail_quote" dir="auto"><div dir="ltr">Hi exports,</div><div dir="ltr"><br></div><div dir="ltr">I’m trying to install collectd-5.8.0 on a Solaris 11.3 (SRU: 11.3.35.6.0), it fails to ‘make’.</div><div lang="EN-AU" link="blue" vlink="purple"><div class="m_-6076166594707504536WordSection1"><p class="MsoNormal"><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Courier New"">$ make<u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Courier New"">make all-am<u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Courier New""> CC src/utils_cmds.lo<u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Courier New"">In file included from src/utils_cmds.c:30:0:<u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Courier New"">src/daemon/common.h:285:15: error: unknown type name âkstat_tâ; did you mean âfloat_tâ?<u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Courier New"">int get_kstat(kstat_t **ksp_ptr, char *module, int instance, char *name);<u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Courier New""> ^~~~~~~<u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Courier New""> float_t<u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Courier New"">src/daemon/common.h:286:27: error: unknown type name âkstat_tâ; did you mean âfloat_tâ?<u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Courier New"">long long get_kstat_value(kstat_t *ksp, char *name);<u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Courier New""> ^~~~~~~<u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Courier New""> float_t<u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Courier New"">*** Error code 1<u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Courier New"">The following command caused the error:<u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Courier New"">echo " CC " src/utils_cmds.lo;depbase=`echo src/utils_cmds.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\<u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Courier New"">/bin/sh ./libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -I./src -I./src/daemon -DPREFIX='"/opt/collectd"' -DCONFIGFILE='"/opt/collectd/etc/collectd.conf"'
-DLOCALSTATEDIR='"/opt/collectd/var"' -DPKGLOCALSTATEDIR='"/opt/collectd/var/lib/collectd"' -DPLUGINDIR='"/opt/collectd/lib/collectd"' -DPKGDATADIR='"/opt/collectd/share/collectd"' -Wall -Werror -m64 -pthreads -D_POSIX_PTHREAD_SEMANTICS -MT src/utils_cmds.lo
-MD -MP -MF $depbase.Tpo -c -o src/utils_cmds.lo src/utils_cmds.c &&\<u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Courier New"">mv -f $depbase.Tpo $depbase.Plo<u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Courier New"">make: Fatal error: Command failed for target `src/utils_cmds.lo'<u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Courier New"">Current working directory /opt/collectd-5.8.0<u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Courier New"">*** Error code 1<u></u><u></u></span></b></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Courier New"">make: Fatal error: Command failed for target `all'<u></u><u></u></span></b></p>
<p class="MsoNormal"><br></p><p class="MsoNormal"><u></u>Could you please provide assistance in fixing this error? I've installed the prerequisites required in the README, upgraded Perl to 5.22, tried make and gmake too.</p><p class="MsoNormal">Thank you in advance. </p><p class="MsoNormal">Cheers</p><p class="MsoNormal"><u></u></p>
<p class="MsoNormal">Craig.</p>
</div>
</div>
</div></div>