From: Uri Lublin <uril-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
To: Christoph Hellwig <hch-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: current kvm userspace git doesn't compile on i386
Date: Sun, 13 Jan 2008 13:37:11 +0200 [thread overview]
Message-ID: <4789F7E7.6040002@qumranet.com> (raw)
In-Reply-To: <20080112210406.GA4778-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
Christoph Hellwig wrote:
> Current kvm userspace git configured with ./configure --prefix=/opt/kvm --with-patched-kernel --qemu-cc=/usr/bin/gcc-3.4 gives:
>
> /usr/bin/gcc-3.4 -L /home/hch/work/kvm-userspace/qemu/../libkvm -g -o qemu-system-x86_64 vl.o osdep.o monitor.o pci.o loader.o isa_mmio.o migration.o block-raw-posix.o lsi53c895a.o usb-ohci.o eeprom93xx.o eepro100.o ne2000.o pcnet.o rtl8139.o hypercall.o virtio.o virtio-net.o virtio-blk.o ide.o pckbd.o ps2.o vga.o sb16.o es1370.o dma.o fdc.o mc146818rtc.o serial.o i8259.o i8254.o pcspk.o pc.o cirrus_vga.o apic.o parallel.o acpi.o piix_pci.o usb-uhci.o vmmouse.o vmport.o vmware_vga.o extboot.o gdbstub.o ../libqemu_common.a libqemu.a /home/hch/work/kvm-userspace/qemu/../libkvm/libkvm.a -lm -lz -lkvm -lgnutls -L/usr/lib -lSDL -lrt -lpthread -lutil
> libqemu.a(kvm-tpr-opt.o): In function `enable_vapic':
> /home/hch/work/kvm-userspace/qemu/kvm-tpr-opt.c:221: undefined reference to `kvm_enable_vapic'
> libqemu.a(kvm-tpr-opt.o): In function `kvm_tpr_opt_setup':
> /home/hch/work/kvm-userspace/qemu/kvm-tpr-opt.c:287: undefined reference to `kvm_enable_tpr_access_reporting'
> collect2: ld returned 1 exit status
> make[2]: *** [qemu-system-x86_64] Error 1
> make[2]: Leaving directory
> `/home/hch/work/kvm-userspace/qemu/x86_64-softmmu'
> make[1]: *** [subdir-x86_64-softmmu] Error 2
> make[1]: Leaving directory `/home/hch/work/kvm-userspace/qemu'
> make: *** [qemu] Error 2
>
Try to build the kernel modules too (remove '--with-patched-kernel' from
./configure arguments ):
./configure --prefix=/opt/kvm --qemu-cc=/usr/bin/gcc-3.4 ; make -C
kernel LINUX=<path-to-linux-git-tree> sync; make
You will have to rmmod current kvm modules and insmod the built modules
under <KVMDIR>/kernel.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
next prev parent reply other threads:[~2008-01-13 11:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-12 21:04 current kvm userspace git doesn't compile on i386 Christoph Hellwig
[not found] ` <20080112210406.GA4778-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2008-01-13 11:37 ` Uri Lublin [this message]
[not found] ` <4789F7E7.6040002-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2008-01-13 17:55 ` Christoph Hellwig
[not found] ` <20080113175523.GA18923-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
2008-01-15 11:42 ` Uri Lublin
2008-01-15 17:12 ` Christoph Hellwig
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=4789F7E7.6040002@qumranet.com \
--to=uril-atkuwr5tajbwk0htik3j/w@public.gmane.org \
--cc=hch-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.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