V3 compile issues on Solaris 8

Jose Luis Garcia garciam at teleline.es
Wed Jul 23 17:51:19 CEST 2008


You will fing snprintf.o in the base directory instead of common.

Just make a soft link and make again.

It worked for me

Cheers


2008/7/23, stan <stanb at panix.com>:
>
> I am trying to build 3.0.2 on SunOS 5.8 (Solaris 8). The comile is failing
> like this:
>
> gcc -g -O2 -DHAVE_CONFIG_H  -DNSCORE -o nagios nagios.c broker.o nebmods.o
> checks.o config.o commands.o events.o flapping.o logging.o macros-base.o
> notifications.o sehandlers.o skiplist.o utils.o retention-base.o
> xretention-base.o comments-base.o xcomments-base.o objects-base.o
> xobjects-base.o statusdata-base.o xstatusdata-base.o perfdata-base.o
> xperfdata-base.o downtime-base.o xdowntime-base.o  ../common/snprintf.o
> -lm  -lpthread -lltdl -lrt
> gcc: ../common/snprintf.o: No such file or directory
> *** Error code 1
> make: Fatal error: Command failed for target `nagios'
>
>
> Can anyone give me some guidance on this? If I recall corectly, and it's
> been a long time since I built things on this machine, snprintf is indeed
> not in the Sun supplied libraries. Seems like I go a library with it from
> SunFreeware at one time. Maybe I just need to fix the linker line?
>
> Thanks.
>
> The build on Solaris 5 should be fun :-(
>
> --
> One of the main causes of the fall of the roman empire was that, lacking
> zero, they had no way to indicate successful termination of their C
> programs.
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20080723/1ad67d11/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list