Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
C++ 2.0.1
-
None
-
None
-
None
Description
When trying to configure and make xml-security from http://mirrors.up.pt/pub/apache/santuario/c-library/xml-security-c-2.0.1.tar.bz2
get this error:
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.. -I.. -DXSEC_BUILDING_LIBRARY -Wall -O2 -DNDEBUG -pthread -MT enc/OpenSSL/libxml_security_c_la-OpenSSLCryptoBase64.lo -MD -MP -MF enc/OpenSSL/.deps/libxml_security_c_la-OpenSSLCryptoBase64.Tpo -c -o enc/OpenSSL/libxml_security_c_la-OpenSSLCryptoBase64.lo `test -f 'enc/OpenSSL/OpenSSLCryptoBase64.cpp' || echo './'`enc/OpenSSL/OpenSSLCryptoBase64.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I.. -I.. -DXSEC_BUILDING_LIBRARY -Wall -O2 -DNDEBUG -pthread -MT enc/OpenSSL/libxml_security_c_la-OpenSSLCryptoBase64.lo -MD -MP -MF enc/OpenSSL/.deps/libxml_security_c_la-OpenSSLCryptoBase64.Tpo -c enc/OpenSSL/OpenSSLCryptoBase64.cpp -fPIC -DPIC -o enc/OpenSSL/.libs/libxml_security_c_la-OpenSSLCryptoBase64.o
enc/OpenSSL/OpenSSLCryptoBase64.cpp: In constructor 'OpenSSLCryptoBase64::OpenSSLCryptoBase64()':
enc/OpenSSL/OpenSSLCryptoBase64.cpp:55:54: error: 'EVP_ENCODE_CTX_new' was not declared in this scope
OpenSSLCryptoBase64::OpenSSLCryptoBase64() : mp_ectx(EVP_ENCODE_CTX_new()), mp_dctx(EVP_ENCODE_CTX_new()) {
^~~~~~~~~~~~~~~~~~
enc/OpenSSL/OpenSSLCryptoBase64.cpp:55:54: note: suggested alternative: 'EVP_ENCODE_CTX'
OpenSSLCryptoBase64::OpenSSLCryptoBase64() : mp_ectx(EVP_ENCODE_CTX_new()), mp_dctx(EVP_ENCODE_CTX_new()) {
^~~~~~~~~~~~~~~~~~
EVP_ENCODE_CTX
enc/OpenSSL/OpenSSLCryptoBase64.cpp: In destructor 'virtual OpenSSLCryptoBase64::~OpenSSLCryptoBase64()':
enc/OpenSSL/OpenSSLCryptoBase64.cpp:60:5: error: 'EVP_ENCODE_CTX_free' was not declared in this scope
EVP_ENCODE_CTX_free(mp_ectx);
^~~~~~~~~~~~~~~~~~~
enc/OpenSSL/OpenSSLCryptoBase64.cpp:60:5: note: suggested alternative: 'EVP_MD_CTX_free'
EVP_ENCODE_CTX_free(mp_ectx);
^~~~~~~~~~~~~~~~~~~
EVP_MD_CTX_free
make[2]: *** [Makefile:3340: enc/OpenSSL/libxml_security_c_la-OpenSSLCryptoBase64.lo] Error 1
make[2]: Leaving directory '/home/lupe/recolhidos/xml-security-c-2.0.1/xsec'
make[1]: *** [Makefile:520: all-recursive] Error 1
make[1]: Leaving directory '/home/lupe/recolhidos/xml-security-c-2.0.1'
make: *** [Makefile:421: all] Error 2
$ uname -a
Linux leao 4.18.9_1 #1 SMP PREEMPT Thu Sep 20 05:49:31 UTC 2018 x86_64 GNU/Linux