-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Hi! Try to install lib :
My system is
x86_64
DISTRIB_ID=LinuxMint
DISTRIB_DESCRIPTION="Linux Mint 21 Vanessa"
NAME="Linux Mint"
CUDA toolkit installed - yes
patched OpenSSL - yes
gcc - gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Сonfigure with path - that's ok
./configure --with-cudatoolkitpath=/usr/local/cuda
But make writes a lot of errors!
Such as:
e_cuda.c:195:41: error: invalid use of incomplete typedef ‘EVP_CIPHER_CTX’ {aka ‘struct evp_cipher_ctx_st’}
195 | BF_set_key(&key_schedule,ctx->key_len,key);
or
e_cuda.c:222:13: error: unknown type name ‘IDEA_KEY_SCHEDULE’; did you mean ‘IDEA_KEY_SIZE’?
222 | IDEA_KEY_SCHEDULE idea_key_schedule, idea_dec_key_schedule;
OR
e_cuda.c:365:27: error: storage size of ‘cuda_cast_ecb’ isn’t known
365 | #define cuda_cast_128_ecb cuda_cast_ecb
| ^~~~~~~~~~~~~
e_cuda.c:343:25: note: in expansion of macro ‘cuda_cast_128_ecb’
343 | static const EVP_CIPHER cuda_##lciph##_##ksize##_##lmode = { \
| ^~~~~
e_cuda.c:393:1: note: in expansion of macro ‘DECLARE_EVP’
393 | DECLARE_EVP(cast,CAST,128,ecb,ECB);
| ^~~~~~~~~~~
e_cuda.c:360:25: error: storage size of ‘cuda_des_cbc’ isn’t known
360 | #define cuda_des_64_cbc cuda_des_cbc
| ^~~~~~~~~~~~
e_cuda.c:343:25: note: in expansion of macro ‘cuda_des_64_cbc’
343 | static const EVP_CIPHER cuda_##lciph##_##ksize##_##lmode = { \
| ^~~~~
e_cuda.c:394:1: note: in expansion of macro ‘DECLARE_EVP’
394 | DECLARE_EVP(des,DES,64,cbc,CBC);
| ^~~~~~~~~~~
e_cuda.c:378:26: error: storage size of ‘cuda_idea_cbc’ isn’t known
378 | #define cuda_idea_64_cbc cuda_idea_cbc
| ^~~~~~~~~~~~~
e_cuda.c:343:25: note: in expansion of macro ‘cuda_idea_64_cbc’
343 | static const EVP_CIPHER cuda_##lciph##_##ksize##_##lmode = { \
| ^~~~~
e_cuda.c:396:1: note: in expansion of macro ‘DECLARE_EVP’
396 | DECLARE_EVP(idea,IDEA,64,cbc,CBC);
I tried to fix e_cuda.c regarding type matching. But perhaps this is the wrong way - by correcting one thing I get a lot of other errors.
Please advise what could be wrong
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels