[Nagiosplug-help] compile error on linux 2.4 kernel

Ton Voon ton.voon at opsera.com
Tue Nov 4 10:35:45 CET 2008


Hi Uwe,

On 4 Nov 2008, at 07:20, Uwe Bartels wrote:

> 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?

Fancy contributing a tinderbox build box? http://nagiosplugins.org/tinderbox

This way we can see your compile errors, fix it, and you'll know that  
it will continue to be fixed.

Ton





More information about the Help mailing list