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

[Xen-devel] [PATCH 0/2] qemu-trad: fix build with recent gnutls



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(-)


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.