<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hello Samy,<br>
      <br>
      I moved some allocator-specific global variables in their own
      file, however the cfg.y file was referencing them regardless of
      the allocator you compile with. Fixed, and thanks for reporting!<br>
      <br>
      Cheers,<br>
      <pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
      On 06.03.2015 23:04, SamyGo wrote:<br>
    </div>
    <blockquote
cite="mid:CAJUJwtgokM84i98PVGa+qY7vJBo-EDBp+fdsp0V9uq7k9yMahg@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi All,
        <div><br>
        </div>
        <div>Im trying to install new OpenSIPS 2.1.0 from git. Im
          getting compilation errors; something like this.</div>
        <div><br>
        </div>
        <div>
          <div>Compiling net/proto_tcp/proto_tcp.c</div>
          <div>Compiling net/proto_udp/proto_udp.c</div>
          <div>Compiling lex.yy.c</div>
          <div>lex.yy.c:4142:12: warning: redundant redeclaration of
            ‘isatty’ [-Wredundant-decls]</div>
          <div>/usr/include/unistd.h:802:12: note: previous declaration
            of ‘isatty’ was here</div>
          <div>Compiling cfg.tab.c</div>
          <div>Linking opensips</div>
          <div>cfg.tab.o: In function `yyparse':</div>
          <div>/usr/src/opensips/cfg.y:648: undefined reference to
            `mem_warming_percentage'</div>
          <div>/usr/src/opensips/cfg.y:646: undefined reference to
            `mem_warming_pattern_file'</div>
          <div>/usr/src/opensips/cfg.y:644: undefined reference to
            `mem_warming_enabled'</div>
          <div>collect2: ld returned 1 exit status</div>
          <div>make: *** [opensips] Error 1</div>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>I've downloaded it from git</div>
        <div>git clone <a moz-do-not-send="true"
            href="https://github.com/OpenSIPS/opensips.git">https://github.com/OpenSIPS/opensips.git</a>
          -b 2.1.0<br>
        </div>
        <div><br>
        </div>
        <div>Am I missing something, or need some external package
          installed to have this resolved ?</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div>Sammy</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>