avatar-qemu icon indicating copy to clipboard operation
avatar-qemu copied to clipboard

Problem when compile aarch64-softmmu

Open MichaelInfinity opened this issue 3 years ago • 1 comments

I'm sorry to bother you, but there is some problems when i compiling the qemu-system-aarch64 the wrong code is:

LINK qemu-system-aarch64 hw/avatar/interrupts.o: In function `avatar_armv7m_nvic_forward_write': /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:58: undefined reference to `get_current_pc' /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:63: undefined reference to `rmem_tx_queue_ref' /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:63: undefined reference to `qemu_avatar_mq_send' /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:64: undefined reference to `rmem_rx_queue_ref' /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:64: undefined reference to `qemu_avatar_mq_receive' hw/avatar/interrupts.o: In function `qmp_avatar_armv7m_enable_irq': /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:88: undefined reference to `rmem_rx_queue_ref' /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:92: undefined reference to `rmem_tx_queue_ref' /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:79: undefined reference to `qemu_avatar_mq_open_read' /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:84: undefined reference to `qemu_avatar_mq_open_write' /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:88: undefined reference to `rmem_rx_queue_ref' /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:89: undefined reference to `rmem_rx_queue_ref' /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:90: undefined reference to `qemu_avatar_mq_open_read' /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:92: undefined reference to `rmem_tx_queue_ref' /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:93: undefined reference to `rmem_tx_queue_ref' /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:94: undefined reference to `qemu_avatar_mq_open_write' hw/avatar/interrupts.o: In function `avatar_armv7m_exception_exit': /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:147: undefined reference to `qemu_avatar_mq_send' /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:148: undefined reference to `qemu_avatar_mq_receive' hw/avatar/interrupts.o: In function `avatar_armv7m_exception_enter': /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:171: undefined reference to `qemu_avatar_mq_send' /home/michael/.avatar2/avatar-qemu/hw/avatar/interrupts.c:172: undefined reference to `qemu_avatar_mq_receive' collect2: error: ld returned 1 exit status Makefile:208: recipe for target 'qemu-system-aarch64' failed make: *** [qemu-system-aarch64] Error 1

Could you please help me about that?

MichaelInfinity avatar Aug 22 '21 16:08 MichaelInfinity