On 09/28/2011 02:02 AM, Daniel P. Berrange wrote:
>
> The kernel headers available on RHEL 5 or CentOS 5 lack this enum
> value, which causes compilation to fail if you are trying to build
> lxc support for these older systems.
This code shouldn't ever be being compiled on RHEL5, since it
does not
have any kernel container namespace support at all. So if we have a new
enough kernel for LXC, we should have LO_FLAGS_AUTOCLEAR
Which code - all of LXC, or just the code using LO_FLAGS_AUTOCLEAR (that
is, code related to lxc namespace support)? Because using just the
stock ./autogen.sh on RHEL 5 currently tries to build lxc, and because
LO_FLAGS_AUTOCLEAR is missing, it is failing to compile.
--
Eric Blake eblake(a)redhat.com +1-801-349-2682
Libvirt virtualization library
http://libvirt.org