<div>This seems to be a library problem.</div>
<div><br>The libraries where dirname and sprintf are suposed to be defined is not in the lib path.</div>
<div> </div>
<div>Perhaps you gcc libs are not in the lib path (I don't remember the env var, żLD_LIBRARY_PATH?)</div>
<div> </div>
<div>Good luck<br> </div>
<div><span class="gmail_quote">2008/7/24, stan <<a href="mailto:stanb@panix.com">stanb@panix.com</a>>:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Yes, I know it's archaic, but I still have machines runing SunOS <a href="http://5.5.1.">5.5.1.</a><br>
I am trying to compile 3.0.2 on one of these machines, and it is failing<br>like this:<br><br>/usr/include/dlfcn.h:83: warning: `RTLD_NOW' redefined<br>../include/config.h:111: warning: this is the location of the previous<br>
definition<br>/usr/include/dlfcn.h:86: warning: `RTLD_GLOBAL' redefined<br>../include/config.h:107: warning: this is the location of the previous<br>definition<br>Undefined                       first referenced<br>symbol                             in file<br>
dirname                             xobjects-base.o<br>snprintf                            utils.o<br>ld: fatal: Symbol referencing errors. No output written to nagios<br>*** Error code 1<br>make: Fatal error: Command failed for target `nagios'<br>
<br>I already copied snprintf.o from base to commn, but it is aparantly not<br>found at link time, and these is alos the issue with dirname.<br><br>Any ideas?<br><br>--<br>One of the main causes of the fall of the roman empire was that, lacking<br>
zero, they had no way to indicate successful termination of their C<br>programs.<br><br>-------------------------------------------------------------------------<br>This SF.Net email is sponsored by the Moblin Your Move Developer's challenge<br>
Build the coolest Linux based applications with Moblin SDK & win great prizes<br>Grand prize is a trip for two to an Open Source event anywhere in the world<br><a href="http://moblin-contest.org/redirect.php?banner_id=100&url=/">http://moblin-contest.org/redirect.php?banner_id=100&url=/</a><br>
_______________________________________________<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br>