Jump to content

Openssl-1.1.0e support problem?


Recommended Posts

I can`t build the master branch.

I receive the following error:

Building CXX object src/lib/net/CMakeFiles/net.dir/SecureSocket.cpp.o
synergy/src/lib/net/SecureSocket.cpp: In member function void SecureSocket::showSecureCipherInfo()’:
synergy/src/lib/net/SecureSocket.cpp:810:46: error: invalid use of incomplete type SSL {aka struct ssl_st}’
  STACK_OF(SSL_CIPHER) * cStack = m_ssl->m_ssl->session->ciphers;
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/comp.h:16,
                 from /usr/include/openssl/ssl.h:47,
                 from /home/thokjo/GitHub/synergy/src/lib/net/SecureSocket.cpp:27:
/usr/include/openssl/ossl_typ.h:144:16: note: forward declaration of SSL {aka struct ssl_st}’
 typedef struct ssl_st SSL;
src/lib/net/CMakeFiles/net.dir/build.make:134: recipe for target 'src/lib/net/CMakeFiles/net.dir/SecureSocket.cpp.o' failed
make[2]: *** [src/lib/net/CMakeFiles/net.dir/SecureSocket.cpp.o] Error 1
CMakeFiles/Makefile2:549: recipe for target 'src/lib/net/CMakeFiles/net.dir/all' failed
make[1]: *** [src/lib/net/CMakeFiles/net.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Going back to: /synergy
Error: make failed: 512

Do someone know what the problem could be?

I running

Linux kali 4.9.0-kali3-amd64 #1 SMP Debian 4.9.18-1kali1 (2017-04-04) x86_64 GNU/Linux

with Openssl version 1.1.0e

Link to comment
Share on other sites

41 minutes ago, Andrew Nelless said:

This is fixed in the v1.9 branch

Do you have a guide on how to build v1.9?

Link to comment
Share on other sites

Guest Andrew Nelless

@Thomas__ the instructions aren't ready yet, but it's a pretty straightforward CMake build.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now
  • Create New...