<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello,</p>
    <p>the comment is probably old, however it says that the default
      build is without optimizations and with debugging symbols.</p>
    <p>But if you build via some packaging system, it can happen that
      the debugging sysmbols are stripped and pakaged separately, like
      kamailio-dbg-version.deb</p>
    <p>Otherwise, try to track the CC flags in the Makefile, those are
      the parameters passed to compiler.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="moz-cite-prefix">On 24.02.21 14:58, Sergey Safarov
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAHtxdDeCqb1zNEF7O1LDKaKJrWdPBZZHLpr1xDj-ost+RZWx2A@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">I looked at Makefiles and can see instruction
        <div><br>
        </div>
        <div># WARNING: do not add mode=debug or mode=release anymore in
          the Makefile,<br>
          # use make mode=debug all instead. By default Kamailio is
          compiled with<br>
          # debugging symbols in all cases (-g) and without optimization
          (-O0).<br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><a
href="https://github.com/kamailio/kamailio/blob/master/src/Makefile.defs#L749-L751"
            moz-do-not-send="true">https://github.com/kamailio/kamailio/blob/master/src/Makefile.defs#L749-L751</a><br>
        </div>
        <div><br>
        </div>
        <div>I do not understand how properly build Kamailio with
          disabled optimization.</div>
        <div>Could you let me know how to use "mode=debug"?</div>
        <div><br>
        </div>
        <div>Sergey</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Funding: <a class="moz-txt-link-freetext" href="https://www.paypal.me/dcmierla">https://www.paypal.me/dcmierla</a></pre>
  </body>
</html>