[Nagios-devel] Re: [Nagios-users] more problems installing nagios 2.0b1

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] Re: [Nagios-users] more problems installing nagios 2.0b1

Post by Guest »

A patch to disable (un)setenv() calls will be in CVS shortly. Thanks
for reporting this.


On 15 Dec 2004 at 11:19, StinkyBob wrote:

> I commented out those two lines, and added a printf(""); in each one's
> place just in case it would screw up the if statement.
>
> next time I did a "make all", it worked!
>
> Thanks,
> -Stinky
>
> -----Original Message-----
> From: Andreas Ericsson [mailto:[email protected]]
> Sent: Wednesday, December 15, 2004 8:49 AM
> To: [email protected]
> Subject: Re: [Nagios-users] more problems installing nagios 2.0b1
>
>
> StinkyBob wrote:
> > Here are the errors I'm getting when compiling 2.0b1. Any ideas?
> > (SunFire V210, Solaris 8)
> >
>
> setenv(3) and unsetenv(3) are BSD'isms. I don't think they're
> available on solaris 8. Comment them out and try again (they're not
> exactly crucial to operations anyway).
>
> You might want to send email like this to nagios-devel in the future.
>
> > -Stinky
> >
> > --------------------------------------------------------------------
> > ------ [machine@/usr/local/src/nagios-2.0b1]$ make all cd ./base &&
> > make [unnecessary compiling deleted here] 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 notifications.o
> > sehandlers.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 -lm -lnsl
> > -lsocket -lpthread -ldl -lrt Undefined first
> > referenced
> > symbol in file
> > unsetenv utils.o
> > setenv utils.o
> > ld: fatal: Symbol referencing errors. No output written to nagios
> > collect2: ld returned 1 exit status *** Error code 1 make: Fatal
> > error: Command failed for target `nagios' Current working directory
> > /usr/local/src/nagios-2.0b1/base *** Error code 1 make: Fatal error:
> > Command failed for target `all'
> >
> >
> > -------------------------------------------------------
> > SF email is sponsored by - The IT Product Guide
> > Read honest & candid reviews on hundreds of IT Products from real
> > users. Discover which products truly live up to the hype. Start
> > reading now. http://productguide.itmanagersjournal.com/
> > _______________________________________________ Nagios-users mailing
> > list [email protected]
> > https://lists.sourceforge.net/lists/lis ... gios-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
> >
>
> --
> Andreas Ericsson [email protected]
> OP5 AB www.op5.se
> Lead Developer
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real
> users. Discover which products truly live up to the hype. Start
> reading now. http://productguide.itmanagersjournal.com/
> _______________________________________________ Nagios-users mailing
> list [email protected]
> https://lists.sourceforge.net/lists/lis ... gios-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
>
>
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real
> users. Discover which products truly live up to the hype. Start
> reading now. http://productguide.itmanagersjournal.com/
> _______________________________________________ Nagios-users mailing
> list [email protected]
> https://lists.sourceforge.net/lists/lis ... gios-users ::: Please
> include Nagios version, plugin version (-v) and O

...[email truncated]...


This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked