You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "Scott Cantor (Jira)" <ji...@apache.org> on 2024/07/11 14:49:00 UTC

[jira] [Updated] (SANTUARIO-495) xml-security-c-2.0.1 make error

     [ https://issues.apache.org/jira/browse/SANTUARIO-495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Cantor updated SANTUARIO-495:
-----------------------------------
    Summary: xml-security-c-2.0.1 make error  (was: xml-security-c-2.0.15 make error)

> xml-security-c-2.0.1 make error
> -------------------------------
>
>                 Key: SANTUARIO-495
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-495
>             Project: Santuario
>          Issue Type: Bug
>          Components: C++
>    Affects Versions: C++ 2.0.1
>            Reporter: Luis
>            Priority: Major
>
> 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



--
This message was sent by Atlassian Jira
(v8.20.10#820010)