[Nagiosplug-help] compile error on linux 2.4 kernel

Uwe Bartels uwe.bartels at gmail.com
Tue Nov 4 08:20:46 CET 2008


Hi,

I'm getting errors during compilation of the plugins on a gentoo linux with
kernel version 2.4

# uname -a
Linux ngd101 2.4.29 #1 SMP Tue Mar 1 21:08:39 CET 2005 i686 unknown unknown
GNU/Linux

in the configure I only used the --prefix option and of course configure run
through free of errors.


this is the output of the make :

Making all in plugins
make[2]: Entering directory `/var/tmp/nagios-plugins-1.4.13/plugins'
source='check_ide_smart.c' object='check_ide_smart.o' libtool=no \
DEPDIR=.deps depmode=gcc /bin/sh ../build-aux/depcomp \
gcc -DLOCALEDIR=\"/opt/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I..
-I.. -I../lib -I../gl -I../intl   -I/usr/local/ssl/include
-I/usr/local/ssl/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 `/var/tmp/nagios-plugins-1.4.13/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/nagios-plugins-1.4.13'
make: *** [all] Error 2

Does anybody has an idea how to solve this problem?

best regards,
uwe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20081104/519413bb/attachment.html>


More information about the Help mailing list