At 10/18/2011 10:46 AM, Xu He Jie Write: > 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; The function is sorted by alphanumeric. > pciDeviceNetName; > pciDeviceReAttachInit; > pciDeviceSetManaged; Ack with the nit fixed. Thanks Wen Congyang -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list