kvm-87 fails to compile under uClibc

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

 



Hi there,

I'm trying to compile kvm using uClibc instead of glibc.

Besides the fact that kvm needs "--extra-ldflags=-lrt" (otherwise there
are some missing symbols), there's an error caused by another missing
symbol that I was unable to fix yet. It's about ioperm, and this is the
error I get:

/home/cristi/devel/avatt/buildroot/build_i586/staging_dir/usr/bin/i586-linux-uclibc-gcc -lrt -g -Wl,--warn-common  -m32 -o qemu-system-x86_64 vl.o osdep.o monitor.o pci.o loader.o isa_mmio.o machine.o gdbstub.o gdbstub-xml.o virtio-blk.o virtio-balloon.o virtio-net.o virtio-console.o usb-ohci.o eepro100.o ne2000.o pcnet.o rtl8139.o e1000.o wdt_ib700.o wdt_i6300esb.o ide.o pckbd.o vga.o sb16.o es1370.o ac97.o dma.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 extboot.o i8254-kvm.o -Wl,--whole-archive ../libqemu_common.a libqemu.a ../libhw64/libqemuhw64.a  -Wl,--no-whole-archive  -lm -lz  -lpthread  -lutil   -lcurses   
libqemu.a(qemu-kvm-x86.o): In function `kvm_arch_do_ioperm':
/home/cristi/devel/avatt/buildroot/build_i586/kvm-87/qemu-kvm-x86.c:1538: undefined reference to `ioperm'
collect2: ld returned 1 exit status
make[3]: *** [qemu-system-x86_64] Error 1
make[3]: Leaving directory
`/home/cristi/devel/avatt/buildroot/build_i586/kvm-87/x86_64-softmmu'

I'm using linux-2.6.26.8, uClibc-HEAD(linuxthreds, almost complete
setup) and gcc 4.3.3.

Also, is this kernel version supposed to work with this kvm?

Thanks,
Cristi

-- 
Ing. Cristi Măgherușan, System/Network Engineer
Technical University of Cluj-Napoca, Romania
http://cc.utcluj.ro  +40264 401247

Attachment: signature.asc
Description: This is a digitally signed message part


[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