Re: [PATCH] compile: Add a missing function 'pciDeviceListFind' to libvirt_private.syms

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

 



On 10/18/2011 10:46 AM, Xu He Jie wrote:
compile error:
../src/.libs/libvirt_driver_qemu.a(libvirt_driver_qemu_la-qemu_hostdev.o): In function `qemuPrepareHostdevPCIDevices':
/home/soulxu/data/work-code/libvirt/src/qemu/qemu_hostdev.c:183: undefined reference to `pciDeviceListFind'
/home/soulxu/data/work-code/libvirt/src/qemu/qemu_hostdev.c:230: undefined reference to `pciDeviceListFind'
../src/.libs/libvirt_driver_qemu.a(libvirt_driver_qemu_la-qemu_hostdev.o): In function `qemuGetActivePciHostDeviceList':
/home/soulxu/data/work-code/libvirt/src/qemu/qemu_hostdev.c:102: undefined reference to `pciDeviceListFind'
../src/.libs/libvirt_driver_qemu.a(libvirt_driver_qemu_la-qemu_hostdev.o): In function `qemuDomainReAttachHostdevDevices':
/home/soulxu/data/work-code/libvirt/src/qemu/qemu_hostdev.c:370: undefined reference to `pciDeviceListFind'

Signed-off-by: Xu He Jie<xuhj@xxxxxxxxxxxxxxxxxx>
---
  src/libvirt_private.syms |    1 +
  1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms
index 1e03e33..61f4dc4 100644
--- a/src/libvirt_private.syms
+++ b/src/libvirt_private.syms
@@ -892,6 +892,7 @@ pciDeviceListFree;
  pciDeviceListGet;
  pciDeviceListNew;
  pciDeviceListSteal;
+pciDeviceListFind;
  pciDeviceNetName;
  pciDeviceReAttachInit;
  pciDeviceSetManaged;

I have pushed with this:

diff --git a/src/libvirt_private.syms b/src/libvirt_private.syms
index 1e03e33..dedbd16 100644
--- a/src/libvirt_private.syms
+++ b/src/libvirt_private.syms
@@ -888,6 +888,7 @@ pciDeviceIsVirtualFunction;
 pciDeviceListAdd;
 pciDeviceListCount;
 pciDeviceListDel;
+pciDeviceListFind;
 pciDeviceListFree;
 pciDeviceListGet;
 pciDeviceListNew;

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