<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hello,<br>
    <br>
    Indeed, this is related to menuconfig, and how it handles TLS and
    SCTP. For TLS and SCTP, it's not about just setting a compile time
    flag, but there is also the need to set the TLS and SCTP shell
    variables, so that the tls/ folder is also compiled &amp; linked.<br>
    <br>
    I will fix this until 1.8 is released as stable.<br>
    <br>
    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>
    <br>
    On 05/13/2012 02:41 AM, Daniel Goepp wrote:
    <blockquote
cite="mid:CAFHvAvfFQArS08iQGWCwdttX=K+L_pZmFbNspNnxE3kYqG-sgw@mail.gmail.com"
      type="cite">I had the same thing, and the libraries are all
      there.&nbsp; I think it's related to how menuconfig works (or rather in
      this case doesn't).&nbsp; If you manually set in the Makefile, or set
      the environment variable:<br>
      <br>
      export TLS=1<br>
      <br>
      Seems to fix the problem for me anyway, but still testing.<br
        clear="all">
      <br>
      -dg<br>
      <br>
      <br>
      <div class="gmail_quote">On Sat, May 12, 2012 at 6:48 AM, Brian
        ipt <span dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:voiplists@iptel.co" target="_blank">voiplists@iptel.co</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          <div class="HOEnZb">
            <div class="h5">On Sat, May 12, 2012 at 12:04 AM, Cindy
              Leung &lt;<a moz-do-not-send="true"
                href="mailto:cinthia721@gmail.com">cinthia721@gmail.com</a>&gt;
              wrote:<br>
              &gt; Hello,<br>
              &gt;<br>
              &gt; I just got a copy of 1.8 from svn and enabled TLS in
              menuconfig. &nbsp;This is what I got during installation.<br>
              &gt; Any idea?<br>
              &gt;<br>
              &gt; Thanks!<br>
              &gt;<br>
              &gt;<br>
              &gt; Cindy<br>
              &gt;<br>
              &gt;<br>
              &gt;<br>
              &gt; Compiling lex.yy.c<br>
              &gt; Compiling cfg.tab.c<br>
              &gt; Linking opensips<br>
              &gt; main.o: In function `cleanup':<br>
              &gt; /usr/local/src/opensips_1_8/main.c:353: undefined
              reference to `destroy_tls'<br>
              &gt; main.o: In function `main':<br>
              &gt; /usr/local/src/opensips_1_8/main.c:1259: undefined
              reference to `pre_init_tls'<br>
              &gt; /usr/local/src/opensips_1_8/main.c:1380: undefined
              reference to `init_tls'<br>
              &gt; main.o: In function `main_loop':<br>
              &gt; /usr/local/src/opensips_1_8/main.c:784: undefined
              reference to `tls_init'<br>
              &gt; tcp_main.o: In function `tcpconn_new':<br>
              &gt; /usr/local/src/opensips_1_8/tcp_main.c:468: undefined
              reference to `tls_tcpconn_init'<br>
              &gt; tcp_main.o: In function `_tcpconn_rm':<br>
              &gt; /usr/local/src/opensips_1_8/tcp_main.c:571: undefined
              reference to `tls_tcpconn_clean'<br>
              &gt; tcp_main.o: In function `tcpconn_destroy':<br>
              &gt; /usr/local/src/opensips_1_8/tcp_main.c:1104:
              undefined reference to `tls_close'<br>
              &gt; tcp_main.o: In function `tcpconn_rm':<br>
              &gt; /usr/local/src/opensips_1_8/tcp_main.c:590: undefined
              reference to `tls_tcpconn_clean'<br>
              &gt; tcp_main.o: In function `tcp_send':<br>
              &gt; /usr/local/src/opensips_1_8/tcp_main.c:847: undefined
              reference to `tls_blocking_write'<br>
              &gt; tcp_main.o: In function `tcpconn_timeout':<br>
              &gt; /usr/local/src/opensips_1_8/tcp_main.c:1487:
              undefined reference to `tls_close'<br>
              &gt; /usr/local/src/opensips_1_8/tcp_main.c:1487:
              undefined reference to `tls_close'<br>
              &gt; /usr/local/src/opensips_1_8/tcp_main.c:1487:
              undefined reference to `tls_close'<br>
              &gt; /usr/local/src/opensips_1_8/tcp_main.c:1487:
              undefined reference to `tls_close'<br>
              &gt; /usr/local/src/opensips_1_8/tcp_main.c:1487:
              undefined reference to `tls_close'<br>
              &gt;
              tcp_main.o:/usr/local/src/opensips_1_8/tcp_main.c:1487:
              more undefined references to `tls_close' follow<br>
              &gt; tcp_read.o: In function `tcp_read_headers':<br>
              &gt; /usr/local/src/opensips_1_8/tcp_read.c:191: undefined
              reference to `tls_read'<br>
              &gt; tcp_read.o: In function `tcp_read_req':<br>
              &gt; /usr/local/src/opensips_1_8/tcp_read.c:452: undefined
              reference to `tls_fix_read_conn'<br>
              &gt; cfg.tab.o: In function `yyparse':<br>
              &gt; /usr/local/src/opensips_1_8/cfg.y:1394: undefined
              reference to `tls_server_domains'<br>
              &gt; /usr/local/src/opensips_1_8/cfg.y:1452: undefined
              reference to `tls_client_domains'<br>
              &gt; /usr/local/src/opensips_1_8/cfg.y:1461: undefined
              reference to `tls_client_domains'<br>
              &gt; /usr/local/src/opensips_1_8/cfg.y:1469: undefined
              reference to `tls_client_domains'<br>
              &gt; /usr/local/src/opensips_1_8/cfg.y:1477: undefined
              reference to `tls_client_domains'<br>
              &gt; /usr/local/src/opensips_1_8/cfg.y:845: undefined
              reference to `tls_log'<br>
              &gt; /usr/local/src/opensips_1_8/cfg.y:861: undefined
              reference to `tls_default_server_domain'<br>
              &gt; /usr/local/src/opensips_1_8/cfg.y:863: undefined
              reference to `tls_default_client_domain'<br>
              &gt; /usr/local/src/opensips_1_8/cfg.y:871: undefined
              reference to `tls_default_server_domain'<br>
              &gt; /usr/local/src/opensips_1_8/cfg.y:873: undefined
              reference to `tls_default_client_domain'<br>
              &gt; /usr/local/src/opensips_1_8/cfg.y:881: undefined
              reference to `tls_default_server_domain'<br>
              <br>
            </div>
          </div>
          Hi Cindy,<br>
          <br>
          Just a wild guess but have you installed openssl-dev or
          libssl-dev ?<br>
          <span class="HOEnZb"><font color="#888888"><br>
              Brian<br>
            </font></span>
          <div class="HOEnZb">
            <div class="h5"><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>
            </div>
          </div>
        </blockquote>
      </div>
      <br>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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>
  </body>
</html>