Re: [PATCH] Fix test case qemuagenttest compilation.

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

 



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 :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]