Created
March 14, 2017 15:37
-
-
Save unixsurfer/4476410bbbaf2192af591123f4388850 to your computer and use it in GitHub Desktop.
compilation error haproxy-1.6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SE_SYSCALL_FUTEX -DUSE_PCRE -I/usr/include -DUSE_PCRE_JIT -DCONFIG_HAPROXY_VERSION=\"1.6.11-103925-18\" -DCONFIG_HAPROXY_DATE=\"2017/02/23\" -c -o src/ssl_sock.o src/ssl_sock.c | |
src/ssl_sock.c: In function ‘ssl_sock_load_ocsp_response’: | |
src/ssl_sock.c:328:21: error: dereferencing pointer to incomplete type ‘OCSP_SINGLERESP {aka struct ocsp_single_response_st}’ | |
if (OCSP_id_cmp(sr->certId, cid)) { | |
^~ | |
src/ssl_sock.c: In function ‘ssl_tlsext_ticket_key_cb’: | |
src/ssl_sock.c:450:3: warning: ‘RAND_pseudo_bytes’ is deprecated [-Wdeprecated-declarations] | |
if(!RAND_pseudo_bytes(iv, EVP_MAX_IV_LENGTH)) | |
^~ | |
In file included from /usr/include/openssl/ct.h:13:0, | |
from /usr/include/openssl/ssl.h:61, | |
from src/ssl_sock.c:41: | |
/usr/include/openssl/rand.h:47:1: note: declared here | |
DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num)) | |
^ | |
src/ssl_sock.c: In function ‘ssl_sock_load_ocsp’: | |
src/ssl_sock.c:652:43: error: dereferencing pointer to incomplete type ‘SSL_CTX {aka struct ssl_ctx_st}’ | |
xi = PEM_read_bio_X509_AUX(in, NULL, ctx->default_passwd_callback, ctx->default_passwd_callback_userdata); | |
^~ | |
src/ssl_sock.c: In function ‘ssl_sock_do_create_cert’: | |
src/ssl_sock.c:1088:26: error: dereferencing pointer to incomplete type ‘EVP_PKEY {aka struct evp_pkey_st}’ | |
if (EVP_PKEY_type(capkey->type) == EVP_PKEY_DSA) | |
^~ | |
src/ssl_sock.c:1089:12: warning: implicit declaration of function ‘EVP_dss1’ [-Wimplicit-function-declaration] | |
digest = EVP_dss1(); | |
^~~~~~~~ | |
src/ssl_sock.c:1089:10: warning: assignment makes pointer from integer without a cast [-Wint-conversion] | |
digest = EVP_dss1(); | |
^ | |
src/ssl_sock.c: In function ‘ssl_get_dh_1024’: | |
src/ssl_sock.c:1326:5: error: dereferencing pointer to incomplete type ‘DH {aka struct dh_st}’ | |
dh->p = BN_bin2bn(dh1024_p, sizeof dh1024_p, NULL); | |
^~ | |
src/ssl_sock.c: In function ‘ssl_sock_load_cert_chain_file’: | |
src/ssl_sock.c:1658:57: error: dereferencing pointer to incomplete type ‘X509_NAME_ENTRY {aka struct X509_name_entry_st}’ | |
if (ASN1_STRING_to_UTF8((unsigned char **)&str, entry->value) >= 0) { | |
^~ | |
src/ssl_sock.c: In function ‘ssl_sock_prepare_ctx’: | |
src/ssl_sock.c:2014:3: warning: ‘TLSv1_server_method’ is deprecated [-Wdeprecated-declarations] | |
SSL_CTX_set_ssl_version(ctx, TLSv1_server_method()); | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/include/openssl/ct.h:13:0, | |
from /usr/include/openssl/ssl.h:61, | |
from src/ssl_sock.c:41: | |
/usr/include/openssl/ssl.h:1597:1: note: declared here | |
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) /* TLSv1.0 */ | |
^ | |
src/ssl_sock.c:2017:3: warning: ‘TLSv1_1_server_method’ is deprecated [-Wdeprecated-declarations] | |
SSL_CTX_set_ssl_version(ctx, TLSv1_1_server_method()); | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/include/openssl/ct.h:13:0, | |
from /usr/include/openssl/ssl.h:61, | |
from src/ssl_sock.c:41: | |
/usr/include/openssl/ssl.h:1603:1: note: declared here | |
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_server_method(void)) /* TLSv1.1 */ | |
^ | |
src/ssl_sock.c:2021:3: warning: ‘TLSv1_2_server_method’ is deprecated [-Wdeprecated-declarations] | |
SSL_CTX_set_ssl_version(ctx, TLSv1_2_server_method()); | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/include/openssl/ct.h:13:0, | |
from /usr/include/openssl/ssl.h:61, | |
from src/ssl_sock.c:41: | |
/usr/include/openssl/ssl.h:1609:1: note: declared here | |
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_server_method(void)) /* TLSv1.2 */ | |
^ | |
src/ssl_sock.c:2107:13: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] | |
cipher = sk_SSL_CIPHER_value(ciphers, idx); | |
^ | |
src/ssl_sock.c: In function ‘ssl_sock_prepare_srv_ctx’: | |
src/ssl_sock.c:2388:3: warning: ‘TLSv1_client_method’ is deprecated [-Wdeprecated-declarations] | |
SSL_CTX_set_ssl_version(srv->ssl_ctx.ctx, TLSv1_client_method()); | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/include/openssl/ct.h:13:0, | |
from /usr/include/openssl/ssl.h:61, | |
from src/ssl_sock.c:41: | |
/usr/include/openssl/ssl.h:1598:1: note: declared here | |
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) /* TLSv1.0 */ | |
^ | |
src/ssl_sock.c:2391:3: warning: ‘TLSv1_1_client_method’ is deprecated [-Wdeprecated-declarations] | |
SSL_CTX_set_ssl_version(srv->ssl_ctx.ctx, TLSv1_1_client_method()); | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/include/openssl/ct.h:13:0, | |
from /usr/include/openssl/ssl.h:61, | |
from src/ssl_sock.c:41: | |
/usr/include/openssl/ssl.h:1604:1: note: declared here | |
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_1_client_method(void)) /* TLSv1.1 */ | |
^ | |
src/ssl_sock.c:2395:3: warning: ‘TLSv1_2_client_method’ is deprecated [-Wdeprecated-declarations] | |
SSL_CTX_set_ssl_version(srv->ssl_ctx.ctx, TLSv1_2_client_method()); | |
^~~~~~~~~~~~~~~~~~~~~~~ | |
In file included from /usr/include/openssl/ct.h:13:0, | |
from /usr/include/openssl/ssl.h:61, | |
from src/ssl_sock.c:41: | |
/usr/include/openssl/ssl.h:1610:1: note: declared here | |
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_2_client_method(void)) /* TLSv1.2 */ | |
^ | |
src/ssl_sock.c: In function ‘ssl_sock_handshake’: | |
src/ssl_sock.c:2813:34: error: dereferencing pointer to incomplete type ‘SSL {aka struct ssl_st}’ | |
if (!((SSL *)conn->xprt_ctx)->packet_length) { | |
^~ | |
src/ssl_sock.c: In function ‘ssl_sock_get_dn_entry’: | |
src/ssl_sock.c:3298:42: error: dereferencing pointer to incomplete type ‘X509_NAME {aka struct X509_name_st}’ | |
for (i = 0; i < sk_X509_NAME_ENTRY_num(a->entries); i++) { | |
^~ | |
src/ssl_sock.c: In function ‘smp_fetch_ssl_x_sig_alg’: | |
src/ssl_sock.c:3929:39: error: dereferencing pointer to incomplete type ‘X509 {aka struct x509_st}’ | |
nid = OBJ_obj2nid((ASN1_OBJECT *)(crt->cert_info->signature->algorithm)); | |
^~ | |
src/ssl_sock.c: In function ‘__ssl_sock_deinit’: | |
src/ssl_sock.c:5471:9: warning: ‘ERR_remove_state’ is deprecated [-Wdeprecated-declarations] | |
ERR_remove_state(0); | |
^~~~~~~~~~~~~~~~ | |
In file included from /usr/include/openssl/ct.h:13:0, | |
from /usr/include/openssl/ssl.h:61, | |
from src/ssl_sock.c:41: | |
/usr/include/openssl/err.h:247:1: note: declared here | |
DEPRECATEDIN_1_0_0(void ERR_remove_state(unsigned long pid)) | |
^ | |
Makefile:786: recipe for target 'src/ssl_sock.o' failed | |
make: *** [src/ssl_sock.o] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment