Nagios-plugins-1.4-beta1.tar.gz - plug ins installation prob


Hello All,
I am trying to install Nagios plug ins from the following file.

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 toterminate’
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 ?



Try this,