Re: 1.4.16: Error in check_http .c when compiling without SSL

Daniel Lee <[email protected]>
Newsgroups gmane.network.nagios.plugins.devel
Message-ID <[email protected]>
Michael LaCorte <mlacorte365@...> writes:

> 
> 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
> 
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> 
> _______________________________________________________
> Nagios Plugin Development Mailing List Nagiosplug-devel@...
> Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> ::: Please include plugins version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null


Hi Michael,

I did just that and it solved the prob. Yeah, couldn't find this error
anywhere in the Internet except your post and another Ubuntu post to install
libssl-dev (http://www.thesysadminhimself.com/2012/09/compiling-nagios-plugins-
1416-throws.html)

Thanks,
Daniel


------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________________
Nagios Plugin Development Mailing List [email protected]
Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.