trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: January 2017

Re: [trinity-devel] tdebase build issue

From: Slávek Banko <slavek.banko@...>
Date: Wed, 4 Jan 2017 09:35:46 +0100
On Wednesday 04 of January 2017 09:17:25 deloptes wrote:
> Hi,
> especially to Michele. I tried patching tdebase and building it but I
> now failed here and I don't understand why. Can you have a look and
> tell me what I can do, please.
>
> thanks
>
>
> /opt/software_x64/KDE/TDE/tdebase/kcontrol/crypto/crypto.cpp: In member
> function ‘void KCryptoConfig::slotCAImport()’:
> /opt/software_x64/KDE/TDE/tdebase/kcontrol/crypto/crypto.cpp:1887:58:
> error: ‘class KOpenSSLProxy’ has no member named
> ‘X509_STORE_get0_objects’ STACK_OF(X509_OBJECT) *certStore_objs =
> KOSSL::self()->X509_STORE_get0_objects(certStore);
>                                                           ^
> /opt/software_x64/KDE/TDE/tdebase/kcontrol/crypto/crypto.cpp:1888:38:
> error: ‘class KOpenSSLProxy’ has no member named ‘OPENSSL_sk_num’
>    for (int i = 0; i < KOSSL::self()->OPENSSL_sk_num(certStore_objs);
> i++) { ^
> /opt/software_x64/KDE/TDE/tdebase/kcontrol/crypto/crypto.cpp:1889:69:
> error: ‘class KOpenSSLProxy’ has no member named ‘OPENSSL_sk_value’
>     X509_OBJECT* x5o =
> reinterpret_cast<X509_OBJECT*>(KOSSL::self()->OPENSSL_sk_value(certStor
>e_objs, i));
>                                                                      ^
> /opt/software_x64/KDE/TDE/tdebase/kcontrol/crypto/crypto.cpp:1892:23:
> error: ‘class KOpenSSLProxy’ has no member named ‘X509_OBJECT_get_type’
>     if (KOSSL::self()->X509_OBJECT_get_type(x5o) != X509_LU_X509)
> continue; ^
> /opt/software_x64/KDE/TDE/tdebase/kcontrol/crypto/crypto.cpp:1894:30:
> error: ‘class KOpenSSLProxy’ has no member named
> ‘X509_OBJECT_get0_X509’ X509 *x5 =
> KOSSL::self()->X509_OBJECT_get0_X509(x5o);
>                               ^
> /opt/software_x64/KDE/TDE/tdebase/kcontrol/crypto/crypto.cpp:1958:35:
> error: ‘class KOpenSSLProxy’ has no member named ‘OPENSSL_sk_free’
>    if (certStore) { KOSSL::self()->OPENSSL_sk_free(certStore);
>                                    ^
> /opt/software_x64/KDE/TDE/tdebase/kcontrol/crypto/crypto.cpp:2030:32:
> error: ‘class KOpenSSLProxy’ has no member named ‘OPENSSL_sk_free’
>   if (certStore) KOSSL::self()->OPENSSL_sk_free(certStore);
>                                 ^
> /opt/software_x64/KDE/TDE/tdebase/kcontrol/crypto/crypto.cpp: In member
> function ‘bool KCryptoConfig::loadCiphers()’:
> /opt/software_x64/KDE/TDE/tdebase/kcontrol/crypto/crypto.cpp:2404:24:
> error: ‘class KOpenSSLProxy’ has no member named ‘OPENSSL_sk_num’
>    cnt = KOSSL::self()->OPENSSL_sk_num(sk);
>                         ^
> /opt/software_x64/KDE/TDE/tdebase/kcontrol/crypto/crypto.cpp:2408:67:
> error: ‘class KOpenSSLProxy’ has no member named ‘OPENSSL_sk_value’
>      SSL_CIPHER *sc =
> reinterpret_cast<SSL_CIPHER*>(KOSSL::self()->OPENSSL_sk_value(sk, i));
>                                                                    ^
> kcontrol/crypto/CMakeFiles/kcm_crypto-module.dir/build.make:73: recipe
> for target
> 'kcontrol/crypto/CMakeFiles/kcm_crypto-module.dir/crypto.cpp.o' failed
>

Hi Emanoil,

you must first rebuild tdelibs - see commit 
http://mirror.git.trinitydesktop.org/cgit/tdelibs/commit/?id=e1861cb6

Cheers
-- 
Slávek