My current patched kernel is 2.6.25-rc9:

CONFIG_HAVE_KVM=y
CONFIG_KVM=m
CONFIG_KVM_INTEL=m
CONFIG_KVM_AMD=m

and then while compiling kvm-66:

/root/download/kvm/kvm-66>./configure --disable-gcc-check
--prefix=/usr/local/kvm --with-patched-kernel

make[1]: Entering directory `/mnt/sdc2/download/kvm/kvm-66/user'
gcc  -m32 -D__i386__ -I /mnt/sdc2/download/linux-2.6_latest/include
-O1 -MMD -MF ./.main.d -g -fomit-frame-pointer -Wall
-fno-stack-protector   -I ../libkvm   -c -o main.o main.c
gcc  -m32 -D__i386__ -I /mnt/sdc2/download/linux-2.6_latest/include
-O1 -MMD -MF ./.iotable.d -g -fomit-frame-pointer -Wall
-fno-stack-protector   -I ../libkvm   -c -o iotable.o iotable.c
gcc  -m32 -D__i386__ -I /mnt/sdc2/download/linux-2.6_latest/include
-O1 -MMD -MF ..d -g -fomit-frame-pointer -Wall  -fno-stack-protector
-I ../libkvm -L ../libkvm -pthread -lrt main.o iotable.o
../libkvm/libkvm.a -o kvmctl
gcc  -m32 -D__i386__ -I /mnt/sdc2/download/linux-2.6_latest/include
-O1 -MMD -MF ./.kvmtrace.d -g -fomit-frame-pointer -Wall
-fno-stack-protector   -I ../libkvm   -c -o kvmtrace.o kvmtrace.c
kvmtrace.c: In function 'handle_sigint':
kvmtrace.c:174: error: 'KVM_TRACE_PAUSE' undeclared (first use in this function)
kvmtrace.c:174: error: (Each undeclared identifier is reported only once
kvmtrace.c:174: error: for each function it appears in.)
kvmtrace.c: In function 'start_trace':
kvmtrace.c:465: error: storage size of 'kuts' isn't known
kvmtrace.c:477: error: 'KVM_TRACE_ENABLE' undeclared (first use in
this function)
kvmtrace.c:465: warning: unused variable 'kuts'
kvmtrace.c: In function 'cleanup_trace':
kvmtrace.c:496: error: 'KVM_TRACE_DISABLE' undeclared (first use in
this function)
make[1]: *** [kvmtrace.o] Error 1
make[1]: Leaving directory `/mnt/sdc2/download/kvm/kvm-66/user'

Any ideas?

-- 
Regards,
Peter Teoh

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to