[OpenSIPS-Users] Error in compile of tls_mgm

Mike Tesliuk mike at wsu.com.br
Fri Jul 21 09:43:43 EDT 2017


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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: OpenPGP digital signature
URL: <http://lists.opensips.org/pipermail/users/attachments/20170721/fcf1d22b/attachment.sig>


More information about the Users mailing list