qemu-kvm 0.12.1 undefined reference to `kvm_save_mpstate'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Just downloaded kvm 0.12.1 and used Fedora's qemu.spec file after
removing all patches from the spec file to create packages.

Compilation failed at compiling i386-softmmu with errors:


rm -f libqemu.a && ar rcs libqemu.a exec.o cpu-exec.o translate-all.o translate.o tcg/tcg.o fpu/softfloat-native.o op_helper.o helper.o disas.o i386-dis.o
gcc -I/home/users/build/rpmbuild/BUILD/qemu-kvm-0.12.1/slirp -m32 -Wold-style-definition -Wold-style-declaration -I. -I/home/users/build/rpmbuild/BUILD/qemu-kvm-0.12.1 -U_FORTIFY_SOURCE -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wendif-labels -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -O2 -g -march=i386 -mtune=i686  -DHAS_AUDIO -DHAS_AUDIO_CHOICE -I/home/users/build/rpmbuild/BUILD/qemu-kvm-0.12.1/fpu -I/home/users/build/rpmbuild/BUILD/qemu-kvm-0.12.1/tcg -I/home/users/build/rpmbuild/BUILD/qemu-kvm-0.12.1/tcg/i386  -I.. -I/home/users/build/rpmbuild/BUILD/qemu-kvm-0.12.1/target-i386 -DNEED_CPU_H   -O2 -g   -Wl,--warn-common -m32 -g -Wl,--build-id   -o qemu vl.o async.o monitor.o pci.o pci_host.o pcie_host.o machine.o gdbstub.o virtio-blk.o virtio-balloon.o virtio-net.o virtio-console.o virtio-pci.o msix.o eepro100.o pcnet.o rtl8139.o e1000.o ide/core.o ide/qdev.o ide/isa.o ide/pci.o ide/piix.o pckbd.o  sb16.o es1370.o ac97.o dma.o vga.o vga-pci.o vga-isa.o fdc.o mc146818rtc.o serial.o i8259.o i8254.o pcspk.o pc.o cirrus_vga.o apic.o ioapic.o parallel.o acpi.o piix_pci.o usb-uhci.o vmmouse.o vmport.o vmware_vga.o hpet.o device-hotplug.o pci-hotplug.o smbios.o wdt_ib700.o extboot.o ne2000-isa.o testdev.o -Wl,--whole-archive ../libqemu_common.a libqemu.a ../libhw32/libqemuhw32.a -Wl,--no-whole-archive -lrt -lpthread  -lutil -lpci -lz -lncurses  -lasound -lpulse -lpulse-simple -lsasl2 -lgnutls   -lSDL -lpthread -lX11  -lm -lz
monitor.o: In function `mon_get_cpu':
/home/users/build/rpmbuild/BUILD/qemu-kvm-0.12.1/monitor.c:680: undefined reference to `kvm_save_mpstate'
monitor.o: In function `do_info_cpus':
/home/users/build/rpmbuild/BUILD/qemu-kvm-0.12.1/monitor.c:783: undefined reference to `kvm_save_mpstate'
machine.o: In function `cpu_pre_save':
/home/users/build/rpmbuild/BUILD/qemu-kvm-0.12.1/target-i386/machine.c:326: undefined reference to `kvm_save_mpstate'
collect2: ld returned 1 exit status
make[1]: *** [qemu] Error 1
make[1]: Leaving directory `/home/users/build/rpmbuild/BUILD/qemu-kvm-0.12.1/i386-softmmu'
make: *** [subdir-i386-softmmu] Error 2


I've uploaded src.rpm package and the log here:

	http://www3.kucharski.name/pub/fedora/kvm/SRPMS/


I'm trying to test newest version of qemu-kvm against RedHat's bz
#508801 so I want to keep changes to the qemu.spec file to the minimum.


Does anyone know how to resolve this compilation error?


References
 1. http://cvs.fedoraproject.org/viewvc/rpms/qemu/devel/
 2. https://bugzilla.redhat.com/show_bug.cgi?id=508801

-- 
best regards
q#
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux