Latest version in Git doesn't link - any ideas?
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
Signature · 3 lines
Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor, Typesetter. NJH Music, ICQ#20252325, twitter: @nigelhorne [email protected] http://www.bandsman.co.uk
I've seen some activity in this area of late, but the code still fails to link. Any clues anyone?
Quoted 16 lines
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 tokvm_set_ioeventfd_mmio_long' ivshmem.o: In functionivshmem_read':
ivshmem.c:(.text+0x9fc): undefined reference tokvm_set_ioeventfd_mmio_long' ivshmem.c:(.text+0xa6c): undefined reference tokvm_set_ioeventfd_mmio_long'
collect2: ld returned 1 exit status
make[1]: *** [qemu-system-arm] Error 1
make: *** [subdir-arm-softmmu] Error 2-Nigel
Signature · 3 lines
Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Tutor, Typesetter. NJH Music, ICQ#20252325, twitter: @nigelhorne [email protected] http://www.bandsman.co.uk
Am 14.08.2010 23:35, schrieb Nigel Horne:
Quoted 19 lines
I've seen some activity in this area of late, but the code still fails to link. Any clues anyone?
Quoted 16 lines
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 tokvm_set_ioeventfd_mmio_long' ivshmem.o: In functionivshmem_read':
ivshmem.c:(.text+0x9fc): undefined reference tokvm_set_ioeventfd_mmio_long' ivshmem.c:(.text+0xa6c): undefined reference tokvm_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
Yup, it was my patch. Sorry about that. Patches are in the list, just need to be merged.
Cam
Quoted 36 lines · Stefan Weil
Am 14.08.2010 23:35, schrieb Nigel Horne:
Quoted 25 lines
I've seen some activity in this area of late, but the code still fails to link. Any clues anyone?
Quoted 20 lines
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 tokvm_set_ioeventfd_mmio_long' ivshmem.c:(.text+0xa6c): undefined reference tokvm_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
Quoted 2 lines · Cam Macdonell
Yup, it was my patch. Sorry about that. Patches are in the list, just need to be merged.
It works now - thanks!
Quoted 1 line
Cam
-Nigel