qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] qemu compilation failure with nettle 3.5.1


From: Dr. David Alan Gilbert
Subject: Re: [Qemu-devel] qemu compilation failure with nettle 3.5.1
Date: Thu, 11 Jul 2019 13:18:17 +0100
User-agent: Mutt/1.12.0 (2019-05-25)

Copying in Daniel

* Amol Surati (address@hidden) wrote:
> Hi,
> 
> The qemu upstream (at commit 6df2cdf44a at the moment) fails to compile
> with nettle 3.5.1. It seems that Nettle has deprecated a few parts of
> its API.
> 
> A workaround is to provide --disable-nettle during qemu configuration.
> 
> A portion of the error log:
> 
> error: ‘nettle_aes_encrypt’ is deprecated
> error: ‘nettle_aes_decrypt’ is deprecated
> error: ‘nettle_aes_encrypt’ is deprecated
> error: ‘nettle_aes_decrypt’ is deprecated
> error: ‘nettle_aes_set_encrypt_key’ is deprecated
> error: ‘nettle_aes_set_decrypt_key’ is deprecated
> error: ‘nettle_aes_set_encrypt_key’ is deprecated
> error: ‘nettle_aes_set_decrypt_key’ is deprecated
> error: ‘nettle_aes_set_encrypt_key’ is deprecated
> error: ‘nettle_aes_set_decrypt_key’ is deprecated
> 
> 
> The declaration of one of the functions from nettle's aes.h:
> 
> void
> aes_encrypt(const struct aes_ctx *ctx,
>             size_t length, uint8_t *dst,
>             const uint8_t *src) _NETTLE_ATTRIBUTE_DEPRECATED;
> 
> Thanks,
> Amol
> 
--
Dr. David Alan Gilbert / address@hidden / Manchester, UK



reply via email to

[Prev in Thread] Current Thread [Next in Thread]