<div dir="ltr">Looks like there is no end to this error. I have tried almost all changes that could possibly cause this error. RRD 1.2.28 should ideally work with sun compiler cc, but it dosnt. <br><br><div class="Ih2E3d">
adding :/opt/SUNWexplo/bin before :/usr/ucb also dsnt help. Is there no work arround this problem..?<br><br>Any hint/ thoughts will be highly appreciated.<br><br>Thanks,<br>Anjini<br><br>---------------------------------------------------------------------------------------------<br>
<br></div>I tried to install rrdtool 1.2.28, after reading that s<a href="https://lists.oetiker.ch/pipermail/rrd-announce/2008-July/000111.html" target="_blank">un studio 11bugs are fixed on this version</a> and am still getting these errors:<br>
<br>Using /usr/ucb/cc<br><b>/usr/ucb/cc: language optional software package not installed<br>*** Error code 1<br>make: Fatal error: Command failed for target `RRDs.o'<br><br></b>using /usr/local/bin/gcc<div class="Ih2E3d">
<br><br>cc: unrecognized option `-KPIC'<br>
cc: language ildoff not recognized<br></div>cc: RRDs.c: linker input file unused because linking not done<br>Running Mkbootstrap for RRDs ()<br>chmod 644 RRDs.bs<br>rm -f blib/arch/auto/RRDs/RRDs.so<br>LD_RUN_PATH="/usr/lib" cc -G RRDs.o -L../../src/.libs/ -R/usr/local/rrdtool-1.2.28/<div dir="ltr">
lib -lrrd -o blib/arch/auto/RRDs/RRDs.so -lm -lz<br>
cc: RRDs.o: No such file or directory<br>*** Error code 1<br><br><br>what should I be doing..?</div><br><br><div class="gmail_quote">On Thu, Sep 4, 2008 at 5:23 PM, Steve Shipway <span dir="ltr"><<a href="mailto:s.shipway@auckland.ac.nz">s.shipway@auckland.ac.nz</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="blue" lang="EN-GB">
<div>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">This is because your Makefile is created
for the Sun Studio C compiler, not for GCC.</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Changing it to work with GCC can be
painful and may cause problems with Perl interoperability. We installed Sun
Studio in the end (it's a free download)</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Steve</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<div style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0cm 0cm 0cm 4pt;">
<div>
<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">
<hr align="center" size="2" width="100%">
</span></font></div>
</div><div class="Ih2E3d">
<div>
<div>
<div link="blue" vlink="blue">
<div>
<div>
<div style="border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; border-width: medium medium medium 1.5pt; padding: 0cm 0cm 0cm 4pt;">
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">cc
-c -I../../src -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -xarch=v8
-D_TS_ERRNO -xO3 -xspace -xildoff
-DVERSION=\"1.2019\" -DXS_VERSION=\"1.2019\" -KPIC
"-I/usr/perl5/5.8.4/lib/sun4-solaris-64int/CORE"
-DPERLPATCHLEVEL=8 RRDs.c<br>
<b><span style="font-weight: bold;">cc: unrecognized option `-KPIC'</span></b><br>
cc: language ildoff not recognized<br>
<br>
</span></font></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
</div>
</div></div>
</div>
</div>
</blockquote></div><br></div>