[libvirt] [PATCH] Fix test case qemuagenttest compilation.
Jincheng Miao
jmiao at redhat.com
Thu Aug 1 08:08:49 UTC 2013
Hi DB,
I do not disable shared libs explicit in my memory, I think that is all default.
My fc19 computer is in my home. So I will check it when I get home as soon as possible.
----- Original Message -----
From: "Daniel P. Berrange" <berrange at redhat.com>
To: "Jincheng Miao" <jmiao at redhat.com>
Cc: "Eric Blake" <eblake at redhat.com>, libvir-list at redhat.com
Sent: Thursday, August 1, 2013 4:01:24 PM
Subject: Re: [libvirt] [PATCH] Fix test case qemuagenttest compilation.
On Wed, Jul 31, 2013 at 11:50:18PM -0400, Jincheng Miao wrote:
> On 08/01/2013 05:48 AM, Eric Blake wrote:
> >> When compiling qemuagenttest, a link error occurs like:
> >> ./.libs/libqemumonitortestutils.a(qemumonitortestutils.o): In function `qemuMonitorTestFree':
> >> libvirt/tests/qemumonitortestutils.c:346: undefined reference to `qemuMonitorClose'
> >> ./.libs/libqemumonitortestutils.a(qemumonitortestutils.o): In function `qemuMonitorTestNew':
> >> libvirt/tests/qemumonitortestutils.c:870: undefined reference to `qemuMonitorOpen'
> >> collect2: error: ld returned 1 exit status
> >
> > What platform was this on? Some distros are set up to be tolerant of
> > lazy resolution, which masks issues like this (hence, I'm _not_ seeing
> > this error on Fedora).
>
>
> Actually I am using fedora 19 too.
> And the toolchain is:
> gcc-4.8.1-1.fc19.x86_64
> libtool-2.4.2-16.fc19.x86_64
Did you ask to disable shared libraries when you built libvirt ? That's
the only reason I can imagine why you'd see this kind of error.
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list