RA6M5 MCUBoot Linker Issue

Hello,

So I've been using the following examples:

https://www.renesas.cn/cn/zh/document/apn/booting-encrypted-image-using-mcuboot-and-qspi-application-project

https://www.renesas.com/us/en/document/apn/ra6-basic-secure-bootloader-using-mcuboot-and-internal-code-flash

to make a MCUBoot application. Everything compiles and runs fine until I try to include the boot_set_confirmed function. If I include a call to this function in my application code then I get a bunch of linker errors all related to gp_mcuboot_xspi_instance being undefined:

In my application configuration I have the MCUboot Image Utilities stack.

I have imported this following project as well and have gotten it to compile just fine after updating it to FSP 5.4, and I based my project off of it so I'm not sure what I'm doing wrong

https://en.na4.teamsupport.com/knowledgeBase/20773940

Thanks in advance for any help.