增加A/B系统的配置后 uboot编译不过

按照文档 增加配置
CONFIG_AVB_LIBAVB=y
CONFIG_AVB_LIBAVB_AB=y
CONFIG_AVB_LIBAVB_ATX=y
CONFIG_AVB_LIBAVB_USER=y
CONFIG_RK_AVB_LIBAVB_USER=y
CONFIG_ANDROID_AB=y
支持AB系统备份

编译uboot时出错。

common/android_bootloader.c: In function ‘android_bootloader_boot_flow’:
common/android_bootloader.c:920:3: error: a label can only be part of a statement and a declaration is not a statement
char root_partition[20] = {0};
^~~~
common/android_bootloader.c:921:3: error: expected expression before ‘char’
char guid_buf[UUID_SIZE] = {0};
^~~~
common/android_bootloader.c:926:45: error: ‘guid_buf’ undeclared (first use in this function)
get_partition_unique_uuid(root_partition, guid_buf, UUID_SIZE);

请问怎么解决?

SDK是firefly的git上下载的最新代码

你好 我现在也在开发 A/B升级功能 你的配置文档可以发一份给我吗? 谢谢!