Compile/link errors
Hello,
I'm having compile/link errors on 85f38553031b1a6e07f786c9ab0d403af7252b4f:
LINK x86_64-softmmu/qemu-system-x86_64../libhw64/virtio-pci.o: In function `virtio_scsi_exit_pci':/root/download/qemu/git/qemu/hw/virtio-pci.c:956: undefined reference to virtio_scsi_exit' ../libhw64/virtio-pci.o: In function virtio_scsi_init_pci':/root/download/qemu/git/qemu/hw/virtio-pci.c:939: undefined reference to `virtio_scsi_init'
collect2: ld returned 1 exit status
Clean compile.
Any ideas?
Ciao,
Gerhard
Quoted 12 lines · Gerhard Wiesinger
Hello,
I'm having compile/link errors on
85f38553031b1a6e07f786c9ab0d403af7252b4f:
LINK x86_64-softmmu/qemu-system-x86_64../libhw64/virtio-pci.o: In function `virtio_scsi_exit_pci':/root/download/qemu/git/qemu/hw/virtio-pci.c:956: undefined reference to `virtio_scsi_exit'../libhw64/virtio-pci.o: In function `virtio_scsi_init_pci':/root/download/qemu/git/qemu/hw/virtio-pci.c:939: undefined reference to `virtio_scsi_init'
collect2: ld returned 1 exit status
Quoted 3 lines
Clean compile.
Any ideas?
You have a stale configuration file. A 'make distclean' should help.
Regards,
Anthony Liguori
Quoted 7 lines
Ciao,
Gerhard
Am 24.02.2012 18:27, schrieb Anthony Liguori:
Quoted 14 lines · Gerhard Wiesinger
Quoted 13 lines
Hello,
I'm having compile/link errors on
85f38553031b1a6e07f786c9ab0d403af7252b4f:
LINK x86_64-softmmu/qemu-system-x86_64../libhw64/virtio-pci.o: In function `virtio_scsi_exit_pci':/root/download/qemu/git/qemu/hw/virtio-pci.c:956: undefined reference to `virtio_scsi_exit'../libhw64/virtio-pci.o: In function `virtio_scsi_init_pci':/root/download/qemu/git/qemu/hw/virtio-pci.c:939: undefined reference to `virtio_scsi_init'
collect2: ld returned 1 exit status
Quoted 5 lines
Quoted 3 lines
Clean compile.
Any ideas?
You have a stale configuration file. A 'make distclean' should help.
Such errors indicate a dependency issue that should be fixed though. (Same error here. Rebuilding after rm -rf * worked.)
When I change target-specific default configs it always seemed to work okay, is pci.mak different in any way? Or maybe some make target is lacking a dependency on the regenerated config files?
Andreas
Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg
Quoted 19 lines · Andreas Färber
Am 24.02.2012 18:27, schrieb Anthony Liguori:
Quoted 18 lines · Gerhard Wiesinger
Quoted 16 lines
Hello,
I'm having compile/link errors on
85f38553031b1a6e07f786c9ab0d403af7252b4f:
LINK x86_64-softmmu/qemu-system-x86_64../libhw64/virtio-pci.o: In function `virtio_scsi_exit_pci':/root/download/qemu/git/qemu/hw/virtio-pci.c:956: undefined reference to `virtio_scsi_exit'../libhw64/virtio-pci.o: In function `virtio_scsi_init_pci':/root/download/qemu/git/qemu/hw/virtio-pci.c:939: undefined reference to `virtio_scsi_init'
collect2: ld returned 1 exit statusClean compile.
Any ideas?
Quoted 8 lines
Quoted 1 line
You have a stale configuration file. A 'make distclean' should help.
Such errors indicate a dependency issue that should be fixed though. (Same error here. Rebuilding after rm -rf * worked.)
When I change target-specific default configs it always seemed to work okay, is pci.mak different in any way? Or maybe some make target is lacking a dependency on the regenerated config files?
%/config-devices.mak: default-configs/%.mak
I think you could add default-configs/pci.mak to this stanza and it would have regenerated here.
Regards,
Anthony Liguori
Quoted 3 lines
Andreas