build error

Zhao, Yunfeng
2007-07-31T02:16:15Z

[-- Attachment #1.1: Type: text/plain, Size: 1149 bytes --]

I met following compile errors while building latest kvm.

[root@kvm-build kvm-userspace]# make

make -C kernel

make[1]: Entering directory `/workspace/tmp/kvm-userspace/kernel'

make -C /lib/modules/2.6.22-rc4/build M=`pwd` "$@"

make[2]: Entering directory `/usr/src/redhat/BUILD/kernel-2.6.22rc4g85f6038f'

CC [M] /workspace/tmp/kvm-userspace/kernel/svm.o

In file included from /workspace/tmp/kvm-userspace/kernel/kvm_svm.h:10,

from /workspace/tmp/kvm-userspace/kernel/svm.c:17:

/workspace/tmp/kvm-userspace/kernel/kvm.h:302: error: field â€?preempt_notifier’ has incomplete type

make[3]: *** [/workspace/tmp/kvm-userspace/kernel/svm.o] Error 1

make[2]: *** [_module_/workspace/tmp/kvm-userspace/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/tmp/kvm-userspace/kernel'

make: *** [kernel] Error 2

The kernel commit: 68fa04ca20fb8cf79e171c37bffd74466f12ad2b

User space commit:: d9ff68d1414c64477a06bb9d35633f7c45d4942a

thanks

Yunfeng

[-- Attachment #1.2: Type: text/html, Size: 5947 bytes --]

[-- Attachment #2: Type: text/plain, Size: 315 bytes --]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

[-- Attachment #3: Type: text/plain, Size: 186 bytes --]

_______________________________________________
kvm-devel mailing list
kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org