more problems installing nagios 2.0b1

Andreas Ericsson ae at op5.se
Wed Dec 15 15:48:58 CET 2004


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
> 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
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
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
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