[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 1/2] crypto: fix build without gcrypt and gnutls
From: |
Daniel P . Berrangé |
Subject: |
Re: [PATCH 1/2] crypto: fix build without gcrypt and gnutls |
Date: |
Fri, 28 Aug 2020 16:23:18 +0100 |
User-agent: |
Mutt/1.14.6 (2020-07-11) |
On Fri, Aug 28, 2020 at 08:13:26AM -0700, Richard Henderson wrote:
> On 8/28/20 6:27 AM, Daniel P. Berrangé wrote:
> > If nettle is disabled and gcrypt enabled, the compiler and linker flags
> > needed for gcrypt are not passed.
> >
> > Gnutls was also not added as a dependancy wen gcrypt is enabled.
> >
> > Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
>
> This still needs something else. I get
>
> Linking target qemu-x86_64
> /usr/bin/ld: libqemuutil.a(crypto_init.c.o): in function `qcrypto_init':
> /home/rth/qemu/bld-g/../qemu/crypto/init.c:111: undefined reference to
> `gnutls_global_init'
> /usr/bin/ld: /home/rth/qemu/bld-g/../qemu/crypto/init.c:113: undefined
> reference to `gnutls_strerror'
> collect2: error: ld returned 1 exit status
> make: *** [Makefile.ninja:1570: qemu-x86_64] Error 1
Can you tell me what configure args you're using and host OS distro
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|