Olá pessoal será que alguém pode me ajudar?
Estou tentando instalar o nagios em um Slackware 10.0, e quando eu tento compilar o plugin ocorre o seguinte erro
 
        Making all in lib
        make[1]: Entering directory `/opt/nagios-plugins-1.3.1/lib'
        make[1]: Nothing to be done for `all'.
        make[1]: Leaving directory `/opt/nagios-plugins-1.3.1/lib'
        Making all in plugins
        make[1]: Entering directory `/opt/nagios-plugins-1.3.1/plugins'
        make  all-am
        make[2]: Entering directory `/opt/nagios-plugins-1.3.1/plugins'
        source='check_radius.c' object='check_radius.o' libtool=no \
        depfile='.deps/check_radius.Po' tmpdepfile='.deps/check_radius.TPo' \
        depmode=gcc3 /bin/sh ../depcomp \
        gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. -I../lib   -I/usr/include     -g -O2 -c `test -f 'check_radius.c' || echo './'`check_radius.c
        check_radius.c: In function `main':
        check_radius.c:167: error: too few arguments to function `rc_avpair_add'
        check_radius.c:168: error: too few arguments to function `rc_avpair_add'
        check_radius.c:169: error: too few arguments to function `rc_avpair_add'
        check_radius.c:179: error: too few arguments to function `rc_avpair_add'
        check_radius.c:185: error: too few arguments to function `rc_send_server'
        make[2]: *** [check_radius.o] Error 1
        make[2]: Leaving directory `/opt/nagios-plugins-1.3.1/plugins'
        make[1]: *** [all] Error 2
        make[1]: Leaving directory `/opt/nagios-plugins-1.3.1/plugins'
        make: *** [all-recursive] Error 1
 
Porque isso está ocorendo, o que é esse "radius" que está dando erro?
 
Aguardo uma ajuda
 
Obrigado.
 

Responder a