Re: another kvm-70 compile bug with rhel/centos 5.2

Farkas Levente
2008-06-29T17:24:44Z

Avi Kivity wrote:
> Farkas Levente wrote:
>> hi,
>> i'm just try to recompile kvm-70 with the latest centos-5.2 (aka
>> rhel-5.2) kernel, but i've got a new compile error:
>
>> error: redefinition of typedef 'bool'
>
> Please try the attached patch, and let me know if it helps.
>

FYI:
/lib/modules/2.6.18-92.1.6.el5/build/include/linux/version.h:
-------------------------------
#define LINUX_VERSION_CODE 132626
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
#define RHEL_MAJOR 5
#define RHEL_MINOR 2
#define RHEL_RELEASE_CODE 1282
#define RHEL_RELEASE_VERSION(a,b) (((a) << 8) + (b))
-------------------------------

--
Levente "Si vis pacem para bellum!"