Re: [libvirt] Compilation Errors

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

 



On Mon, Feb 16, 2009 at 11:24:19AM +0100, Jim Meyering wrote:
> Russell <russellhaering@xxxxxxxxx> wrote:
> > I'm trying to compile libvirt 0.6.0 on Gentoo, but keep encountering
> > the following error:
> >
> > network_driver.c:72: error: expected specifier-qualifier-list before 'brControl'
> ...
> > make: *** [all] Error 2
> >
> > Every error following the first one refers to networkConfigDir,
> > networkAutostartDir, or logDir, all listed after brControl in the
> > definition of network_driver.
> >
> > What looks to me like the same error has been reported against 0.5.1
> > here (I haven't tried it myself):
> > http://bugs.gentoo.org/show_bug.cgi?id=254568
> >
> > My configuration options:
> > ./configure --prefix=/usr --host=i686-pc-linux-gnu
> > --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share
> > --sysconfdir=/etc --localstatedir=/var/lib --with-avahi
> > --without-storage-iscsi --without-storage-lvm --without-lxc --with-hal
> > --without-openvz --without-storage-disk --without-sasl
> > --without-selinux --without-uml --without-xen --without-qemu
> > --without-devkit --without-polkit --with-remote
> > --disable-iptables-lokkit --localstatedir=/var
> > --with-remote-pid-file=/var/run/libvirtd.pid --build=i686-pc-linux-gnu
> >
> > If other info would help resolve this I'd be happy to try and provide it.
> 
> You're compiling with neither LXC nor QEMU, and that turns off WITH_BRIDGE,
> yet parts of network_driver.c assume bridge-related functions are defined.
> 
> If really you want neither LXC nor QEMU, then maybe you also want
> --without-network?
> 
> I've confirmed that when configured with that additional option
> it does build.
> 
> If being able to build --without-lxc --without-qemu --with-network
> is important, (even if just to forestall bug reports like this one ;-)
> then we'll make it work.

Yes, we need to make that work. The 'network' driver should be usable
by any of the hypervisor drivers. So we'll need to make WITH_BRIDGE
conditional also turned on when network is enabled.

Regards,
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@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]