Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

recipe for target 'crypto/crypto_utils.o' failed #53

Open
Albretch opened this issue Dec 24, 2018 · 1 comment
Open

recipe for target 'crypto/crypto_utils.o' failed #53

Albretch opened this issue Dec 24, 2018 · 1 comment

Comments

@Albretch
Copy link

./config --disable-wavpack

...

make

...
gcc -c -fPIC -fvisibility=hidden -O3 -fopenmp -fopenmp -msse4.2 -I/usr/include -D__OSSL_OLD__ -I. -I./lzma -I./lzfx -I./lz4 -I./rabin -I./bsdiff -DNODEFAULT_PROPS -DFILE_OFFSET_BITS=64 -D_REENTRANT -D__USE_SSE_INTRIN__ -D_LZMA_PROB32 -I./filters/lzp -I./bsc/libbsc -DENABLE_PC_LIBBSC -I./crypto/skein -I./utils -I./crypto/sha2 -I./crypto/scrypt -I./crypto/aes -I./crypto -I./rabin/global -I./crypto/keccak -I./filters/transpose -I./crypto/blake2 -I./crypto/xsalsa20 -I./archive -pedantic -Wall -I./filters -fno-strict-aliasing -Wno-unused-but-set-variable -Wno-enum-compare -I./filters/analyzer -I./filters/dispack -D__HASH_COMPATIBILITY_ -Iarchive/libarchive/libarchive -I./filters/packjpg -I./filters/packpnm -std=gnu99 -DNDEBUG crypto/crypto_utils.c -o crypto/crypto_utils.o
crypto/crypto_utils.c: In function ‘HMAC_CTX_copy’:
crypto/crypto_utils.c:109:28: error: dereferencing pointer to incomplete type ‘HMAC_CTX {aka struct hmac_ctx_st}’
if (!EVP_MD_CTX_copy(&dctx->i_ctx, &sctx->i_ctx))
^~
crypto/crypto_utils.c: In function ‘PKCS5_PBKDF2_HMAC’:
crypto/crypto_utils.c:131:11: error: storage size of ‘hctx’ isn’t known
HMAC_CTX hctx;
^~~~
crypto/crypto_utils.c:137:2: warning: implicit declaration of function ‘HMAC_CTX_init’ [-Wimplicit-function-declaration]
HMAC_CTX_init(&hctx);
^~~~~~~~~~~~~
crypto/crypto_utils.c:173:2: warning: implicit declaration of function ‘HMAC_CTX_cleanup’ [-Wimplicit-function-declaration]
HMAC_CTX_cleanup(&hctx);
^~~~~~~~~~~~~~~~
crypto/crypto_utils.c:131:11: warning: unused variable ‘hctx’ [-Wunused-variable]
HMAC_CTX hctx;
^~~~
crypto/crypto_utils.c: In function ‘hmac_init’:
crypto/crypto_utils.c:485:47: error: invalid application of ‘sizeof’ to incomplete type ‘HMAC_CTX {aka struct hmac_ctx_st}’
HMAC_CTX *ctx = (HMAC_CTX *)malloc(sizeof (HMAC_CTX));
^~~~~~~~
crypto/crypto_utils.c:491:37: error: invalid application of ‘sizeof’ to incomplete type ‘HMAC_CTX {aka struct hmac_ctx_st}’
ctx = (HMAC_CTX *)malloc(sizeof (HMAC_CTX));
^~~~~~~~
crypto/crypto_utils.c:518:47: error: invalid application of ‘sizeof’ to incomplete type ‘HMAC_CTX {aka struct hmac_ctx_st}’
HMAC_CTX *ctx = (HMAC_CTX *)malloc(sizeof (HMAC_CTX));
^~~~~~~~
crypto/crypto_utils.c:524:37: error: invalid application of ‘sizeof’ to incomplete type ‘HMAC_CTX {aka struct hmac_ctx_st}’
ctx = (HMAC_CTX *)malloc(sizeof (HMAC_CTX));
^~~~~~~~
Makefile:381: recipe for target 'crypto/crypto_utils.o' failed
make: *** [crypto/crypto_utils.o] Error 1

@bartoszek
Copy link

bartoszek commented Mar 13, 2019

Looks like openssl related issue #51
The issue is cussed by API changes in openssl 1.1 in comparisoin to 1.0
Looks like dino have found solution to this problem, will take a look and try to create PR dino/dino@1a4cd25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants