[Nagiosplug-devel] NRPE Issues
Thomas Guyot-Sionnest
dermoth at aei.ca
Thu Mar 8 07:14:02 CET 2007
On 07/03/07 08:41 PM, Ethan Galstad wrote:
> McGarry, Ryan wrote:
>> Hi,
>>
>> Please excuse me if this is posted to the wrong list... I encountered
>> an error compiling NRPE that I couldn't find a solution to on any of the
>> mailing lists or Google. I thought I'd post how I fixed it.
>>
>> I'm installing NRPE 2.7 for the first time on an AIX host without GCC.
>>
>> After a successful configure, my first time doing a "make all" came back
>> with this error.
>>
>> --------------------------------------------------------------------
>> <snip>
>> utils.c:
>> cc -g -I/usr/local/include/openssl -I/usr/local/include
>> -DHAVE_CONFIG_H -o check_nrpe check_nrpe.c utils.c -L/usr/local/lib
>> -lssl -lcrypto -lnsl
>> check_nrpe.c:
>> "check_nrpe.c", line 437.32: 1506-046 (S) Syntax error.
>> utils.c:
>> make: 1254-004 The error code from the last command is 1.
>>
>>
>> Stop.
>> make: 1254-004 The error code from the last command is 2.
>>
>>
>> Stop.
>> --------------------------------------------------------------------
>>
>> On a hunch, I looked in check_nrpe, and noticed that this line was #437:
>> shutdown(sd,SHUT_WR); // Send FIN packet
>>
>> So, I changed the comment to a C-style comment (/* Send FIN packet */),
>> and it compiled successfully. I'm having a similar problem with
>> Nagios-Plugins..
>>
>> Thanks,
>> Ryan McGarry
>> Systems Software Specialist
>> Regents Information Systems
>> South Dakota Board of Regents
>>
>
> Thanks for the note! I'll patch the CVS code shortly and release a
> 2.7.1 in a day or two with new docs as well.
All occurrences in Nagios-plugins are fixed in CVS as well.
Thomas
More information about the Devel
mailing list