Radius Plugin Compile Issues


#1

Ok, I’m hoping someone can help me with fixing this … ./configure portion seems to work fine, but then upon trying to make i get this:

if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl     -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 `/nagios/plugs/nagios-plugins-1.4/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/nagios/plugs/nagios-plugins-1.4'
make: *** [all] Error 2

Any Ideas/Suggestions/Help?

Thanks

Matt/soop


#2

not sure.
Possibly some radius package required for compiling which you are missing?

Luca


#3

not even running radius services though … ponder i’ve read somewhere about commenting out the radius poritons but not familair with how/where to do it :slight_smile:


#4

I suppose it’s like the SNMP plugin, if you want to run the checks the compiler needs the libraries… if you don’t need them… well, just ignore the error. The rest should compile anyway :slight_smile:

Luca


#5

vi the Makefile that is in the ~source/nagiosplugins/plugins/ directory and search for “radius” Remove all entries that relate to this, and try make again.