[BUG] Linking error: undefined reference to htif_t::load_payload #2298
Labels
notCV32A65X
It is not an CV32A65X issue
Type:Bug
For bugs in the RTL, Documentation, Verification environment or Tool and Build system
Is there an existing CVA6 bug for this?
Bug Description
I'm encountering a linking error while trying to build the CVA6 project with Verilator. Specifically, the linker is unable to find the definition for the htif_t::load_payload function, which is likely part of the Host-Target Interface (HTIF) library.
The full error message is:
/opt/rh/devtoolset-11/root/usr/libexec/gcc/x86_64-redhat-linux/11/ld: ariane_tb.o:(.rodata._ZTV19preload_aware_dtm_t[_ZTV19preload_aware_dtm_t]+0x70): undefined reference to
htif_t::load_payload(std::string const&, unsigned long*, unsigned long)'`Steps Taken:
I have tried the following steps to resolve the issue:
However, none of these have been able to get me past this error. The full error message above was present in hello_world.cv64a6_mmu.log.iss. I suspect this is related to the compiler, but it would be great to have some direction.
Please let me know if any further information is required, I would be very grateful, thank you!
The text was updated successfully, but these errors were encountered: