<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Thanks Phill<br>
<br>
On 05/08/2012 04:03 PM, Randal, Phil wrote:
<blockquote
cite="mid:7CA580B59C1ABD45B4614ED90D4C7B853D2086AD@HC-EXMBX04.herefordshire.gov.uk"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<style>
<!--
@font-face
{font-family:Calibri}
@font-face
{font-family:"Lucida Console"}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline}
span.EmailStyle17
{font-family:"Calibri","sans-serif";
color:windowtext}
.MsoChpDefault
{font-family:"Calibri","sans-serif"}
@page WordSection1
{margin:72.0pt 72.0pt 72.0pt 72.0pt}
div.WordSection1
{}
-->
</style>
<div class="WordSection1">
<p class="MsoNormal">Hi folks,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Trying to compile nagios 3.4.0 gave me this
error:</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="font-size:9.0pt;
font-family:"Lucida Console"">checks.c: In
function ‘run_async_service_check’:</span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;
font-family:"Lucida Console"">checks.c:714:5:
error: ‘temp_buffer’ undeclared (first use in this function)</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;
font-family:"Courier New""> </span></p>
<p class="MsoNormal"><span style="">Patch to fix the compilation
error is:</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt;
font-family:"Courier New""> </span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt; font-family:"Lucida
Console"">--- nagios/base/checks.c 2012-05-08
14:36:02.000000000 +0100<span style="color:black;
background:black"></span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt; font-family:"Lucida
Console"">+++ nagios/base/checks.c 2012-05-08
14:35:45.000000000 +0100<span style="color:black;
background:black"></span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt; font-family:"Lucida
Console"">@@ -469,6 +469,7 @@<span style="color:black;
background:black"></span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt; font-family:"Lucida
Console""> double old_latency = 0.0;<span
style="color:black; background:black"></span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt; font-family:"Lucida
Console""> dbuf checkresult_dbuf;<span
style="color:black; background:black"></span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt; font-family:"Lucida
Console""> int dbuf_chunk = 1024;<span
style="color:black; background:black"></span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt; font-family:"Lucida
Console"">+ char *temp_buffer;<span
style="color:black; background:black"></span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt; font-family:"Lucida
Console"">#ifdef USE_EVENT_BROKER<span
style="color:black; background:black"></span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt; font-family:"Lucida
Console""> int neb_result = OK;<span
style="color:black; background:black"></span></span></p>
<p class="MsoNormal" style="text-autospace:none"><span
style="font-size:9.0pt; font-family:"Lucida
Console"">#endif<span style="color:black;
background:black"></span></span></p>
<p class="MsoNormal"><span style=""> </span></p>
<p class="MsoNormal"><span style=""> </span></p>
<p class="MsoNormal"><span style="">Cheers,</span></p>
<p class="MsoNormal"><span style=""> </span></p>
<p class="MsoNormal"><span style="">Phil</span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="font-size:10.0pt;
font-family:"Arial","sans-serif"">--</span><span
style="">
</span></p>
<p class="MsoNormal"><b><span
style="font-family:"Arial","sans-serif";
color:black">Phil Randal</span></b></p>
<p class="MsoNormal"><b><span
style="font-family:"Arial","sans-serif";
color:black">Infrastructure Engineer</span></b><span
style="color:black"><br>
</span><b><span
style="font-family:"Arial","sans-serif";
color:#00829B">Hoople Ltd | Thorn Office Centre | Hereford
HR2 6JT</span></b><span style="font-size:12.0pt;
color:#00829B"></span></p>
<p class="MsoNormal"><span
style="font-family:"Arial","sans-serif";
color:#00829B">Tel: 01432 260415 | Email:
<a class="moz-txt-link-abbreviated" href="mailto:phil.randal@hoopleltd.co.uk">phil.randal@hoopleltd.co.uk</a></span></p>
<p class="MsoNormal"> </p>
</div>
“Any opinion expressed in this e-mail or any attached files are
those of the individual and not necessarily those of Hoople Ltd.
You should be aware that Hoople Ltd. monitors its email service.
This e-mail and any attached files are confidential and intended
solely for the use of the addressee. This communication may
contain material protected by law from being passed on. If you are
not the intended recipient and have received this e-mail in error,
you are advised that any use, dissemination, forwarding, printing
or copying of this e-mail is strictly prohibited. If you have
received this e-mail in error please contact the sender
immediately and destroy all copies of it.
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">------------------------------------------------------------------------------
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. <a class="moz-txt-link-freetext" href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a></pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null</pre>
</blockquote>
</body>
</html>