Skip to contentSkip to conversation

"undefined reference to `kvm_save_mpstate'" since qemu-kvm-0.12.0-rc2 with all *-softmmu targets except i386 and x86_64

DISCUSSION Thomas Sachau 1 participant 1 message Dec 21, 2009 KVM

lore
Share & tools
lore
#0 lore raw

Hi,

when i try to build qemu-kvm, qemu-kvm-0.11.1 did compile fine. But with qemu-kvm-0.12.0-rc2 and qemu-kvm-0.12.1, i get the following output for all $ARCH-softmmu targets except i386-softmmu and x86_64-softmmu targets (example output for arm-softmmu):

  CC    arm-softmmu/disas.o
  CC    arm-softmmu/arm-dis.o
  CC    arm-softmmu/i386-dis.o
  AR    arm-softmmu/libqemu.a
  LINK  arm-softmmu/qemu-system-arm

monitor.o: In function `mon_get_cpu':
/var/tmp/portage/app-emulation/qemu-kvm-0.12.0_rc2/work/qemu-kvm-0.12.0-rc2/monitor.c:675: undefined reference to `kvm_save_mpstate'
monitor.o: In function `do_info_cpus':
/var/tmp/portage/app-emulation/qemu-kvm-0.12.0_rc2/work/qemu-kvm-0.12.0-rc2/monitor.c:778: undefined reference to `kvm_save_mpstate'
collect2: ld returned 1 exit status
make[1]: *** [qemu-system-arm] Error 1
make: *** [subdir-arm-softmmu] Error 2

qemu-0.12-0-rc2 on the other hand did build fine for me, so it seems to be some qemu-kvm specific change, which created this error.

Please CC me on response since i am not subscribed to this list.

Signature · 3 lines
Thomas Sachau

Gentoo Linux Developer