* current kvm userspace git doesn't compile on i386
@ 2008-01-12 21:04 Christoph Hellwig
[not found] ` <20080112210406.GA4778-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Christoph Hellwig @ 2008-01-12 21:04 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
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
-------------------------------------------------------------------------
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
^ permalink raw reply [flat|nested] 5+ messages in thread[parent not found: <20080112210406.GA4778-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>]
* Re: current kvm userspace git doesn't compile on i386 [not found] ` <20080112210406.GA4778-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org> @ 2008-01-13 11:37 ` Uri Lublin [not found] ` <4789F7E7.6040002-atKUWr5tajBWk0Htik3J/w@public.gmane.org> 0 siblings, 1 reply; 5+ messages in thread From: Uri Lublin @ 2008-01-13 11:37 UTC (permalink / raw) To: Christoph Hellwig; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <4789F7E7.6040002-atKUWr5tajBWk0Htik3J/w@public.gmane.org>]
* Re: current kvm userspace git doesn't compile on i386 [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 17:12 ` Christoph Hellwig 1 sibling, 1 reply; 5+ messages in thread From: Christoph Hellwig @ 2008-01-13 17:55 UTC (permalink / raw) To: Uri Lublin; +Cc: Christoph Hellwig, kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On Sun, Jan 13, 2008 at 01:37:11PM +0200, Uri Lublin wrote: > 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. This doesn't work with rsync complaining. But I don't really want new kernel code anyway, and I would be very surprised if building a different kernel would fix a userspace link error given the obvious boundary between kernel and userspace code. ------------------------------------------------------------------------- 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <20080113175523.GA18923-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org>]
* Re: current kvm userspace git doesn't compile on i386 [not found] ` <20080113175523.GA18923-wEGCiKHe2LqWVfeAwA7xHQ@public.gmane.org> @ 2008-01-15 11:42 ` Uri Lublin 0 siblings, 0 replies; 5+ messages in thread From: Uri Lublin @ 2008-01-15 11:42 UTC (permalink / raw) To: Christoph Hellwig; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Christoph Hellwig wrote: > On Sun, Jan 13, 2008 at 01:37:11PM +0200, Uri Lublin wrote: > >> 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. >> > > This doesn't work with rsync complaining. But I don't really want new > kernel code anyway, and I would be very surprised if building a > different kernel would fix a userspace link error given the obvious > boundary between kernel and userspace code. > I'm not suggesting to build the whole kernel, just the kvm-modules (instead of using the kvm-modules that came with linux). It seems that your current kvm modules know nothing about vapic, while your kvm-userspace assumes they do. ------------------------------------------------------------------------- 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: current kvm userspace git doesn't compile on i386 [not found] ` <4789F7E7.6040002-atKUWr5tajBWk0Htik3J/w@public.gmane.org> 2008-01-13 17:55 ` Christoph Hellwig @ 2008-01-15 17:12 ` Christoph Hellwig 1 sibling, 0 replies; 5+ messages in thread From: Christoph Hellwig @ 2008-01-15 17:12 UTC (permalink / raw) To: Uri Lublin; +Cc: Christoph Hellwig, kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On Sun, Jan 13, 2008 at 01:37:11PM +0200, Uri Lublin wrote: > 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. A ./configure --prefix=/opt/kvm --kerneldir=/home/hch/work/linux-2.6-xfs gives the same error as in my first post. Your suggestion (./configure --prefix=/opt/kvm --qemu-cc=/usr/bin/gcc-3.4; make -C kernel/ LINUX=/home/hch/work/linux-2.6-xfs) gives the following: make[4]: *** No rule to make target `/home/hch/work/kvm-userspace/kernel/svm.o', needed by `/home/hch/work/kvm-userspace/kernel/kvm.o'. Stop. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-01-15 17:12 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
[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
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox