[libvirt-users] compilation error

Daniel Veillard veillard at redhat.com
Thu Jan 27 05:27:39 UTC 2011


On Wed, Jan 26, 2011 at 11:57:22AM +0100, antoni artigues wrote:
> Hello
> 
> I'm trying to compile libvirt-0.8.6 on RHEL4 with kernel 2.6.9-67

  Ouch, in general libvirt and virtualization was added only in RHEL-5
and while we are trying to make sure libvirt still compile on that
platform, we never made any attempt to support RHEL-4, simply because
there is also nothing to support (no xen, qemu ...)

> The make command returns:
> --------------------
> util/interface.c: In function `ifaceGetVlanID':
> util/interface.c:355: error: `GET_VLAN_VID_CMD' undeclared (first use in
> this function)
> util/interface.c:355: error: (Each undeclared identifier is reported
> only once
> util/interface.c:355: error: for each function it appears in.)
> make[3]: *** [libvirt_util_la-interface.lo] Error 1
> make[3]: Leaving directory `/root/InstalledPackages/libvirt-0.8.6/src'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/root/InstalledPackages/libvirt-0.8.6/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/InstalledPackages/libvirt-0.8.6'
> make: *** [all] Error 2
> --------------------
> 
> I have saw that GET_VLAN_VID_CMD should be in if_vlan.h file, but it is
> not present.
> 
> What do I have to update in my system to avoid this error?

  I still wonder about the usefulness of libvirt on RHEL-4 (except maybe
for the client library part). On my RHEL-4 box, GET_VLAN_VID_CMD is nowhere
to be found, I'm afraid that will be true for many other parts of libvirt
system support on a 2.6.9 linux kernel.

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/




More information about the libvirt-users mailing list