public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Cristi Magherusan <Cristi.Magherusan@net.utcluj.ro>
To: uclibc <uclibc@uclibc.org>, kvm <kvm@vger.kernel.org>
Subject: kvm-87 fails to compile under uClibc
Date: Tue, 07 Jul 2009 05:42:46 +0300	[thread overview]
Message-ID: <1246934566.27337.65.camel@localhost.localdomain> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1758 bytes --]

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 #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 134 bytes --]

_______________________________________________
uClibc mailing list
uClibc@uclibc.org
http://lists.busybox.net/mailman/listinfo/uclibc

             reply	other threads:[~2009-07-07  2:42 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-07  2:42 Cristi Magherusan [this message]
2009-07-07  3:21 ` kvm-87 fails to compile under uClibc Mike Frysinger
2009-07-07  7:34   ` Bernhard Reutner-Fischer
2009-07-07 11:15     ` Cristi Magherusan
2009-07-07 14:33     ` Mike Frysinger
2009-07-07  9:12 ` Avi Kivity
2009-07-07 11:31   ` Cristi Magherusan
2009-07-07 11:43     ` Avi Kivity
2009-07-08 16:59       ` Cristi Magherusan
2009-07-08 17:07         ` Avi Kivity
2009-07-08 17:34           ` Cristi Magherusan
2009-07-09  8:20             ` Avi Kivity
2009-07-09 17:58               ` Cristi Magherusan
2009-07-07 14:34     ` Mike Frysinger
2009-07-07 15:31     ` Javier Guerra
2009-07-07 15:58       ` Cristi Magherusan
2009-07-08  6:13 ` Natanael Copa
2009-07-08  8:12   ` Cristi Magherusan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1246934566.27337.65.camel@localhost.localdomain \
    --to=cristi.magherusan@net.utcluj.ro \
    --cc=kvm@vger.kernel.org \
    --cc=uclibc@uclibc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox