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

Farkas Levente
2008-06-27T13:03:38Z

anyone like to fix it?

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:
> ---------------------------------------------------
> make KDIR=/usr/src/kernels/2.6.18-92.1.1.el5-x86_64
> make -C /usr/src/kernels/2.6.18-92.1.1.el5-x86_64 M=`pwd` \
> LINUXINCLUDE="-I`pwd`/include -Iinclude -I`pwd`/include-compat \
> -include include/linux/autoconf.h \
> -include `pwd`/external-module-compat.h"
> make[1]: Entering directory `/usr/src/kernels/2.6.18-92.1.1.el5-x86_64'
> LD /home/robot/rpm/BUILD/kvm-kmod-70/_kmod_build_/kernel/built-in.o
> CC [M] /home/robot/rpm/BUILD/kvm-kmod-70/_kmod_build_/kernel/svm.o
> In file included from <command line>:2:
> /home/robot/rpm/BUILD/kvm-kmod-70/_kmod_build_/kernel/external-module-compat.h:351:
>
> error: redefinition of typedef 'bool'
> include/linux/types.h:36: error: previous declaration of 'bool' was here
> make[2]: ***
> [/home/robot/rpm/BUILD/kvm-kmod-70/_kmod_build_/kernel/svm.o] Error 1
> make[1]: ***
> [_module_/home/robot/rpm/BUILD/kvm-kmod-70/_kmod_build_/kernel] Error 2
> make[1]: Leaving directory `/usr/src/kernels/2.6.18-92.1.1.el5-x86_64'
> make: *** [all] Error 2
> ---------------------------------------------------
> yours.
>

--
Levente "Si vis pacem para bellum!"