[Nagiosplug-help] Trouble compiling 1.4 plugins

Justin Shore justin.shore at sktbcs.com
Tue Jul 12 11:58:13 CEST 2005

I'm trying to compile the 1.4 plugins on a Sun 280R running Gentoo 2005.0.  Portage doesn't contain any 2.x releases so I compiled 2.0b3 by hand (I always compiled by hand before Gentoo as well) and have it up and running, albeit without any plugins.  I'm now trying to compile the plugins.  The compile bombs out every time at the same spot, when trying to compile check_radius.

if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -I/usr/include/ldap    -I/include  -g -O2 -MT check_radius.o -MD -MP -MF ".deps/check_radius.Tpo" -c -o check_radius.o check_radius.c; \
then mv -f ".deps/check_radius.Tpo" ".deps/check_radius.Po"; else rm -f ".deps/check_radius.Tpo"; exit 1; fi
check_radius.c: In function `main':
check_radius.c:126: error: too few arguments to function `rc_avpair_add'
check_radius.c:127: error: too few arguments to function `rc_avpair_add'
check_radius.c:128: error: too few arguments to function `rc_avpair_add'
check_radius.c:129: error: too few arguments to function `rc_avpair_add'
check_radius.c:139: error: too few arguments to function `rc_avpair_add'
check_radius.c:145: error: too few arguments to function `rc_send_server'
make[2]: *** [check_radius.o] Error 1
make[2]: Leaving directory `/usr/local/src/nagios/nagios-plugins-1.4/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/nagios/nagios-plugins-1.4'
make: *** [all] Error 2

It does this even though I've explicitly disabled check_radius with --without-check_radius.  I've been searching for the answer off and on for two weeks and have come up empty.  Does anyone have any insight on this problem?  FYI, I'm not new to Nagios.  However this is my first 2.x install and first time trying to get Nagios compiled on Sparc hardware.


Justin Shore, Network Engineer
SKT Business Communication Solutions
Office:  (316) 265-9555 x3217 

No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.8.13/47 - Release Date: 7/12/2005

More information about the Help mailing list