Avi Kivity wrote: > Jan Kiszka wrote: >> I'm getting closer to a working qemu-kvm, but there are still a few >> messy parts. The magic dance goes like this: >> > > Try a fresh fetch. ./configure && make ought to work. > It's different, but not yet better: ... CC x86_64-softmmu/extboot.o CC x86_64-softmmu/i8254-kvm.o /data/qemu-kvm/hw/i8254-kvm.c: In function ‘kvm_pit_save’: /data/qemu-kvm/hw/i8254-kvm.c:36: error: storage size of ‘pit’ isn’t known /data/qemu-kvm/hw/i8254-kvm.c:41: warning: implicit declaration of function ‘kvm_get_pit’ /data/qemu-kvm/hw/i8254-kvm.c:46: error: dereferencing pointer to incomplete type ... with more verbosity: # make V=1 make -C x86_64-softmmu V="1" TARGET_DIR="x86_64-softmmu/" all make[1]: Entering directory `/data/qemu-kvm/x86_64-softmmu' gcc -I. -I.. -I/data/qemu-kvm/target-i386 -I/data/qemu-kvm -MMD -MT i8254-kvm.o -MP -DNEED_CPU_H -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__user= -I/data/qemu-kvm/tcg -I/data/qemu-kvm/tcg/x86_64 -I/data/qemu-kvm/fpu -DHAS_AUDIO -DHAS_AUDIO_CHOICE -I/data/qemu-kvm/slirp -O2 -g -fno-strict-aliasing -Wall -Wundef -Wendif-labels -Wwrite-strings -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -I/data/qemu-kvm/kvm/libkvm -m64 -c -o i8254-kvm.o /data/qemu-kvm/hw/i8254-kvm.c /data/qemu-kvm/hw/i8254-kvm.c: In function ‘kvm_pit_save’: /data/qemu-kvm/hw/i8254-kvm.c:36: error: storage size of ‘pit’ isn’t known /data/qemu-kvm/hw/i8254-kvm.c:41: warning: implicit declaration of function ‘kvm_get_pit’ /data/qemu-kvm/hw/i8254-kvm.c:46: error: dereferencing pointer to incomplete type I bet it still picks up the host's kernel headers instead of the included ones... (you know, my host is oooold :) ) Jan
Attachment:
signature.asc
Description: OpenPGP digital signature