<!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 & 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. I think it's related to how menuconfig works (or rather in
this case doesn't). 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"><<a moz-do-not-send="true"
href="mailto:voiplists@iptel.co" target="_blank">voiplists@iptel.co</a>></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 <<a moz-do-not-send="true"
href="mailto:cinthia721@gmail.com">cinthia721@gmail.com</a>>
wrote:<br>
> Hello,<br>
><br>
> I just got a copy of 1.8 from svn and enabled TLS in
menuconfig. This is what I got during installation.<br>
> Any idea?<br>
><br>
> Thanks!<br>
><br>
><br>
> Cindy<br>
><br>
><br>
><br>
> Compiling lex.yy.c<br>
> Compiling cfg.tab.c<br>
> Linking opensips<br>
> main.o: In function `cleanup':<br>
> /usr/local/src/opensips_1_8/main.c:353: undefined
reference to `destroy_tls'<br>
> main.o: In function `main':<br>
> /usr/local/src/opensips_1_8/main.c:1259: undefined
reference to `pre_init_tls'<br>
> /usr/local/src/opensips_1_8/main.c:1380: undefined
reference to `init_tls'<br>
> main.o: In function `main_loop':<br>
> /usr/local/src/opensips_1_8/main.c:784: undefined
reference to `tls_init'<br>
> tcp_main.o: In function `tcpconn_new':<br>
> /usr/local/src/opensips_1_8/tcp_main.c:468: undefined
reference to `tls_tcpconn_init'<br>
> tcp_main.o: In function `_tcpconn_rm':<br>
> /usr/local/src/opensips_1_8/tcp_main.c:571: undefined
reference to `tls_tcpconn_clean'<br>
> tcp_main.o: In function `tcpconn_destroy':<br>
> /usr/local/src/opensips_1_8/tcp_main.c:1104:
undefined reference to `tls_close'<br>
> tcp_main.o: In function `tcpconn_rm':<br>
> /usr/local/src/opensips_1_8/tcp_main.c:590: undefined
reference to `tls_tcpconn_clean'<br>
> tcp_main.o: In function `tcp_send':<br>
> /usr/local/src/opensips_1_8/tcp_main.c:847: undefined
reference to `tls_blocking_write'<br>
> tcp_main.o: In function `tcpconn_timeout':<br>
> /usr/local/src/opensips_1_8/tcp_main.c:1487:
undefined reference to `tls_close'<br>
> /usr/local/src/opensips_1_8/tcp_main.c:1487:
undefined reference to `tls_close'<br>
> /usr/local/src/opensips_1_8/tcp_main.c:1487:
undefined reference to `tls_close'<br>
> /usr/local/src/opensips_1_8/tcp_main.c:1487:
undefined reference to `tls_close'<br>
> /usr/local/src/opensips_1_8/tcp_main.c:1487:
undefined reference to `tls_close'<br>
>
tcp_main.o:/usr/local/src/opensips_1_8/tcp_main.c:1487:
more undefined references to `tls_close' follow<br>
> tcp_read.o: In function `tcp_read_headers':<br>
> /usr/local/src/opensips_1_8/tcp_read.c:191: undefined
reference to `tls_read'<br>
> tcp_read.o: In function `tcp_read_req':<br>
> /usr/local/src/opensips_1_8/tcp_read.c:452: undefined
reference to `tls_fix_read_conn'<br>
> cfg.tab.o: In function `yyparse':<br>
> /usr/local/src/opensips_1_8/cfg.y:1394: undefined
reference to `tls_server_domains'<br>
> /usr/local/src/opensips_1_8/cfg.y:1452: undefined
reference to `tls_client_domains'<br>
> /usr/local/src/opensips_1_8/cfg.y:1461: undefined
reference to `tls_client_domains'<br>
> /usr/local/src/opensips_1_8/cfg.y:1469: undefined
reference to `tls_client_domains'<br>
> /usr/local/src/opensips_1_8/cfg.y:1477: undefined
reference to `tls_client_domains'<br>
> /usr/local/src/opensips_1_8/cfg.y:845: undefined
reference to `tls_log'<br>
> /usr/local/src/opensips_1_8/cfg.y:861: undefined
reference to `tls_default_server_domain'<br>
> /usr/local/src/opensips_1_8/cfg.y:863: undefined
reference to `tls_default_client_domain'<br>
> /usr/local/src/opensips_1_8/cfg.y:871: undefined
reference to `tls_default_server_domain'<br>
> /usr/local/src/opensips_1_8/cfg.y:873: undefined
reference to `tls_default_client_domain'<br>
> /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>