On 8/25/07, Mark Bidewell <[EMAIL PROTECTED]> wrote:
> When building kvm-36 with the latest Fedora kernel I get the error:
>
> kvmctl.c: In function 'kvm_run':
> kvmctl.c:1046: error: 'KVM_EXIT_SET_TPR' undeclared (first use in this
> function)
> kvmctl.c:1046: error: (Each undeclared identifier is reported only once
> kvmctl.c:1046: error: for each function it appears in.)
> make[1]: *** [kvmctl.o] Error 1
> make[1]: Leaving directory `/opt/kvm-36/user'
> make: *** [user] Error 2
>
> on lines:
>
> 1046                 case KVM_EXIT_SET_TPR:
> 1047                         break;
>
> Commenting this lines out allows KVM to compile.  kvm-35 compiles on the
> latest with no error.

Hum, the package sould be using its own headers since the local
include directory comes before the kernel's one.
Can you run "make kernel V=1" (on a clean source) and post the result?

> Am I losing anything important by commenting them out?

You can workaround by adding:
#define KVM_EXIT_SET_TPR 11

Luca

-------------------------------------------------------------------------
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
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to