Hi Alex, well, I see, I based my rpm on latest fedora spec and it builds all targets by default. But using just plain configure doesn't help either, as others already reported in the meantime, seems like (default) x86_64-softmmu target is broken as well: gcc -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/slirp -m64 -Wold-style-definition -I. -I/usr/src/redhat/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 -pipe -Wall -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DHAS_AUDIO -DHAS_AUDIO_CHOICE -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/fpu -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/tcg -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/tcg/x86_64 -I.. -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/target-i386 -DNEED_CPU_H -O2 -g -Wl,--warn-common -m64 -g -o qemu-system-x86_64 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 ../libhw64/libqemuhw64.a -Wl,--no-whole-archive -lrt -lpthread -lutil -lpci -lz -lbluetooth -L/usr/kerberos/lib64 -lcurl -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lidn -lssl -lcrypto -lz -lncurses -lasound -luuid -lsasl2 -lgnutls -L/usr/lib64 -lSDL -lpthread -lX11 -lm -lz monitor.o: In function `mon_get_cpu': /usr/src/redhat/BUILD/qemu-kvm-0.12.1/monitor.c:680: undefined reference to `kvm_save_mpstate' monitor.o: In function `do_info_cpus': /usr/src/redhat/BUILD/qemu-kvm-0.12.1/monitor.c:783: undefined reference to `kvm_save_mpstate' machine.o: In function `cpu_pre_save': /usr/src/redhat/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-system-x86_64] Error 1 make[1]: Leaving directory `/home/src/redhat/BUILD/qemu-kvm-0.12.1/x86_64-softmmu' make: *** [subdir-x86_64-softmmu] Error 2 On Sun, Dec 20, 2009 at 11:06:53PM +0100, Alexander Graf wrote: > > On 20.12.2009, at 17:57, Nikola Ciprich wrote: > > > Hi Avi, > > I just tried compiling and the same problem I've reported minutes ago: > > gcc -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/slirp -m64 -Wold-style-definition -I. -I/usr/src/redhat/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 -pipe -Wall -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -DHAS_AUDIO -DHAS_AUDIO_CHOICE -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/fpu -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/tcg -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/tcg/x86_64 -I.. -I/usr/src/redhat/BUILD/qemu-kvm-0.12.1/target-mips > > You really shouldn't be building qemu-kvm with the mips target :-). > > ./configure without parameters should give you a sane target list, please use that one. > > Alex-- > 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 > -- ------------------------------------- Ing. Nikola CIPRICH LinuxBox.cz, s.r.o. 28. rijna 168, 709 01 Ostrava tel.: +420 596 603 142 fax: +420 596 621 273 mobil: +420 777 093 799 www.linuxbox.cz mobil servis: +420 737 238 656 email servis: servis@xxxxxxxxxxx ------------------------------------- -- 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