All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cam Macdonell <cam-edFDblaTWIyXbbII50Afww@public.gmane.org>
To: kvm-devel <kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: compile error related to irq/lapic with kvm-49
Date: Tue, 30 Oct 2007 11:09:20 -0600	[thread overview]
Message-ID: <47276540.6030802@cs.ualberta.ca> (raw)


Hi,

I'm getting some links error with kvm-49

gcc34  -L 
/usr/brule7/cshome/cam/research/KVM-test/kvm-userspace/qemu/../libkvm 
-g -o qemu-system-x86_64 vl.o osdep.o readline.o monitor.o pci.o 
console.o loader.o isa_mmio.o cutils.o migration.o block.o block-raw.o 
block-cow.o block-qcow.o aes.o block-vmdk.o block-cloop.o block-dmg.o 
block-bochs.o block-vpc.o block-vvfat.o block-qcow2.o block-parallels.o 
irq.o i2c.o smbus.o scsi-disk.o cdrom.o lsi53c895a.o usb.o usb-hub.o 
usb-linux.o usb-hid.o usb-ohci.o usb-msd.o usb-wacom.o eeprom93xx.o 
eepro100.o ne2000.o pcnet.o rtl8139.o hypercall.o ide.o pckbd.o ps2.o 
vga.o sb16.o es1370.o dma.o audio.o noaudio.o wavaudio.o mixeng.o 
sdlaudio.o ossaudio.o wavcapture.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 smbus_eeprom.o vmmouse.o vmport.o vmware_vga.o gdbstub.o 
sdl.o x_keymap.o vnc.o d3des.o slirp/cksum.o slirp/if.o slirp/ip_icmp.o 
slirp/ip_input.o slirp/ip_output.o slirp/slirp.o slirp/mbuf.o 
slirp/misc.o slirp/sbuf.o slirp/socket.o slirp/tcp_input.o 
slirp/tcp_output.o slirp/tcp_subr.o slirp/tcp_timer.o slirp/udp.o 
slirp/bootp.o slirp/debug.o slirp/tftp.o libqemu.a 
/usr/brule7/cshome/cam/research/KVM-test/kvm-userspace/qemu/../libkvm/libkvm.a 
  -lm -lz -lkvm -L/usr/lib64 -lSDL -lpthread  -lrt -lutil
i8259.o: In function `kvm_kernel_pic_save_to_user':
/usr/brule7/cshome/cam/research/KVM-test/kvm-userspace/qemu/hw/i8259.c:488: 
undefined reference to `kvm_get_irqchip'
i8259.o: In function `kvm_kernel_pic_load_from_user':
/usr/brule7/cshome/cam/research/KVM-test/kvm-userspace/qemu/hw/i8259.c:538: 
undefined reference to `kvm_set_irqchip'
apic.o: In function `kvm_kernel_lapic_save_to_user':
/usr/brule7/cshome/cam/research/KVM-test/kvm-userspace/qemu/hw/apic.c:775: 
undefined reference to `kvm_get_lapic'
apic.o: In function `kvm_kernel_lapic_load_from_user':
/usr/brule7/cshome/cam/research/KVM-test/kvm-userspace/qemu/hw/apic.c:828: 
undefined reference to `kvm_set_lapic'
apic.o: In function `kvm_kernel_ioapic_save_to_user':
/usr/brule7/cshome/cam/research/KVM-test/kvm-userspace/qemu/hw/apic.c:1134: 
undefined reference to `kvm_get_irqchip'
apic.o: In function `kvm_kernel_ioapic_load_from_user':
/usr/brule7/cshome/cam/research/KVM-test/kvm-userspace/qemu/hw/apic.c:1161: 
undefined reference to `kvm_set_irqchip'
libqemu.a(qemu-kvm.o): In function `kvm_set_irq':
/usr/brule7/cshome/cam/research/KVM-test/kvm-userspace/qemu/qemu-kvm.c:1297: 
undefined reference to `kvm_set_irq_level'
collect2: ld returned 1 exit status


It seems these functions used to be in kvmctl.c (in kvm-48 I think?) and 
now that they are moved to libkvm in the more recent version, they are 
not being built compiled.  Is there some configure options I need to set 
to get these built in?

Thanks,
Cam

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

                 reply	other threads:[~2007-10-30 17:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=47276540.6030802@cs.ualberta.ca \
    --to=cam-edfdblatwiyxbbii50afww@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.