Building a signed bootloader

While building the arducopter on Ubunutu 22, the following error was shown when building a signed firmware.
[89/95] Compiling Tools/AP_Bootloader/md5.cpp
…/…/libraries/AP_HAL_ChibiOS/Util.cpp: In member function ‘virtual AP_HAL::Util::FlashBootloader ChibiOS::Util::flash_bootloader()’:
…/…/libraries/AP_HAL_ChibiOS/Util.cpp:286:10: error: ‘AP_CheckFirmware’ has not been declared
286 | if (!AP_CheckFirmware::check_signed_bootloader(fw, fw_size)) {
| ^~~~~~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.

Waf: Leaving directory `/home/actionfi/new/ardupilot/build/Pixhawk4’
Build failed
→ task in ‘objs/AP_HAL_ChibiOS’ failed (exit status 1):
{task 140359591030992: cxx Util.cpp → Util.cpp.0.o}

there were no changes or updates done to the source code. Anyone faced similar issue?
Can someone help with this?

have you solved this error? Please let me know also

Use stable copter 4.4 code from ardupilot git for building and updations.

1 Like

Hi @smj_007, are you referring to the 4.3 stable copter version?