[Nagiosplug-help] Plugin compiling error under SuSE 7.3

Ruzsinszky Attila ruzsinszky.attila at gmail.com
Sun Apr 12 21:27:45 CEST 2009


Hi,

I  wanted to compiling plugins-1.4.13 under SuSE 73.
Configure was succesfull and after the 'make all' command I got this:

...
source='check_ide_smart.c' object='check_ide_smart.o' libtool=no \
DEPDIR=.deps depmode=gcc /bin/sh ../build-aux/depcomp \
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I.
-I. -I.. -I.. -I../lib -I../gl -I../intl   -I/usr/include    -g -O2 -c
check_ide_smart.c
check_ide_smart.c: In function `main':
check_ide_smart.c:168: parse error before `static'
check_ide_smart.c:185: `longopts' undeclared (first use in this function)
check_ide_smart.c:185: (Each undeclared identifier is reported only once
check_ide_smart.c:185: for each function it appears in.)
make[2]: *** [check_ide_smart.o] Error 1
make[2]: Leaving directory `/home/rattila/nagios-plugins-1.4.13/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rattila/nagios-plugins-1.4.13'

What can I do? NRPE was compiled succesfull. Plugins not. :-(

TIA,
Ruzsi




More information about the Help mailing list