From: Olaf Hering Subject: [PATCH 0/2] qemu-trad: fix build with recent gnutls Date: Tue, 28 Apr 2015 09:42:25 +0000 Message-ID: <1430214147-7329-1-git-send-email-olaf@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org, Ian Jackson Cc: Olaf Hering List-Id: xen-devel@lists.xenproject.org Building qemu-traditional fails with current gnutls: ../libqemu_common.a(vnc.o): In function `vnc_start_tls': /home/abuild/rpmbuild/BUILD/xen-4.6.30745/non-dbg/tools/qemu-xen-traditional-dir/vnc.c:2164: undefined reference to `gnutls_kx_set_priority' /home/abuild/rpmbuild/BUILD/xen-4.6.30745/non-dbg/tools/qemu-xen-traditional-dir/vnc.c:2171: undefined reference to `gnutls_certificate_type_set_priority' /home/abuild/rpmbuild/BUILD/xen-4.6.30745/non-dbg/tools/qemu-xen-traditional-dir/vnc.c:2178: undefined reference to `gnutls_protocol_set_priority' collect2: error: ld returned 1 exit status Makefile:740: recipe for target 'qemu-dm' failed To fix the build two upstream patches need to be backported. One fixes the compile error, the other one removes another deprecated function warning. This series was only compile tested. Please review and apply to qemu-trad, xen-4.2 and later is affected. Olaf Andre Przywara (1): vnc-tls: Fix compilation with newer versions of GNU-TLS Gerd Hoffmann (1): vns/tls: don't use depricated gnutls functions vnc.c | 71 +++++++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 48 insertions(+), 23 deletions(-)