Compiling Nagios 2.0b1 on Solaris 7

Andreas Ericsson ae at op5.se
Mon Feb 7 00:05:23 CET 2005


Erek Dyskant wrote:
> Andreas,
> 	Thanks a lot for the help.  That made it go a bit further.
> Now it is getting stuck on "undefined symbol: setenv"...
> 	Sorry if the answer is obvious.  I'm new to compiling on
> non-typical systems.
> 

That's an issue I believe has been fixed in CVS. Download latest CVS 
code and try with that. If it doesn't work, gimme a holler and I'll 
patch it so it does.

> Regards,
> Erek
> 
> gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xdowntime-base.o
> ../xdata/xdddefault.c
> gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c  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  -lrt
> Undefined                       first referenced
>  symbol                             in file
> setenv                              utils.o
> unsetenv                            utils.o
> ld: fatal: Symbol referencing errors. No output written to nagios
> collect2: ld returned 1 exit status
> make[1]: *** [nagios] Error 1
> make[1]: Leaving directory `/opt/home2/erek/src/nagios-2.0b1/base'
> make: *** [all] Error 2
> 
> 
> 
>>It appears you do not have the libtool header files installed. They 
>>proved the lt_dlopen() and friends. Run ./configure 
>>--disable-event-broker. That might sort it out for you.
>>
>>-- 
>>Andreas Ericsson                   andreas.ericsson at op5.se
>>OP5 AB                             www.op5.se
>>Lead Developer
>>
>>
>>-------------------------------------------------------
>>This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
>>Tool for open source databases. Create drag-&-drop reports. Save time
>>by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
>>Download a FREE copy at http://www.intelliview.com/go/osdn_nl
>>_______________________________________________
>>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
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
> Tool for open source databases. Create drag-&-drop reports. Save time
> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
> _______________________________________________
> 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


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
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