[Pkg-openssl-devel] Bug#846251: Compilation error in /usr/include/openssl/ossl_typ.h
cyril elkaim
cyrelk at gmail.com
Tue Nov 29 15:31:12 UTC 2016
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-openssl-devel/attachments/20161129/6945f8e3/attachment.html>
More information about the Pkg-openssl-devel
mailing list