Re: [ANNOUNCE] qemu-kvm-0.12.1

Avi Kivity
2009-12-21T12:19:19Z

On 12/21/2009 08:33 AM, Nikola Ciprich wrote:
> 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 virt
io-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 -lpt
hread -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 what host is this happening?

--
error compiling committee.c: too many arguments to function