[Nagiosplug-help] Problems compiling nagios-plugins (any version) in Slackware 10

Isuraeru Ochoa isuraeru at gmail.com
Wed Feb 23 23:57:43 CET 2005


Hi, 
I'm having problems to compile any version of nagios-plugins in
slackware 10, even a friend had the same problem:

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

I don't have any problem in other distro like Mandrake, Red Hat or
Debian only with Slackware. I'm using a precompiled rpm for Red Hat
(converted to .pkg file), and works fine but I need to compile it in
Slack.

Thanx
-- 
Israel Ochoa
[Isuraeru]




More information about the Help mailing list