On Fri, Jun 05, 2009 at 02:41:25PM +0000, Fischer, Anna wrote:
> > Subject: Re: [libvirt] Problem compiling latest code from libvirt CVS
> > 
> > On Fri, Jun 05, 2009 at 01:01:59PM +0000, Fischer, Anna wrote:
> > > 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
> > 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.

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|

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

Reply via email to