[Nagiosplug-devel] 1.4.16: Error in check_http.c when compiling without SSL

Michael LaCorte mlacorte365 at gmail.com
Wed Jul 18 22:49:16 CEST 2012


Hello,

I was compiling the latest release of Nagios Plugins when I ran into a compilation issue. Make was returning the following error when trying to compile check_http.c (v1.4.16):

   check_http.c:312:9: error: ‘ssl_version’ undeclared (first use in this function)

After looking at the file, I noticed that 'ssl_version' variable was declared within an '#ifdef HAVE_SSL'. After moving the 'ssl_version' declaration outside of the '#ifdef', it compiled fine. I couldn't find anything about this on Google, so I'm sending you this email to make sure you are aware of the issue.

Thanks,
Michael LaCorte
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20120718/9e1fda79/attachment.html>


More information about the Devel mailing list