[Nagiosplug-devel] NRPE Issues

Ethan Galstad nagios at nagios.org
Thu Mar 8 02:41:49 CET 2007


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.


Ethan Galstad,
Nagios Developer
---
Email: nagios at nagios.org
Website: http://www.nagios.org




More information about the Devel mailing list