<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hi Marius,<br>
      <br>
      Thanks ! Sorry for wrong thread subject, do a reply and miss to
      change subject.<br>
      <br>
      -- <br>
      Joel Vandal<br>
      <br>
    </div>
    <blockquote
cite="mid:CAD85-0vru_JE9JBw1mef1gOMHMNd3dZYtovMEWL9ZBQZgXLtaA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hello Joel,&nbsp;
        <div><br>
        </div>
        <div>Fixed in commit 402e44.&nbsp;</div>
        <div><br>
        </div>
        <div style="">Marius</div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Sat, Feb 23, 2013 at 2:38 PM, Marius
          Zbihlei <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:mariuszbi@gmail.com" target="_blank">mariuszbi@gmail.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">Hello Joel,&nbsp;
              <div><br>
              </div>
              <div>First, this should be in a new thread.&nbsp;</div>
              <div><br>
              </div>
              <div>Strnstr() is a BSD only exception so I presume you
                are buiding on Linux agains Glibc. Because the scarcity
                of the implementation I will add a own implementation
                based on the BSD one.</div>
              <div>Will commit soon.</div>
              <span class="HOEnZb"><font color="#888888">
                  <div>Marius</div>
                </font></span></div>
            <div class="HOEnZb">
              <div class="h5">
                <div class="gmail_extra"><br>
                  <br>
                  <div class="gmail_quote">On Fri, Feb 22, 2013 at 8:41
                    PM, Joel Vandal <span dir="ltr">&lt;<a
                        moz-do-not-send="true"
                        href="mailto:joel@scopserv.com" target="_blank">joel@scopserv.com</a>&gt;</span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi
                      all,<br>
                      <br>
                      Issue on recent Kamailio 4.0 GIT<br>
                      <br>
                      On a recent changes, you add this on
                      modules/tm/t_msgbuilder.c<br>
                      <br>
                      + &nbsp; &nbsp; &nbsp; if(headers==NULL || headers-&gt;len&lt;15<br>
                      + &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; || strnstr(headers-&gt;s,
                      "Max-Forwards:", headers-&gt;len)==NULL)<br>
                      + &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; memapp(w, MAXFWD_HEADER,
                      MAXFWD_HEADER_LEN); &nbsp; &nbsp; &nbsp;/* Max-forwards */<br>
                      +<br>
                      <br>
                      This cause the following error on build :<br>
                      <br>
                      CC (gcc) [M tm.so] &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;t_msgbuilder.o<br>
                      t_msgbuilder.c: In function 'build_uac_req':<br>
                      t_msgbuilder.c:1545: warning: implicit declaration
                      of function 'strnstr'<br>
                      t_msgbuilder.c:1545: warning: comparison between
                      pointer and integer<br>
                      <br>
                      And Kamailio refuse to load the tm.so module<br>
                      <br>
                      ERROR: &lt;core&gt; [sr_module.c:572]: ERROR:
                      load_module: could not open module
                      &lt;/usr/lib64/kamailio/modules/tm.so&gt;:
                      /usr/lib64/kamailio/modules/tm.so: undefined
                      symbol: strnstr<span><font color="#888888"><br>
                          <br>
                          -- <br>
                          Joel Vandal, CTO<br>
                          ScopServ International Inc.<br>
                          <a moz-do-not-send="true"
                            href="http://www.scopserv.com/"
                            target="_blank">http://www.scopserv.com/</a></font></span>
                      <div>
                        <div><br>
                          <br>
                          <br>
                          _______________________________________________<br>
                          sr-dev mailing list<br>
                          <a moz-do-not-send="true"
                            href="mailto:sr-dev@lists.sip-router.org"
                            target="_blank">sr-dev@lists.sip-router.org</a><br>
                          <a moz-do-not-send="true"
                            href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev"
                            target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a><br>
                        </div>
                      </div>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
sr-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>