<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>All,<div><br></div><div>Doug Wightman found a fix for this.</div><div><br></div><div>./configure --disable-gcc-warnings CC=/usr/sfw/bin/gcc</div><div><br></div><div>Then you need to edit the&nbsp;relevant&nbsp;Makefiles an follow the below procedure. &nbsp;Possibly someone can add this to Torque?</div><div><br></div><div>###########################################################</div><div><div>You need to add "-lresolv" to the LIBS line of the Makefile.</div><div><br></div><div>For example:</div><div><br></div><div>file: src/server/Makefile</div><div><br></div><div>change:</div><div><br></div><div>LIBS = -lsocket -lnsl</div><div><br></div><div>to:</div><div><br></div><div>LIBS = -lsocket -lnsl &nbsp;-lresolv</div><div><br></div><div>###########################################################</div><div><br></div><div><br></div>----- "Chris Vaughan" &lt;chris@adaptivecomputing.com&gt; wrote:
<br><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;"><style>p { margin: 0; }</style><div style="font-family: Times New Roman; font-size: 12pt; color: #000000">Josh,<div><br></div><div>Thanks, issue that I'm seeing is that even though I've installed the freeware it's still picking up the sun <span id="DWT234" class="ZM-SPELLCHECK-MISSPELLED">binutils</span> and some others in the <span id="DWT235" class="ZM-SPELLCHECK-MISSPELLED">makefile</span> instead of the gnu tools. &nbsp;I've tried changing <span id="DWT236" class="ZM-SPELLCHECK-MISSPELLED">env</span> paths but with little success, and&nbsp;I hacked the <span id="DWT237" class="ZM-SPELLCHECK-MISSPELLED">config</span> file to point to the gnu `<span id="DWT238" class="ZM-SPELLCHECK-MISSPELLED">ld</span>` but haven't made much progress beyond that. &nbsp;I may try <span id="DWT239" class="ZM-SPELLCHECK-MISSPELLED">slurm</span> otherwise I will have to resort to <span id="DWT240" class="ZM-SPELLCHECK-MISSPELLED">sge</span>/<span id="DWT241" class="ZM-SPELLCHECK-MISSPELLED">moab</span> which I'm not a fan of.</div><div><br></div><div>Hope you're doing well, you should try and get out to <span id="DWT242" class="ZM-SPELLCHECK-MISSPELLED">ISC</span> this summer! &nbsp;</div><div><br></div><div>Cheers,</div><div><br>----- "Joshua Bernstein" &lt;<span id="DWT243" class="ZM-SPELLCHECK-MISSPELLED">jbernstein</span>@<span id="DWT244" class="ZM-SPELLCHECK-MISSPELLED">penguincomputing</span>.com&gt; wrote:
<br>&gt; Chris,<br>&gt; <br>&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;While I haven't built TORQUE on <span id="DWT245" class="ZM-SPELLCHECK-MISSPELLED">SPARC</span> for sometime, I do recall the GNU bits <br>&gt; from Sun to be a bit strange. I had the best luck by installing the packages <br>&gt; from <span id="DWT246" class="ZM-SPELLCHECK-MISSPELLED">sunfreeware</span>.com, though judging from the PATH it looks to be what you're <br>&gt; doing. Are you using the Sun <span id="DWT247" class="ZM-SPELLCHECK-MISSPELLED">builtins</span> or separate packages?<br>&gt; <br>&gt; -Joshua Bernstein<br>&gt; Senior Software Engineer<br>&gt; Penguin Computing<br>&gt; <br>&gt; Chris Vaughan wrote:<br>&gt; &gt; Hi,<br>&gt; &gt; <br>&gt; &gt; I'm trying to build Torque 2.3.7 for a <span id="DWT248" class="ZM-SPELLCHECK-MISSPELLED">SPARC</span> machine running <span id="DWT249" class="ZM-SPELLCHECK-MISSPELLED">Solaris</span> 10 <br>&gt; &gt; and I'm hitting some errors.<br>&gt; &gt; <br>&gt; &gt; The configure flags I'm using point to the gnu tools that come with <br>&gt; &gt; <span id="DWT250" class="ZM-SPELLCHECK-MISSPELLED">Solaris</span> but it's failing.<br>&gt; &gt; <br>&gt; &gt; ./configure --disable-server --with-gnu-<span id="DWT251" class="ZM-SPELLCHECK-MISSPELLED">ld</span> CC=/<span id="DWT252" class="ZM-SPELLCHECK-MISSPELLED">usr</span>/<span id="DWT253" class="ZM-SPELLCHECK-MISSPELLED">sfw</span>/bin/<span id="DWT254" class="ZM-SPELLCHECK-MISSPELLED">gcc</span> <br>&gt; &gt; <span id="DWT255" class="ZM-SPELLCHECK-MISSPELLED">CXX</span>=/<span id="DWT256" class="ZM-SPELLCHECK-MISSPELLED">usr</span>/<span id="DWT257" class="ZM-SPELLCHECK-MISSPELLED">sfw</span>/bin/c++ <span id="DWT258" class="ZM-SPELLCHECK-MISSPELLED">CPP</span>=/<span id="DWT259" class="ZM-SPELLCHECK-MISSPELLED">usr</span>/<span id="DWT260" class="ZM-SPELLCHECK-MISSPELLED">sfw</span>/bin/<span id="DWT261" class="ZM-SPELLCHECK-MISSPELLED">cpp</span> --disable-<span id="DWT262" class="ZM-SPELLCHECK-MISSPELLED">gcc</span>-warnings<br>&gt; &gt; <br>&gt; &gt; I have been using <span id="DWT263" class="ZM-SPELLCHECK-MISSPELLED">gmake</span> to build and here are the errors that I'm <br>&gt; &gt; seeing. &nbsp;Any assistance you can provide would be appreciated.<br>&gt; &gt; <br>&gt; &gt; Output from /<span id="DWT264" class="ZM-SPELLCHECK-MISSPELLED">usr</span>/<span id="DWT265" class="ZM-SPELLCHECK-MISSPELLED">sfw</span>/bin/<span id="DWT266" class="ZM-SPELLCHECK-MISSPELLED">gcc</span> <br>&gt; &gt;<br>&gt; <span><br>........................................</span></div><div>.................................</div><div>...................</div><div>...........</div><div><br></div><div><br></div><div><span>-- <br><div><div><div><p><font color="#1f497d"><font size="3"><strong>Chris Vaughan</strong></font></font><font color="#a6a6a6">&nbsp; |&nbsp; Technical Consultant - EMEA<br></font></p>
<p><font color="#a6a6a6">Adaptive Computing | Mobile: +44 7800 973062 | Office: +44 1483 243578<br></font></p>
<p><font color="#a6a6a6">3000 Cathedral Hill | <span id="DWT2372" class="ZM-SPELLCHECK-MISSPELLED">Guildford</span> GU2 7YB&nbsp; |&nbsp; United Kingdom<br></font></p>
<p>&nbsp;</p>
<p><img dfsrc="http://www.adaptivecomputing.com/sig.png" src="http://www.adaptivecomputing.com/sig.png"></p></div></div></div><br></span></div></div></blockquote><br><span id="6214d7de-1c95-49dc-8319-b513698937e0"><br><br>-- <br><div><div><div><p><font color="#1f497d"><font size="3"><strong>Chris Vaughan</strong></font></font><font color="#a6a6a6">&nbsp; |&nbsp; Technical Consultant - EMEA<br></font></p>
<p><font color="#a6a6a6">Adaptive Computing | Mobile: +44 7800 973062 | Office: +44 1483 243578<br></font></p>
<p><font color="#a6a6a6">3000 Cathedral Hill | Guildford GU2 7YB&nbsp; |&nbsp; United Kingdom<br></font></p>
<p>&nbsp;</p>
<p><img src="http://www.adaptivecomputing.com/sig.png"></p></div></div></div><br></span></div></div></body></html>