<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hello,<br>
      <br>
      It seems that somehow, you've disabled shared memory support - and
      that's way you see those compilation errors - seems like a bug in
      the menuconfig tool. Can you replicate this menuconfig behavior ?<br>
      <br>
      Best Regards,<br>
      <pre class="moz-signature" cols="72">Vlad Paiu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
</pre>
      On 16.09.2013 15:28, Jared Evans wrote:<br>
    </div>
    <blockquote
cite="mid:CAB640nxiARdLBHCurGg-0K2AQRQ4SdgYt91W6DjDmjb1x9Aoaw@mail.gmail.com"
      type="cite">
      <div dir="ltr">Here's the pastebin of the steps I took to compile
        opensips 1.10.0 after using menuconfig to select modules to be
        included.
        <div><br>
        </div>
        <div><a moz-do-not-send="true"
            href="http://pastebin.com/HBsg8S1M">http://pastebin.com/HBsg8S1M</a><br>
        </div>
        <div><br>
        </div>
        <div>There are two errors:</div>
        <div><br>
        </div>
        <div><span
            style="color:rgb(0,0,0);font-family:Consolas,Menlo,Monaco,'Lucida
            Console','Liberation Mono','DejaVu Sans Mono','Bitstream
            Vera Sans
            Mono',monospace,serif;font-size:12px;line-height:21px">lock_alloc.h:60:2:
            error: #error "locking requires shared memory support" &nbsp;</span></div>
        <div><span
            style="color:rgb(0,0,0);font-family:Consolas,Menlo,Monaco,'Lucida
            Console','Liberation Mono','DejaVu Sans Mono','Bitstream
            Vera Sans
            Mono',monospace,serif;font-size:12px;line-height:21px">I'm
            assuming that this error shouldn't have took place if I
            compiled with&nbsp;</span><span
            style="color:rgb(0,0,0);font-family:Consolas,Menlo,Monaco,'Lucida
            Console','Liberation Mono','DejaVu Sans Mono','Bitstream
            Vera Sans
            Mono',monospace,serif;font-size:12px;line-height:21px">CFLAGS="-DSHM_MEM
            -DUSE_SHM_MEM"</span><span
            style="color:rgb(0,0,0);font-family:Consolas,Menlo,Monaco,'Lucida
            Console','Liberation Mono','DejaVu Sans Mono','Bitstream
            Vera Sans
            Mono',monospace,serif;font-size:12px;line-height:21px">&nbsp;which
            builds in shared memory support.</span></div>
        <div><br>
        </div>
        <div>This is may be related to another error down the road:</div>
        <div><font color="#000000" face="Consolas, Menlo, Monaco, Lucida
            Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera
            Sans Mono, monospace, serif"><span
              style="font-size:12px;line-height:21px">ut.c:(.text+0x220):
              undefined reference to `pkg_realloc'</span></font><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Mon, Sep 16, 2013 at 3:08 AM, Vlad
          Paiu <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:vladpaiu@opensips.org" target="_blank">vladpaiu@opensips.org</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000">
              <div>Hello,<br>
                <br>
                What were the errors encountered when trying to run
                menuconfig on Ubuntu 13.04 ?<br>
                <br>
                Best Regards,<br>
                Vlad<br>
                <pre cols="72">Vlad Paiu
OpenSIPS Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a>
</pre>
                <div>
                  <div class="h5"> On 16.09.2013 06:19, Jared Evans
                    wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="h5">
                    <div dir="ltr">
                      <div>Hi all,</div>
                      <div><br>
                      </div>
                      <div>It seems like using console GUI menuconfig to
                        include/exclude modules causes problems later
                        when trying to compile on an Ubuntu system. &nbsp;I
                        worked around this by skipping the menuconfig
                        step and manually edit Makefile.conf to
                        include/exclude modules.</div>
                      <div><br>
                      </div>
                      <div>Here are the steps I took on Ubuntu 13.04:</div>
                      <div><br>
                      </div>
                      <div>After untar opensips1.10, instead of running
                        menuconfig, manually edit Makefile.conf to
                        exclude/include desired modules.</div>
                      <div><br>
                      </div>
                      <div>make all CFLAGS="-fPIC -DSHM_MEM
                        -DUSE_SHM_MEM -DUSE_TCP" TLS="1"</div>
                      <div>-fPIC so that modules can be compiled&nbsp;</div>
                      <div>-DSHM_MEM -DUSE_SHM_MEM because some modules
                        requires shared memory<br>
                      </div>
                      <div>-DUSE_TCP include TCP in the build<br>
                      </div>
                      <div>TLS=1 include experimental TLS in the build</div>
                      <div><br>
                      </div>
                      <div>if you see any compilation failures at this
                        point, it's likely due to missing library that
                        needs to be installed but the error message will
                        give you a clear hint about which library is
                        missing. &nbsp;Once all the libraries required by the
                        included modules are installed, you should have
                        a successful compilation then opensips can be
                        installed on your system.</div>
                      <div><br>
                      </div>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                  </div>
                </div>
                <pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" 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>
            <br>
            _______________________________________________<br>
            Users mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
              target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </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>