<div>You will fing snprintf.o in the base directory instead of common.</div>
<div> </div>
<div>Just make a soft link and make again.</div>
<div> </div>
<div>It worked for me</div>
<div> </div>
<div>Cheers<br><br> </div>
<div><span class="gmail_quote">2008/7/23, 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">I am trying to build 3.0.2 on SunOS 5.8 (Solaris 8). The comile is failing<br>like this:<br><br>gcc -g -O2 -DHAVE_CONFIG_H  -DNSCORE -o nagios nagios.c broker.o nebmods.o<br>
checks.o config.o commands.o events.o flapping.o logging.o macros-base.o<br>notifications.o sehandlers.o skiplist.o utils.o retention-base.o<br>xretention-base.o comments-base.o xcomments-base.o objects-base.o<br>xobjects-base.o statusdata-base.o xstatusdata-base.o perfdata-base.o<br>
xperfdata-base.o downtime-base.o xdowntime-base.o  ../common/snprintf.o<br>-lm  -lpthread -lltdl -lrt<br>gcc: ../common/snprintf.o: No such file or directory<br>*** Error code 1<br>make: Fatal error: Command failed for target `nagios'<br>
<br><br>Can anyone give me some guidance on this? If I recall corectly, and it's<br>been a long time since I built things on this machine, snprintf is indeed<br>not in the Sun supplied libraries. Seems like I go a library with it from<br>
SunFreeware at one time. Maybe I just need to fix the linker line?<br><br>Thanks.<br><br>The build on Solaris 5 should be fun :-(<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>