[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Error compiling sources on Ubuntu
[Thread Prev] | [Thread Next]
- Subject: Error compiling sources on Ubuntu
- From: Bruno Buzzi Brassesco <bruno.brasesco@xxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Tue, 23 Jun 2020 19:13:32 -0300
- To: libssh@xxxxxxxxxx
Hi, I have compiled libssh on a fresh Ubuntu witthout problems. Now the same steps fail on a test environment (same Ubuntu version). The error attached below is rare because it seems a bad/missing function declaration. Has Anyone experienced this error before ? /gemstone/temp/libssh-0.9.4/src/pki_crypto.c:890:13: error: implicit declaration of function ‘EVP_PKEY_base_id’ [-Werror=implicit-function-declaration] switch (EVP_PKEY_base_id(pkey)) { ^ /gemstone/temp/libssh-0.9.4/src/pki_crypto.c: In function ‘pki_sign_data’: /gemstone/temp/libssh-0.9.4/src/pki_crypto.c:2140:10: error: implicit declaration of function ‘EVP_DigestSignInit’ [-Werror=implicit-function-declaration] rc = EVP_DigestSignInit(ctx, NULL, md, NULL, pkey); ^ /gemstone/temp/libssh-0.9.4/src/pki_crypto.c:2157:10: error: implicit declaration of function ‘EVP_DigestSignUpdate’ [-Werror=implicit-function-declaration] rc = EVP_DigestSignUpdate(ctx, input, input_len); ^ /gemstone/temp/libssh-0.9.4/src/pki_crypto.c:2165:10: error: implicit declaration of function ‘EVP_DigestSignFinal’ [-Werror=implicit-function-declaration] rc = EVP_DigestSignFinal(ctx, raw_sig_data, &raw_sig_len); ^ /gemstone/temp/libssh-0.9.4/src/pki_crypto.c: In function ‘pki_verify_data_signature’: /gemstone/temp/libssh-0.9.4/src/pki_crypto.c:2301:14: error: implicit declaration of function ‘EVP_DigestVerifyInit’ [-Werror=implicit-function-declaration] evp_rc = EVP_DigestVerifyInit(ctx, NULL, md, NULL, pkey); ^ /gemstone/temp/libssh-0.9.4/src/pki_crypto.c:2312:14: error: implicit declaration of function ‘EVP_DigestVerifyUpdate’ [-Werror=implicit-function-declaration] evp_rc = EVP_DigestVerifyUpdate(ctx, input, input_len); ^ /gemstone/temp/libssh-0.9.4/src/pki_crypto.c:2320:14: error: implicit declaration of function ‘EVP_DigestVerifyFinal’ [-Werror=implicit-function-declaration] evp_rc = EVP_DigestVerifyFinal(ctx, raw_sig_data, raw_sig_len); ^ cc1: some warnings being treated as errors src/CMakeFiles/ssh.dir/build.make:1286: recipe for target 'src/CMakeFiles/ssh.dir/pki_crypto.c.o' failed make[2]: *** [src/CMakeFiles/ssh.dir/pki_crypto.c.o] Error 1 CMakeFiles/Makefile2:171: recipe for target 'src/CMakeFiles/ssh.dir/all' failed make[1]: *** [src/CMakeFiles/ssh.dir/all] Error 2 Makefile:149: recipe for target 'all' failed make: *** [all] Error 2
Re: Error compiling sources on Ubuntu | Jakub Jelen <jjelen@xxxxxxxxxx> |