-
Notifications
You must be signed in to change notification settings - Fork 607
Description
make[1]: Entering directory '/root/KeyDB/src'
CC Makefile.dep
CC release.o
CC tls.o
tls.cpp: In function ‘void tlsInit()’:
tls.cpp:158:26: error: too few arguments to function ‘const char* ERR_lib_error_string(long unsigned int)’
ERR_lib_error_string();
^
In file included from tls.cpp:41:0:
/usr/include/openssl/err.h:445:13: note: declared here
const char ERR_lib_error_string(unsigned long e);
^~~~~~~~~~~~~~~~~~~~
tls.cpp:159:5: error: ‘SSL_int_init’ was not declared in this scope
SSL_int_init();
^~~~~~~~~~~~
tls.cpp:159:5: note: suggested alternative: ‘SSL_in_init’
SSL_int_init();
^~~~~~~~~~~~
SSL_in_init
tls.cpp: In function ‘int tlsConfigure(redisTLSContextConfig)’:
tls.cpp:359:24: error: cannot convert ‘DH* {aka dh_st*}’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘void BN_free(BIGNUM*)’
BN_free(dh);
^
In file included from /usr/include/openssl/crypto.h:36:0,
from /usr/include/openssl/bio.h:30,
from /usr/include/openssl/conf.h:24,
from tls.cpp:39:
/usr/include/openssl/types.h:134:16: note: class type ‘DH {aka dh_st}’ is incomplete
typedef struct dh_st DH;
^~~~~
tls.cpp:363:20: error: cannot convert ‘DH* {aka dh_st*}’ to ‘BIGNUM* {aka bignum_st*}’ for argument ‘1’ to ‘void BN_free(BIGNUM*)’
BN_free(dh);
^
In file included from /usr/include/openssl/crypto.h:36:0,
from /usr/include/openssl/bio.h:30,
from /usr/include/openssl/conf.h:24,
from tls.cpp:39:
/usr/include/openssl/types.h:134:16: note: class type ‘DH {aka dh_st}’ is incomplete
typedef struct dh_st DH;
^~~~~
At global scope:
cc1plus: warning: unrecognized command line option ‘-Wno-atomic-alignment’
cc1plus: warning: unrecognized command line option ‘-Wno-address-of-packed-member’
make[1]: *** [Makefile:451: tls.o] Error 1
make[1]: Leaving directory '/root/KeyDB/src'
make: *** [Makefile:9: install] Error 2
OPENSSL_CFLAGS=-I/usr/include/openssl OPENSSL_LDFLAGS=-L/lib64 LDFLAGS=-L/lib64 LDLIBS=-lssl -lcrypto make USE_SYSTEMD=yes BUILD_TLS=yes install