On 8/28/20 8:23 AM, Daniel P. Berrangé wrote: > 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é <[email protected]> >> >> 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
../qemu/configure --enable-gcrypt \ --target-list=x86_64-softmmu,x86_64-linux-user On ubuntu 20 (focal). r~
