Crypto-libexec failed on Raspberry1 while installing dependencies


#1

Dear Open-Framework Community,

i just startet with OF and tried to set it up on my Raspberry PI 1.
I followed the instruction for installing the Framework on my Raspberry for developing.
While running the install_dependencies.sh script i got the error:

Makefile:139: recipe for target ‘Crypto-libexec’ failed
make: *** [Crypto-libexec] Error 2

^ Received error ^

I tried to solve the problem with just reinstalling Debian on my raspberry but it didnt solve the problem.
Everytime i try to install the dependencies i get the same error againg.
This is the whole error:

src/CipherImpl.cpp:80:21: error: field ‘_ctx’ has incomplete type ‘EVP_CIPHER_CTX {aka evp_cipher_ctx_st}’
EVP_CIPHER_CTX _ctx;
^~~~
In file included from /usr/include/openssl/crypto.h:31:0,
from include/Poco/Crypto/OpenSSLInitializer.h:26,
from include/Poco/Crypto/CipherKeyImpl.h:24,
from include/Poco/Crypto/CipherKey.h:24,
from include/Poco/Crypto/CipherImpl.h:25,
from src/CipherImpl.cpp:17:
/usr/include/openssl/ossl_typ.h:90:16: note: forward declaration of ‘EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st}’
typedef struct evp_cipher_ctx_st EVP_CIPHER_CTX;
^~~~~~~~~~~~~~~~~
/home/pi/openFrameworks/scripts/apothecary/build/poco/build/rules/compile:37: recipe for target ‘/home/pi/openFrameworks/scripts/apothecary/build/poco/Crypto/obj/Linux/armv6l/debug_static/CipherImpl.o’ failed
make[1]: *** [/home/pi/openFrameworks/scripts/apothecary/build/poco/Crypto/obj/Linux/armv6l/debug_static/CipherImpl.o] Error 1
make[1]: Leaving directory ‘/home/pi/openFrameworks/scripts/apothecary/build/poco/Crypto’
Makefile:139: recipe for target ‘Crypto-libexec’ failed
make: *** [Crypto-libexec] Error 2

^ Received error ^

I would be pleased if some may has an idea how to solve this problem or why this error appears.

Thank you very much.

Cheers
Jonas


#2

Okay tried using the nightly build that let me install the codecs and the dependencies.

Now i gotta wait for the Compiler to finish.


#3

Is there any solution for it yet?

I am facing the same problem. I am using:

  • of_v0.9.8_linuxarmv7l_release.tar.gz
  • raspberry pi 3, arm7l 4 core
  • already make 64 MB for GPU
    stuck at installing POCO C++ library at sudo ./install_dependencies.sh

thank you very much in advance.

Warmest regards,
suryadi

------ last several lines before error:
src/RSAKeyImpl.cpp:216:31: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
return convertToByteVec(_pRSA->e);
^~
In file included from /usr/include/openssl/crypto.h:31:0,
from include/Poco/Crypto/OpenSSLInitializer.h:26,
from include/Poco/Crypto/RSAKeyImpl.h:24,
from src/RSAKeyImpl.cpp:17:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
src/RSAKeyImpl.cpp: In member function ‘Poco::Crypto::RSAKeyImpl::ByteVec Poco::Crypto::RSAKeyImpl::decryptionExponent() const’:
src/RSAKeyImpl.cpp:222:31: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
return convertToByteVec(_pRSA->d);
^~
In file included from /usr/include/openssl/crypto.h:31:0,
from include/Poco/Crypto/OpenSSLInitializer.h:26,
from include/Poco/Crypto/RSAKeyImpl.h:24,
from src/RSAKeyImpl.cpp:17:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
/home/pi/openFrameworks/scripts/apothecary/build/poco/build/rules/compile:37: recipe for target ‘/home/pi/openFrameworks/scripts/apothecary/build/poco/Crypto/obj/Linux/armv7l/debug_static/RSAKeyImpl.o’ failed
make[1]: *** [/home/pi/openFrameworks/scripts/apothecary/build/poco/Crypto/obj/Linux/armv7l/debug_static/RSAKeyImpl.o] Error 1
make[1]: Leaving directory ‘/home/pi/openFrameworks/scripts/apothecary/build/poco/Crypto’
Makefile:139: recipe for target ‘Crypto-libexec’ failed
make: *** [Crypto-libexec] Error 2

^ Received error ^


#4

I try to compile linuxarmv6l_realease at arm7 (raspberry pi 3).
PRETTY_NAME=“Raspbian GNU/Linux 9 (stretch)”
NAME=“Raspbian GNU/Linux”
VERSION_ID=“9”
VERSION=“9 (stretch)”
ID=raspbian
ID_LIKE=debian

processor : 0
model name : ARMv7 Processor rev 4 (v7l)
BogoMIPS : 38.40
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4

but the error is the same at the Crypto thing.


In file included from /usr/include/openssl/crypto.h:31:0,
from include/Poco/Crypto/OpenSSLInitializer.h:26,
from include/Poco/Crypto/RSAKeyImpl.h:24,
from src/RSAKeyImpl.cpp:17:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
src/RSAKeyImpl.cpp: In member function ‘Poco::Crypto::RSAKeyImpl::ByteVec Poco::Crypto::RSAKeyImpl::decryptionExponent() const’:
src/RSAKeyImpl.cpp:222:31: error: invalid use of incomplete type ‘RSA {aka struct rsa_st}’
return convertToByteVec(_pRSA->d);
^~
In file included from /usr/include/openssl/crypto.h:31:0,
from include/Poco/Crypto/OpenSSLInitializer.h:26,
from include/Poco/Crypto/RSAKeyImpl.h:24,
from src/RSAKeyImpl.cpp:17:
/usr/include/openssl/ossl_typ.h:110:16: note: forward declaration of ‘RSA {aka struct rsa_st}’
typedef struct rsa_st RSA;
^~~~~~
/home/pi/openFrameworks/scripts/apothecary/build/poco/build/rules/compile:37: recipe for target ‘/home/pi/openFrameworks/scripts/apothecary/build/poco/Crypto/obj/Linux/armv7l/debug_static/RSAKeyImpl.o’ failed
make[1]: *** [/home/pi/openFrameworks/scripts/apothecary/build/poco/Crypto/obj/Linux/armv7l/debug_static/RSAKeyImpl.o] Error 1
make[1]: Leaving directory ‘/home/pi/openFrameworks/scripts/apothecary/build/poco/Crypto’
Makefile:139: recipe for target ‘Crypto-libexec’ failed
make: *** [Crypto-libexec] Error 2

^ Received error ^
pi@xtal:~/openFrameworks/scripts/linux/debian $