From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cristi Magherusan Subject: kvm-87 fails to compile under uClibc Date: Tue, 07 Jul 2009 05:42:46 +0300 Message-ID: <1246934566.27337.65.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6911781102330470316==" To: uclibc , kvm Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: uclibc-bounces@uclibc.org Errors-To: uclibc-bounces@uclibc.org List-Id: kvm.vger.kernel.org --===============6911781102330470316== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-Xn0plIvtgBtYv9MyuyAn" --=-Xn0plIvtgBtYv9MyuyAn Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi there, I'm trying to compile kvm using uClibc instead of glibc. Besides the fact that kvm needs "--extra-ldflags=3D-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-linu= x-uclibc-gcc -lrt -g -Wl,--warn-common -m32 -o qemu-system-x86_64 vl.o osd= ep.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 eepr= o100.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 i82= 59.o i8254.o pcspk.o pc.o cirrus_vga.o apic.o ioapic.o parallel.o acpi.o pi= ix_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 ../libqem= u_common.a libqemu.a ../libhw64/libqemuhw64.a -Wl,--no-whole-archive -lm = -lz -lpthread -lutil -lcurses =20 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: u= ndefined 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 --=20 Ing. Cristi M=C4=83gheru=C8=99an, System/Network Engineer Technical University of Cluj-Napoca, Romania http://cc.utcluj.ro +40264 401247 --=-Xn0plIvtgBtYv9MyuyAn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkpStiYACgkQfwrBISYVZFUwvgCfaIJV6G4VSuHPbFQ78Hj9z4rr CNsAmQF3sd/XcHRK7bR7AXUjj460oqai =VqFg -----END PGP SIGNATURE----- --=-Xn0plIvtgBtYv9MyuyAn-- --===============6911781102330470316== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ uClibc mailing list uClibc@uclibc.org http://lists.busybox.net/mailman/listinfo/uclibc --===============6911781102330470316==--