[libvirt] Compiling Warning

Hello Eric, I met some compiling warning, I'm not sure whether my environment is dirty, please help confirm them: *** Warning: Linking the executable qemuxml2argvtest against the loadable module *** libvirt_driver_qemu.so is not portable! *** Warning: Linking the executable qemuxml2argvtest against the loadable module *** libvirt_driver_network.so is not portable! CC qemuxml2xmltest.o CCLD qemuxml2xmltest *** Warning: Linking the executable qemuxml2xmltest against the loadable module *** libvirt_driver_qemu.so is not portable! *** Warning: Linking the executable qemuxml2xmltest against the loadable module *** libvirt_driver_network.so is not portable! CC qemuxmlnstest.o CCLD qemuxmlnstest *** Warning: Linking the executable qemuxmlnstest against the loadable module *** libvirt_driver_qemu.so is not portable! *** Warning: Linking the executable qemuxmlnstest against the loadable module *** libvirt_driver_network.so is not portable! CC qemuargv2xmltest.o CCLD qemuargv2xmltest *** Warning: Linking the executable qemuargv2xmltest against the loadable module *** libvirt_driver_qemu.so is not portable! *** Warning: Linking the executable qemuargv2xmltest against the loadable module *** libvirt_driver_network.so is not portable! CC qemuhelptest.o CCLD qemuhelptest *** Warning: Linking the executable qemuhelptest against the loadable module *** libvirt_driver_qemu.so is not portable! *** Warning: Linking the executable qemuhelptest against the loadable module *** libvirt_driver_network.so is not portable! CC domainsnapshotxml2xmltest.o CCLD domainsnapshotxml2xmltest *** Warning: Linking the executable domainsnapshotxml2xmltest against the loadable module *** libvirt_driver_qemu.so is not portable! *** Warning: Linking the executable domainsnapshotxml2xmltest against the loadable module *** libvirt_driver_network.so is not portable! CC qemumonitortest.o CCLD qemumonitortest *** Warning: Linking the executable qemumonitortest against the loadable module *** libvirt_driver_qemu.so is not portable! *** Warning: Linking the executable qemumonitortest against the loadable module *** libvirt_driver_network.so is not portable! CC lxcxml2xmltest.o CC testutilslxc.o CCLD lxcxml2xmltest *** Warning: Linking the executable lxcxml2xmltest against the loadable module *** libvirt_driver_lxc.so is not portable! *** Warning: Linking the executable lxcxml2xmltest against the loadable module *** libvirt_driver_network.so is not portable! CC openvzutilstest.o CCLD openvzutilstest CC esxutilstest.o CCLD esxutilstest CC vmx2xmltest.o CCLD vmx2xmltest CC xml2vmxtest.o CCLD xml2vmxtest CC jsontest.o CCLD jsontest CC networkxml2xmltest.o CCLD networkxml2xmltest CC networkxml2argvtest.o CCLD networkxml2argvtest *** Warning: Linking the executable networkxml2argvtest against the loadable module *** libvirt_driver_network.so is not portable! Thanks, Alex

On 05/24/2012 09:37 PM, Alex Jia wrote:
Hello Eric, I met some compiling warning, I'm not sure whether my environment is dirty, please help confirm them:
*** Warning: Linking the executable qemuxml2argvtest against the loadable module *** libvirt_driver_qemu.so is not portable!
You've previously reported this warning, and we've previously reported that it is harmless. It just appears more frequently now that we use libvirt in more places. -- Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org

On 05/25/2012 11:52 AM, Eric Blake wrote:
Hello Eric, I met some compiling warning, I'm not sure whether my environment is dirty, please help confirm them:
*** Warning: Linking the executable qemuxml2argvtest against the loadable module *** libvirt_driver_qemu.so is not portable! You've previously reported this warning, and we've previously reported
On 05/24/2012 09:37 PM, Alex Jia wrote: that it is harmless. It just appears more frequently now that we use libvirt in more places.
Eric, got it and thanks. Alex

On Thu, May 24, 2012 at 09:52:11PM -0600, Eric Blake wrote:
On 05/24/2012 09:37 PM, Alex Jia wrote:
Hello Eric, I met some compiling warning, I'm not sure whether my environment is dirty, please help confirm them:
*** Warning: Linking the executable qemuxml2argvtest against the loadable module *** libvirt_driver_qemu.so is not portable!
You've previously reported this warning, and we've previously reported that it is harmless. It just appears more frequently now that we use libvirt in more places.
It is rather annoying and I wish there was a way to fix it, which did not involve having to compile everything twice :-( 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 :|

On 05/24/2012 09:52 PM, Eric Blake wrote:
On 05/24/2012 09:37 PM, Alex Jia wrote:
Hello Eric, I met some compiling warning, I'm not sure whether my environment is dirty, please help confirm them:
*** Warning: Linking the executable qemuxml2argvtest against the loadable module *** libvirt_driver_qemu.so is not portable!
You've previously reported this warning, and we've previously reported that it is harmless. It just appears more frequently now that we use libvirt in more places.
Actually, this is a slightly different warning than the one I was thinking of: CCLD libvirt_driver_qemu.la *** Warning: Linking the shared library libvirt_driver_qemu.la against the non-libtool *** objects libvirt_qemu_probes.o is not portable! And I think I just figured out how to silence that one (but not the 'linking against .so' one); patch coming up. -- Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
participants (3)
-
Alex Jia
-
Daniel P. Berrange
-
Eric Blake