<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><div>Makefile is attached and my gcc version is&nbsp;</div><div><br></div><div>root@Debian-VirtualBox:~# gcc --version</div><div><b>gcc (Debian 4.9.2-10) 4.9.2</b></div><div><b><br></b></div><div>Regards</div><div>Hamid R. Hashmi</div><div><br></div><div><hr id="stopSpelling">Date: Fri, 15 May 2015 12:50:36 +0300<br>From: bogdan@opensips.org<br>To: hamid2kviii@hotmail.com; users@lists.opensips.org<br>Subject: Re: [OpenSIPS-Users] Opensips 2.1.0: Compiling Error<br><br>
  
    
  
  
    <tt>Hamid,<br>
      <br>
      What is you gcc version ?<br>
      <br>
      Also, what compile option you have ? (you can attach the
      Makefile.conf file)<br>
      <br>
      Regards,<br>
    </tt>
    <pre class="ecxmoz-signature">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="ecxmoz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
    <div class="ecxmoz-cite-prefix">On 13.05.2015 09:49, Hamid Hashmi
      wrote:<br>
    </div>
    <blockquote cite="mid:BLU182-W91572E45F863AB973DB214E0D90@phx.gbl">
      <div dir="ltr">
        <style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
        <div dir="ltr">Previously, I have tried `make clean` but now i
          have also tried 'make proper' and 'make'. But faced the same
          error.</div>
        <div dir="ltr"><br>
        </div>
        <div dir="ltr">
          <div dir="ltr">root@Debian-VirtualBox:~# lsb_release -a</div>
          <div dir="ltr">No LSB modules are available.</div>
          <div dir="ltr">Distributor ID:<span class="ecxApple-tab-span" style="white-space:pre;"> </span>Debian</div>
          <div dir="ltr">Description:<span class="ecxApple-tab-span" style="white-space:pre;"> </span><b>Debian GNU/Linux 7.8
              (wheezy)</b></div>
          <div dir="ltr">Release:<span class="ecxApple-tab-span" style="white-space:pre;"> </span>7.8</div>
          <div dir="ltr">Codename:<span class="ecxApple-tab-span" style="white-space:pre;"> </span>wheezy</div>
          <div dir="ltr"><br>
          </div>
          <div dir="ltr">
            <div dir="ltr">root@Debian-VirtualBox:~# uname -a</div>
            <div dir="ltr">Linux Debian-VirtualBox <b>3.16.0-4-amd64</b>
              #1 SMP Debian 3.16.7-ckt9-2 (2015-04-13) x86_64 GNU/Linux</div>
            <div dir="ltr"><br>
            </div>
            <div dir="ltr">Regards</div>
            <div dir="ltr">Hamid R. Hashmi</div>
            <div dir="ltr"><br>
            </div>
          </div>
        </div>
        <div dir="ltr">
          <div>
            <hr id="ecxstopSpelling">Date: Tue, 12 May 2015 18:15:29 +0300<br>
            From: <a class="ecxmoz-txt-link-abbreviated" href="mailto:bogdan@opensips.org">bogdan@opensips.org</a><br>
            To: <a class="ecxmoz-txt-link-abbreviated" href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>; <a class="ecxmoz-txt-link-abbreviated" href="mailto:hamid2kviii@hotmail.com">hamid2kviii@hotmail.com</a><br>
            Subject: Re: [OpenSIPS-Users] Opensips 2.1.0: Compiling
            Error<br>
            <br>
            <tt>Hi Hamid,<br>
              <br>
              Are you sure you do not have some partial compiled code ?
              try to do "make proper" and "make" again.<br>
              <br>
              Regards.<br>
            </tt>
            <pre class="ecxmoz-signature">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="ecxmoz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
            <div class="ecxmoz-cite-prefix">On 12.05.2015 13:32, Hamid
              Hashmi wrote:<br>
            </div>
            <blockquote cite="mid:BLU182-W24C0CED47BD740E443F9DDE0DA0@phx.gbl">
              <style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}


--></style>
              <div dir="ltr">I have successfully installed v1.11.5 but
                when i compile v2.1.0 on the same machine, have the
                following ERROR
                <div><br>
                </div>
                <div><br>
                </div>
                <div>
                  <div>Compiling lex.yy.c</div>
                  <div>Compiling cfg.tab.c</div>
                  <div>Linking opensips</div>
                  <div>mem/q_malloc.o: In function `qm_mem_check':</div>
                  <div>/usr/local/src/opensips-2.1.0/mem/q_malloc.c:727:
                    undefined reference to `qm_debug_frag'</div>
                  <div>collect2: error: ld returned 1 exit status</div>
                  <div>make[1]: *** [opensips] Error 1</div>
                  <div>make[1]: Leaving directory
                    `/usr/local/src/opensips-2.1.0'</div>
                </div>
                <div><br>
                </div>
                <div>Regards</div>
                <div>Hamid R. Hashmi</div>
              </div>
              <br>
              <fieldset class="ecxmimeAttachmentHeader"></fieldset>
              <br>
              <pre>_______________________________________________
Users mailing list
<a class="ecxmoz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="ecxmoz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
            </blockquote>
            <br>
          </div>
        </div>
      </div>
    </blockquote>
    <br></div>                                               </div></body>
</html>