[OpenSIPS-Users] Compiling 1.8 with TLS

Brian ipt voiplists at iptel.co
Sat May 12 15:48:28 CEST 2012


On Sat, May 12, 2012 at 12:04 AM, Cindy Leung <cinthia721 at gmail.com> wrote:
> Hello,
>
> I just got a copy of 1.8 from svn and enabled TLS in menuconfig.  This is what I got during installation.
> Any idea?
>
> Thanks!
>
>
> Cindy
>
>
>
> Compiling lex.yy.c
> Compiling cfg.tab.c
> Linking opensips
> main.o: In function `cleanup':
> /usr/local/src/opensips_1_8/main.c:353: undefined reference to `destroy_tls'
> main.o: In function `main':
> /usr/local/src/opensips_1_8/main.c:1259: undefined reference to `pre_init_tls'
> /usr/local/src/opensips_1_8/main.c:1380: undefined reference to `init_tls'
> main.o: In function `main_loop':
> /usr/local/src/opensips_1_8/main.c:784: undefined reference to `tls_init'
> tcp_main.o: In function `tcpconn_new':
> /usr/local/src/opensips_1_8/tcp_main.c:468: undefined reference to `tls_tcpconn_init'
> tcp_main.o: In function `_tcpconn_rm':
> /usr/local/src/opensips_1_8/tcp_main.c:571: undefined reference to `tls_tcpconn_clean'
> tcp_main.o: In function `tcpconn_destroy':
> /usr/local/src/opensips_1_8/tcp_main.c:1104: undefined reference to `tls_close'
> tcp_main.o: In function `tcpconn_rm':
> /usr/local/src/opensips_1_8/tcp_main.c:590: undefined reference to `tls_tcpconn_clean'
> tcp_main.o: In function `tcp_send':
> /usr/local/src/opensips_1_8/tcp_main.c:847: undefined reference to `tls_blocking_write'
> tcp_main.o: In function `tcpconn_timeout':
> /usr/local/src/opensips_1_8/tcp_main.c:1487: undefined reference to `tls_close'
> /usr/local/src/opensips_1_8/tcp_main.c:1487: undefined reference to `tls_close'
> /usr/local/src/opensips_1_8/tcp_main.c:1487: undefined reference to `tls_close'
> /usr/local/src/opensips_1_8/tcp_main.c:1487: undefined reference to `tls_close'
> /usr/local/src/opensips_1_8/tcp_main.c:1487: undefined reference to `tls_close'
> tcp_main.o:/usr/local/src/opensips_1_8/tcp_main.c:1487: more undefined references to `tls_close' follow
> tcp_read.o: In function `tcp_read_headers':
> /usr/local/src/opensips_1_8/tcp_read.c:191: undefined reference to `tls_read'
> tcp_read.o: In function `tcp_read_req':
> /usr/local/src/opensips_1_8/tcp_read.c:452: undefined reference to `tls_fix_read_conn'
> cfg.tab.o: In function `yyparse':
> /usr/local/src/opensips_1_8/cfg.y:1394: undefined reference to `tls_server_domains'
> /usr/local/src/opensips_1_8/cfg.y:1452: undefined reference to `tls_client_domains'
> /usr/local/src/opensips_1_8/cfg.y:1461: undefined reference to `tls_client_domains'
> /usr/local/src/opensips_1_8/cfg.y:1469: undefined reference to `tls_client_domains'
> /usr/local/src/opensips_1_8/cfg.y:1477: undefined reference to `tls_client_domains'
> /usr/local/src/opensips_1_8/cfg.y:845: undefined reference to `tls_log'
> /usr/local/src/opensips_1_8/cfg.y:861: undefined reference to `tls_default_server_domain'
> /usr/local/src/opensips_1_8/cfg.y:863: undefined reference to `tls_default_client_domain'
> /usr/local/src/opensips_1_8/cfg.y:871: undefined reference to `tls_default_server_domain'
> /usr/local/src/opensips_1_8/cfg.y:873: undefined reference to `tls_default_client_domain'
> /usr/local/src/opensips_1_8/cfg.y:881: undefined reference to `tls_default_server_domain'

Hi Cindy,

Just a wild guess but have you installed openssl-dev or libssl-dev ?

Brian



More information about the Users mailing list