[OpenSIPS-Users] Error in compile of tls_mgm

Răzvan Crainea razvan at opensips.org
Fri Jul 21 10:54:18 EDT 2017


Hi, Mike!

OpenSIPS 2.2 is not compatible with the latest 1.1.0 openssl library. 
Only OpenSIPS 2.3 is compatible with it.

You can try to compile tls_mgm with the following command, and post 
somewhere it's output.
CC_EXTRA_OPTS=-DOPENSSL_NO_KRB5 make modules modules=modules/tls_mgm

Best regards,

Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com

On 07/21/2017 05:51 PM, Mike Tesliuk wrote:
>
> Hello Razvan,
>
>
> ii  libssl-dev:amd64 1.1.0f-3                       amd64        
> Secure Sockets Layer toolkit - development files
>
>
> is the version from the repository, is a clean installation
>
>
> PS: im sending again cause i send directly to you Razvan not to the list .
>
>
> Em 21/07/17 11:09, Răzvan Crainea escreveu:
>> Hello, Mike!
>>
>> OpenSIPS tls module uses libssl. can you tell us what version you are 
>> using for libssl-dev?
>>
>> Thanks,
>> Răzvan Crainea
>> OpenSIPS Solutions
>> www.opensips-solutions.com
>> On 07/21/2017 04:43 PM, Mike Tesliuk wrote:
>>> Hello,
>>>
>>>
>>> Im getting this error (below) when trying to compile the tls_mgm on
>>> version 2.2.5 (github 2.2)
>>>
>>>
>>> In file included from proto_tls.c:67:0:
>>> ../tls_mgm/tls_conn_ops.h: In function ‘tls_conn_init’:
>>> ../tls_mgm/tls_conn_ops.h:120:29: error: dereferencing pointer to
>>> incomplete type ‘SSL {aka struct ssl_st}’
>>>    if ( ((SSL *)c->extra_data)->kssl_ctx ) {
>>>                               ^~
>>> ../tls_mgm/tls_conn_ops.h:121:3: warning: implicit declaration of
>>> function ‘kssl_ctx_free’ [-Wimplicit-function-declaration]
>>>     kssl_ctx_free( ((SSL *)c->extra_data)->kssl_ctx );
>>>     ^~~~~~~~~~~~~
>>>
>>>
>>> The system is a debian 9 with the libs below for tls:
>>>
>>> libcurl3-gnutls:amd64 - 7.52.1-5
>>> libcurl4-gnutls-dev:amd64 - 7.52.1-5
>>> libgnutls-dane0:amd64 - 3.5.8-5+deb9u1
>>> libgnutls-openssl27:amd64 - 3.5.8-5+deb9u1
>>> libgnutls28-dev:amd64 - 3.5.8-5+deb9u1
>>> libgnutls30:amd64 - 3.5.8-5+deb9u1
>>> libgnutlsxx28:amd64 - 3.5.8-5+deb9u1
>>>
>>>
>>> Can you confirm how can i solve this ?
>>>
>>> Thank you.
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
> -- 
>
>
> ​Atenciosamente,
> WSU TECNOLOGIA
> Mike Tesliuk
> Rua Visconde do Rio Branco 1630 . Sala 1302 . Curitiba . PR
> 12387 SW 125th ter, Miami, Florida 33186 - USA
> tel +55 (41) 3941.0650   +1 (786) 719.6253
> *website <http://www.wsu.com.br/>  | mapa 
> <https://www.google.com.br/maps/place/WSU+Tecnologia/@-25.4354389,-49.2779048,17z/data=%213m1%214b1%214m2%213m1%211s0x94dce473a24cf705:0x369fdf05247b568b?hl=pt-BR>  | 
> email <mailto:contato at wsu.com.br> *
> .
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170721/29ef0c89/attachment.html>


More information about the Users mailing list