Re: [libvirt] [PATCH] compile: fix undefined reference to gnutls_x509_crt_get_dn with gcc-4.6.1

2011-10-19 Thread ShaoHe Feng
Today, the same error encounters on my Ubuntu 11.10. After apply this patch, I can make Libvirt successfully. , Xu He Jie wrote: 于 2011年10月18日 22:45, Eric Blake 写道: On 10/18/2011 02:06 AM, Xu He Jie wrote: From: soulxusoulxu@soulxu-ThinkPad-T410.(none) When I compile libvirt with gcc-4.6.1

Re: [libvirt] [PATCH] compile: fix undefined reference to gnutls_x509_crt_get_dn with gcc-4.6.1

2011-10-19 Thread Eric Blake
On 10/18/2011 08:06 PM, Xu He Jie wrote: More likely, the difference is not in gcc, but in ld policy - Ubuntu recently changed policy to no longer allow implicit link dependencies by default (that is, if A links against B, and B links against C, older distros allowed A to use symbols from C

Re: [libvirt] [PATCH] compile: fix undefined reference to gnutls_x509_crt_get_dn with gcc-4.6.1

2011-10-19 Thread Xu He Jie
于 2011年10月19日 21:08, Eric Blake 写道: On 10/18/2011 08:06 PM, Xu He Jie wrote: More likely, the difference is not in gcc, but in ld policy - Ubuntu recently changed policy to no longer allow implicit link dependencies by default (that is, if A links against B, and B links against C, older distros

[libvirt] [PATCH] compile: fix undefined reference to gnutls_x509_crt_get_dn with gcc-4.6.1

2011-10-18 Thread Xu He Jie
From: soulxu soulxu@soulxu-ThinkPad-T410.(none) When I compile libvirt with gcc-4.6.1 in ubuntu 11.10, got error as below: CCLD libvirtd /usr/bin/ld: ../src/.libs/libvirt_driver_qemu.a(libvirt_driver_qemu_la-qemu_migration.o): undefined reference to symbol

Re: [libvirt] [PATCH] compile: fix undefined reference to gnutls_x509_crt_get_dn with gcc-4.6.1

2011-10-18 Thread Eric Blake
On 10/18/2011 02:06 AM, Xu He Jie wrote: From: soulxusoulxu@soulxu-ThinkPad-T410.(none) When I compile libvirt with gcc-4.6.1 in ubuntu 11.10, got error as below: CCLD libvirtd /usr/bin/ld: ../src/.libs/libvirt_driver_qemu.a(libvirt_driver_qemu_la-qemu_migration.o): undefined reference

Re: [libvirt] [PATCH] compile: fix undefined reference to gnutls_x509_crt_get_dn with gcc-4.6.1

2011-10-18 Thread Xu He Jie
于 2011年10月18日 22:45, Eric Blake 写道: On 10/18/2011 02:06 AM, Xu He Jie wrote: From: soulxusoulxu@soulxu-ThinkPad-T410.(none) When I compile libvirt with gcc-4.6.1 in ubuntu 11.10, got error as below: CCLD libvirtd /usr/bin/ld: