[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error compiling sources on Ubuntu
[Thread Prev] | [Thread Next]
- Subject: Re: Error compiling sources on Ubuntu
- From: Bruno Buzzi Brassesco <bruno.brasesco@xxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Wed, 24 Jun 2020 08:20:40 -0300
- To: libssh@xxxxxxxxxx
Hi,
Yes, you are correct. Thank you very much.
Our openssl version is 1.0.2g.
regards,
bruno
El mié., 24 jun. 2020 a las 4:58, Jakub Jelen (<jjelen@xxxxxxxxxx>)
escribió:
> Hello.
>
> This looks like some old ubuntu version or at least old OpenSSL
> version. What Ubuntu and OpenSSL do you have installed? Do you use some
> special cmake flags?
>
> We run Ubuntu builds as part of our CI with 20.04 LTS (using OpenSSL
> 1.1.1f at this moment) and it works just fine.
>
> Jakub
>
> On Tue, 2020-06-23 at 19:13 -0300, Bruno Buzzi Brassesco wrote:
> > 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
> --
> Jakub Jelen
> Senior Software Engineer
> Security Technologies
> Red Hat, Inc.
>
>
>
| Error compiling sources on Ubuntu | Bruno Buzzi Brassesco <bruno.brasesco@xxxxxxxxx> |
| Re: Error compiling sources on Ubuntu | Jakub Jelen <jjelen@xxxxxxxxxx> |