Latest plug in installation problem!!!

Andreas Ericsson ae at op5.se
Sat Jan 8 21:41:23 CET 2005


Kaushal Patel wrote:
> Hello All,
> I am trying to install Nagios plug ins from the following file. 
> nagios-plugins-1.4-beta1.tar.gz
> 
> During installation it properly executes and finishes ./ configure
> command. Now, when i try this "make all". It gives me the following
> error after doing a considerable processing.
> ----------
> gcc  -g -O2  -L. -o check_real  check_real.o netutils.o utils.o ../lib/libnagios
> plug.a ../lib/libcoreutils.a  -lnsl -lresolv -I/usr/include
> if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I
> .. -I.. -I../lib -I../intl     -g -O2 -MT check_smtp.o -MD -MP -MF ".deps/check_
> smtp.Tpo" -c -o check_smtp.o check_smtp.c; \
> then mv -f ".deps/check_smtp.Tpo" ".deps/check_smtp.Po"; else rm -f ".deps/check
> _smtp.Tpo"; exit 1; fi
> gcc  -g -O2  -L. -o check_smtp  check_smtp.o netutils.o utils.o ../lib/libnagios
> plug.a ../lib/libcoreutils.a  -lnsl -lresolv  -I/usr/include
> check_smtp.o(.text+0x777): In function `process_arguments':
> /home/gopi/useless/nagios-plugins-1.4-beta1/plugins/check_smtp.c:456:
> undefined                                             reference to
> `terminate'
> collect2: ld returned 1 exit status
> make[2]: *** [check_smtp] Error 1
> make[2]: Leaving directory `/home/gopi/useless/nagios-plugins-1.4-beta1/plugins'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/gopi/useless/nagios-plugins-1.4-beta1'
> make: *** [all] Error 2
> ----------
> 
> Could anyone please help in solving this problem ? 
> 

This is a known problem. Try downloading the CVS head of the plugins, 
and pray the developers don't put this kind of easy-to-find bugs in the 
next release.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
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