All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] Latest version in Git doesn't link - any ideas?
@ 2010-08-11  9:29 Nigel Horne
  2010-08-14 21:35 ` [Qemu-devel] " Nigel Horne
  0 siblings, 1 reply; 5+ messages in thread
From: Nigel Horne @ 2010-08-11  9:29 UTC (permalink / raw)
  To: qemu-devel

make distclean
./configure --enable-linux-aio --enable-io-thread --enable-kvm
make
...
LINK  arm-softmmu/qemu-system-arm
ivshmem.o: In function `ivshmem_mmio_map':
ivshmem.c:(.text+0x80f): undefined reference to 
`kvm_set_ioeventfd_mmio_long'
ivshmem.o: In function `ivshmem_read':
ivshmem.c:(.text+0x9fc): undefined reference to 
`kvm_set_ioeventfd_mmio_long'
ivshmem.c:(.text+0xa6c): undefined reference to 
`kvm_set_ioeventfd_mmio_long'
collect2: ld returned 1 exit status
make[1]: *** [qemu-system-arm] Error 1
make: *** [subdir-arm-softmmu] Error 2

-Nigel

-- 
Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor, Typesetter.
NJH Music, ICQ#20252325, twitter: @nigelhorne
njh@bandsman.co.uk http://www.bandsman.co.uk

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Qemu-devel] Re: Latest version in Git doesn't link - any ideas?
  2010-08-11  9:29 [Qemu-devel] Latest version in Git doesn't link - any ideas? Nigel Horne
@ 2010-08-14 21:35 ` Nigel Horne
  2010-08-14 22:18   ` Stefan Weil
  0 siblings, 1 reply; 5+ messages in thread
From: Nigel Horne @ 2010-08-14 21:35 UTC (permalink / raw)
  To: qemu-devel

I've seen some activity in this area of late, but the code still fails 
to link.  Any clues anyone?
> make distclean
> ./configure --enable-linux-aio --enable-io-thread --enable-kvm
> make
> ...
> LINK  arm-softmmu/qemu-system-arm
> ivshmem.o: In function `ivshmem_mmio_map':
> ivshmem.c:(.text+0x80f): undefined reference to 
> `kvm_set_ioeventfd_mmio_long'
> ivshmem.o: In function `ivshmem_read':
> ivshmem.c:(.text+0x9fc): undefined reference to 
> `kvm_set_ioeventfd_mmio_long'
> ivshmem.c:(.text+0xa6c): undefined reference to 
> `kvm_set_ioeventfd_mmio_long'
> collect2: ld returned 1 exit status
> make[1]: *** [qemu-system-arm] Error 1
> make: *** [subdir-arm-softmmu] Error 2
>
> -Nigel
>


-- 
Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor, Typesetter.
NJH Music, ICQ#20252325, twitter: @nigelhorne
njh@bandsman.co.uk http://www.bandsman.co.uk

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] Re: Latest version in Git doesn't link - any ideas?
  2010-08-14 21:35 ` [Qemu-devel] " Nigel Horne
@ 2010-08-14 22:18   ` Stefan Weil
  2010-08-14 23:44     ` Cam Macdonell
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Weil @ 2010-08-14 22:18 UTC (permalink / raw)
  To: Nigel Horne, Andreas Färber; +Cc: qemu-devel

Am 14.08.2010 23:35, schrieb Nigel Horne:
> I've seen some activity in this area of late, but the code still fails 
> to link.  Any clues anyone?
>> make distclean
>> ./configure --enable-linux-aio --enable-io-thread --enable-kvm
>> make
>> ...
>> LINK  arm-softmmu/qemu-system-arm
>> ivshmem.o: In function `ivshmem_mmio_map':
>> ivshmem.c:(.text+0x80f): undefined reference to 
>> `kvm_set_ioeventfd_mmio_long'
>> ivshmem.o: In function `ivshmem_read':
>> ivshmem.c:(.text+0x9fc): undefined reference to 
>> `kvm_set_ioeventfd_mmio_long'
>> ivshmem.c:(.text+0xa6c): undefined reference to 
>> `kvm_set_ioeventfd_mmio_long'
>> collect2: ld returned 1 exit status
>> make[1]: *** [qemu-system-arm] Error 1
>> make: *** [subdir-arm-softmmu] Error 2
>>
>> -Nigel
>>
>
>

Try changing the entry for ivshmem.o (which is not needed for targets
without kvm) in Makefile.target like this:

obj-$(CONFIG_KVM) += ivshmem.o

Regards
Stefan

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] Re: Latest version in Git doesn't link - any ideas?
  2010-08-14 22:18   ` Stefan Weil
@ 2010-08-14 23:44     ` Cam Macdonell
  2010-08-15 17:57       ` Nigel Horne
  0 siblings, 1 reply; 5+ messages in thread
From: Cam Macdonell @ 2010-08-14 23:44 UTC (permalink / raw)
  To: Stefan Weil; +Cc: Nigel Horne, Andreas Färber, qemu-devel

Yup, it was my patch.  Sorry about that.  Patches are in the list,
just need to be merged.

Cam

On Sat, Aug 14, 2010 at 4:18 PM, Stefan Weil <weil@mail.berlios.de> wrote:
> Am 14.08.2010 23:35, schrieb Nigel Horne:
>>
>> I've seen some activity in this area of late, but the code still fails to
>> link.  Any clues anyone?
>>>
>>> make distclean
>>> ./configure --enable-linux-aio --enable-io-thread --enable-kvm
>>> make
>>> ...
>>> LINK  arm-softmmu/qemu-system-arm
>>> ivshmem.o: In function `ivshmem_mmio_map':
>>> ivshmem.c:(.text+0x80f): undefined reference to
>>> `kvm_set_ioeventfd_mmio_long'
>>> ivshmem.o: In function `ivshmem_read':
>>> ivshmem.c:(.text+0x9fc): undefined reference to
>>> `kvm_set_ioeventfd_mmio_long'
>>> ivshmem.c:(.text+0xa6c): undefined reference to
>>> `kvm_set_ioeventfd_mmio_long'
>>> collect2: ld returned 1 exit status
>>> make[1]: *** [qemu-system-arm] Error 1
>>> make: *** [subdir-arm-softmmu] Error 2
>>>
>>> -Nigel
>>>
>>
>>
>
> Try changing the entry for ivshmem.o (which is not needed for targets
> without kvm) in Makefile.target like this:
>
> obj-$(CONFIG_KVM) += ivshmem.o
>
> Regards
> Stefan
>
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] Re: Latest version in Git doesn't link - any ideas?
  2010-08-14 23:44     ` Cam Macdonell
@ 2010-08-15 17:57       ` Nigel Horne
  0 siblings, 0 replies; 5+ messages in thread
From: Nigel Horne @ 2010-08-15 17:57 UTC (permalink / raw)
  To: qemu-devel

  On 15/08/10 00:44, Cam Macdonell wrote:
> Yup, it was my patch.  Sorry about that.  Patches are in the list,
> just need to be merged.
It works now - thanks!
> Cam
-Nigel

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-08-15 20:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-11  9:29 [Qemu-devel] Latest version in Git doesn't link - any ideas? Nigel Horne
2010-08-14 21:35 ` [Qemu-devel] " Nigel Horne
2010-08-14 22:18   ` Stefan Weil
2010-08-14 23:44     ` Cam Macdonell
2010-08-15 17:57       ` Nigel Horne

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.