
Subject: Re: [libvirt] Problem compiling latest code from libvirt CVS
On Fri, Jun 05, 2009 at 02:41:25PM +0000, Fischer, Anna wrote:
Subject: Re: [libvirt] Problem compiling latest code from libvirt CVS
I am trying to build the latest libvirt checked out from CVS this morning, but I get an error message. I ran ./autostart, ./configure and
On Fri, Jun 05, 2009 at 01:01:59PM +0000, Fischer, Anna wrote: then make.
Any idea what the problem here could be?
../src/.libs/libvirt_driver_storage.a(storage_backend.o): In function `virStorageBackendWaitForDevices': /home/af/vepa/libvirt/libvirt/src/storage_backend.c:262: undefined reference to `virNodeDeviceWaitForDevices' collect2: ld returned 1 exit status make[3]: *** [libvirtd] Error 1
This error is from the storage driver attempting toi link to stuff in the node device driver.
I am running ./configure without any options. Here the output:
configure: configure: Storage Drivers configure: configure: Dir: yes configure: FS: yes configure: NetFS: yes configure: LVM: yes configure: iSCSI: yes configure: SCSI: yes configure: Disk: no
[snip]
configure: hal: no configure: devkit: no
which is failing because neither of the node device driver implementations are turned on.
This is a bug in the storage_backend.c file. This is a generic shared file and as such, it should not have any dependancy on the node device driver code, since the latter is guarenteed to be available.
Thanks for your help. What can I do to get around this? Enable hal or devkit? I think I tried that once but I am missing further packages for that to work. A different solution would be better. Cheers, Anna