Your message dated Tue, 29 Nov 2016 18:41:54 +0100
with message-id <[email protected]>
and subject line Re: [Pkg-openssl-devel] Bug#846251: Compilation error in
/usr/include/openssl/ossl_typ.h
has caused the Debian Bug report #846251,
regarding Compilation error in /usr/include/openssl/ossl_typ.h
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
846251: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=846251
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libssl-dev:amd64
Version: 1.1.0c-2
Hello,
When trying to compile synergy from source
(https://github.com/symless/synergy) I get the following error:
/srv/src/synergy/src/lib/net/SecureSocket.cpp: In member function
‘void SecureSocket::showSecureCipherInfo()’:
/srv/src/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 /srv/src/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;
^~~~~~
At global scope:
cc1plus: error: unrecognized command line option
‘-Wno-unused-local-typedef’ [-Werror]
cc1plus: all warnings being treated as errors
src/lib/net/CMakeFiles/net.dir/build.make:134 : la recette pour la
cible « src/lib/net/CMakeFiles/net.dir/SecureSocket.cpp.o » a échouée
make[2]: *** [src/lib/net/CMakeFiles/net.dir/SecureSocket.cpp.o] Erreur 1
CMakeFiles/Makefile2:549 : la recette pour la cible «
src/lib/net/CMakeFiles/net.dir/all » a échouée
make[1]: *** [src/lib/net/CMakeFiles/net.dir/all] Erreur 2
Makefile:83 : la recette pour la cible « all » a échouée
make: *** [all] Erreur 2
Going back to: /srv/src/synergy
Error: make failed: 512
I am using an up-to-date debian testing (stretch) distribution with
the latest kernel "linux-image-amd64 4.8+76" and libc "libc6:amd64
2.24-5"
Sincerely,
Cyril Elkaim
--- End Message ---
--- Begin Message ---
On Tue, Nov 29, 2016 at 03:31:12PM +0000, cyril elkaim wrote:
> Package: libssl-dev:amd64
> Version: 1.1.0c-2
>
> Hello,
>
> When trying to compile synergy from source
> (https://github.com/symless/synergy) I get the following error:
>
> /srv/src/synergy/src/lib/net/SecureSocket.cpp: In member function
> ‘void SecureSocket::showSecureCipherInfo()’:
> /srv/src/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;
> ^~
This is not a bug in OpenSSL. Those structures are no longer
accessable and you need to use functions to get that now.
See:
https://wiki.openssl.org/index.php/1.1_API_Changes
I'm closing this bug.
Kurt
--- End Message ---