build error

Zhao, Yunfeng
2007-10-18T02:07:26Z

I meet compile error when build kvm against latest kvm commits.

/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071018020114360/kvm-use
rspace/BUILD/kernel/ioapic.o
CC [M]
/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071018020114360/kvm-use
rspace/BUILD/kernel/preempt.o
/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071018020114360/kvm-use
rspace/BUILD/kernel/x86_emulate.c: In function 'x86_emulate_insn':
/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071018020114360/kvm-use
rspace/BUILD/kernel/x86_emulate.c:1480: error: 'EFLG_IF' undeclared
(first use in this function)
/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071018020114360/kvm-use
rspace/BUILD/kernel/x86_emulate.c:1480: error: (Each undeclared
identifier is reported only once
/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071018020114360/kvm-use
rspace/BUILD/kernel/x86_emulate.c:1480: error: for each function it
appears in.)
make[3]: ***
[/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071018020114360/kvm-us
erspace/BUILD/kernel/x86_emulate.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: ***
[_module_/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-2007101802011436
0/kvm-userspace/BUILD/kernel] Error 2
make[2]: Leaving directory
`/usr/src/redhat/BUILD/kernel-2.6.22rc4g85f6038f'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/workspace/ia32e/nightly/kvm-master-2.6.22-rc4-20071018020114360/kvm-us
erspace/BUILD/kernel'
error: Bad exit status from /var/tmp/rpm-tmp.39514 (%build)

Anyone can help fix it?

Thanks
Yunfeng