Re: build error

Avi Kivity
2007-07-31T06:59:16Z

Zhao, Yunfeng wrote:
>
> 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
>

External module support got temporarily broken on 2.6.23-rc1 and
previous kernels due to the use of the new preempt notifiers core
functionality. I am working on emulating it for older kernels, but it
may take a bit (I have a patch but it doesn't work well at the moment).

Note that in any case, external modules can be slower than a native
build (i.e. build the kernel using kvm.git) as some pieces of core
functionality need to be emulated.

--
error compiling committee.c: too many arguments to function

-------------------------------------------------------------------------
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/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net