[Nagiosplug-devel] compile error for check_snmp.c

Gerhard Lausser Gerhard.Lausser at consol.de
Fri May 19 04:36:06 CEST 2006


Hi,

for those of you, who see the following error message when compiling the
plugins

check_snmp.c: In function `main':
check_snmp.c:343: parse error before `char'
check_snmp.c:344: `str' undeclared (first use in this function)
check_snmp.c:344: (Each undeclared identifier is reported only once
check_snmp.c:344: for each function it appears in.)

i made a small patch, which you can download from
http://people.consol.de/~lausser/nagios/patches.html
I am not sure, but i think the error occurs when using a gcc < 3.x

Greetings from Munich,
Gerhard





More information about the Devel mailing list