<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hey Phil,<br>
    <br>
    Thanks for the clarification on this.  I was trying to figure out
    why we hadn't come across this issue on our local dev environments. 
    Maybe some other users can chime in on this, but my understanding
    was that compiling with the embedded perl option tends to be
    problematic due to memory leaks and other unpredictable behaviors. 
    (??)<br>
    <br>
    Let us know anything you find out, we appreciate the input!<br>
    <br>
    <br>
    <br>
    On 5/9/2012 10:15 AM, Randal, Phil wrote:
    <blockquote
cite="mid:7CA580B59C1ABD45B4614ED90D4C7B853D20DCD7@HC-EXMBX04.herefordshire.gov.uk"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"Lucida Console";
        panose-1:2 11 6 9 4 5 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.msochpdefault, li.msochpdefault, div.msochpdefault
        {mso-style-name:msochpdefault;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
span.emailstyle17
        {mso-style-name:emailstyle17;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:"Consolas","serif";
        color:black;}
span.EmailStyle21
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span style="color:#1F497D">I should have
            mentioned that that error only occurs if you try to compile
            Nagios 3.4.0 with embedded perl support.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">There’s also no
            guarantee that it’ll work properly even with that patch.  I
            had problems check_mk with Nagios 3.4.0, but unfortunately,
            I haven’t got the time or test environment to get to the
            bottom of it.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Cheers,<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Phil<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <div>
          <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D">--</span><span
              style="color:#1F497D">
              <o:p></o:p></span></p>
          <p class="MsoNormal"><b><span
                style="font-family:"Arial","sans-serif";color:black">Phil
                Randal<o:p></o:p></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"><o:p></o:p></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><o:p></o:p></span></p>
        </div>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0cm 0cm 0cm">
            <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
                  lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
                lang="EN-US"> Ismael Puerto
                [<a class="moz-txt-link-freetext" href="mailto:ismael.puerto@seres.es">mailto:ismael.puerto@seres.es</a>]
                <br>
                <b>Sent:</b> 09 May 2012 12:21<br>
                <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a><br>
                <b>Subject:</b> Re: [Nagios-users] Nagios 3.4.0
                complilation error (and trivial fix)<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Thanks Phill<br>
          <br>
          On 05/08/2012 04:03 PM, Randal, Phil wrote: <o:p></o:p></p>
        <div>
          <p class="MsoNormal">Hi folks,<o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal">Trying to compile nagios 3.4.0 gave me
            this error:<o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal"><span
              style="font-size:9.0pt;font-family:"Lucida
              Console","serif"">checks.c: In function
              ‘run_async_service_check’:</span><o:p></o:p></p>
          <p class="MsoNormal"><span
              style="font-size:9.0pt;font-family:"Lucida
              Console","serif"">checks.c:714:5: error:
              ‘temp_buffer’ undeclared (first use in this function)</span><o:p></o:p></p>
          <p class="MsoNormal"><span
              style="font-size:10.0pt;font-family:"Courier
              New""> </span><o:p></o:p></p>
          <p class="MsoNormal">Patch to fix the compilation error is:<o:p></o:p></p>
          <p class="MsoNormal"><span
              style="font-size:10.0pt;font-family:"Courier
              New""> </span><o:p></o:p></p>
          <p class="MsoNormal" style="text-autospace:none"><span
              style="font-size:9.0pt;font-family:"Lucida
              Console","serif"">---
              nagios/base/checks.c        2012-05-08 14:36:02.000000000
              +0100</span><o:p></o:p></p>
          <p class="MsoNormal" style="text-autospace:none"><span
              style="font-size:9.0pt;font-family:"Lucida
              Console","serif"">+++
              nagios/base/checks.c        2012-05-08 14:35:45.000000000
              +0100</span><o:p></o:p></p>
          <p class="MsoNormal" style="text-autospace:none"><span
              style="font-size:9.0pt;font-family:"Lucida
              Console","serif"">@@ -469,6 +469,7 @@</span><o:p></o:p></p>
          <p class="MsoNormal" style="text-autospace:none"><span
              style="font-size:9.0pt;font-family:"Lucida
              Console","serif"">        double
              old_latency = 0.0;</span><o:p></o:p></p>
          <p class="MsoNormal" style="text-autospace:none"><span
              style="font-size:9.0pt;font-family:"Lucida
              Console","serif"">        dbuf
              checkresult_dbuf;</span><o:p></o:p></p>
          <p class="MsoNormal" style="text-autospace:none"><span
              style="font-size:9.0pt;font-family:"Lucida
              Console","serif"">        int dbuf_chunk =
              1024;</span><o:p></o:p></p>
          <p class="MsoNormal" style="text-autospace:none"><span
              style="font-size:9.0pt;font-family:"Lucida
              Console","serif"">+       char
              *temp_buffer;</span><o:p></o:p></p>
          <p class="MsoNormal" style="text-autospace:none"><span
              style="font-size:9.0pt;font-family:"Lucida
              Console","serif"">#ifdef USE_EVENT_BROKER</span><o:p></o:p></p>
          <p class="MsoNormal" style="text-autospace:none"><span
              style="font-size:9.0pt;font-family:"Lucida
              Console","serif"">        int neb_result =
              OK;</span><o:p></o:p></p>
          <p class="MsoNormal" style="text-autospace:none"><span
              style="font-size:9.0pt;font-family:"Lucida
              Console","serif"">#endif</span><o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal">Cheers,<o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal">Phil<o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Arial","sans-serif"">--</span>
            <o:p></o:p></p>
          <p class="MsoNormal"><b><span
                style="font-family:"Arial","sans-serif"">Phil
                Randal</span></b><o:p></o:p></p>
          <p class="MsoNormal"><b><span
                style="font-family:"Arial","sans-serif"">Infrastructure
                Engineer</span></b><br>
            <b><span
style="font-family:"Arial","sans-serif";color:#00829B">Hoople
                Ltd | Thorn Office Centre | Hereford HR2 6JT</span></b><o:p></o:p></p>
          <p class="MsoNormal"><span
style="font-family:"Arial","sans-serif";color:#00829B">Tel:
              01432 260415 | Email:
              <a moz-do-not-send="true"
                href="mailto:phil.randal@hoopleltd.co.uk">phil.randal@hoopleltd.co.uk</a></span><o:p></o:p></p>
          <p class="MsoNormal"> <o:p></o:p></p>
        </div>
        <p class="MsoNormal"><span
            style="font-size:12.0pt;font-family:"Times New
            Roman","serif"">“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>
            <br>
            <br>
            <o:p></o:p></span></p>
        <pre>------------------------------------------------------------------------------<o:p></o:p></pre>
        <pre>Live Security Virtual Conference<o:p></o:p></pre>
        <pre>Exclusive live event will cover all the ways today's security and <o:p></o:p></pre>
        <pre>threat landscape has changed and how IT managers can respond. Discussions <o:p></o:p></pre>
        <pre>will include endpoint security, mobile security and the latest in malware <o:p></o:p></pre>
        <pre>threats. <a moz-do-not-send="true" href="http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/">http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/</a><o:p></o:p></pre>
        <p class="MsoNormal"><span
            style="font-size:12.0pt;font-family:"Times New
            Roman","serif""><br>
            <br>
            <br>
            <o:p></o:p></span></p>
        <pre>_______________________________________________<o:p></o:p></pre>
        <pre>Nagios-users mailing list<o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><o:p></o:p></pre>
        <pre>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. <o:p></o:p></pre>
        <pre>::: Messages without supporting info will risk being sent to /dev/null<o:p></o:p></pre>
      </div>
      <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>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 


Mike Guthrie
Technical Team
___
Nagios Enterprises, LLC
Email:  <a class="moz-txt-link-abbreviated" href="mailto:mguthrie@nagios.com">mguthrie@nagios.com</a>
Web:    <a class="moz-txt-link-abbreviated" href="http://www.nagios.com">www.nagios.com</a>
</pre>
  </body>
</html>