[libvirt-users] compilation error

antoni artigues tartigues at iac3.eu
Wed Jan 26 10:57:22 UTC 2011


I'm trying to compile libvirt-0.8.6 on RHEL4 with kernel 2.6.9-67

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?

Thanks in advance


Antoni Artigues

More information about the libvirt-users mailing list