Re: build breakage with SCMI

Jerome Forissier
2025-12-16T10:53:33Z

Hi Dan,

On 12/15/25 20:02, Dan Carpenter wrote:
> When I try building with `make run WITH_SCMI=y` then the build fails:
>
> core/lib/scmi-server/scmi_server.c: In function ‘scmi_server_initialize’:
> core/lib/scmi-server/scmi_server.c:83:22: error: implicit declaration of function ‘scmi_configure’ [-Wimplicit-function-declaration]
> 83 | rc = scmi_configure(cfg);
> | ^~~~~~~~~~~~~~
>
> This was introduced in commit ce6ea4112008 ("scmi-server: configure
> SCP-firmware from DT"). A grep for scmi_configure() turns up empty.
> Was part of the commit missing?

I suspect your SCP-firmware source tree is too old. Please see:
https://github.com/OP-TEE/optee_os/blob/master/.github/workflows/ci.yml#L226

Thanks,
--
Jerome

>
> regards,
> dan carpenter
>