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 href="mailto:voiplists@iptel.co" target="_blank">voiplists@iptel.co</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On Sat, May 12, 2012 at 12:04 AM, Cindy Leung <<a 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 href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a 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>