工程里增加了AI模型代码,LitesOS_Studio编译出现错误
demos->ai下增加了AI模型代码,组件配置->Demos->Ai Demo,使能了 Ai demo,然后一直出现在线组件配置中,直接编译,出现以下报错信息。
arm-none-eabi-ld: warning: C:\Users\Administrator.huawei-liteos-studio\tools\arm-none-eabi/lib/gcc/arm-none-eabi/9.2.1/thumb/v7e-m+fp/softfp\libgcc.a(_udivmoddi4.o) uses variable-size enums yet the output is to use 32-bit enums; use of enum values across objects may fail
arm-none-eabi-ld: error: f:/F429_LiteOS_Test/components/ai/nnacl_lib\libcortex-m-nnacl.a(pack.o) uses VFP register arguments, f:/F429_LiteOS_Test/out/Cloud_STM32F429IGTx_FIRE/Huawei_LiteOS.elf does not
arm-none-eabi-ld: failed to merge target specific data of file f:/F429_LiteOS_Test/components/ai/nnacl_lib\libcortex-m-nnacl.a(pack.o)
arm-none-eabi-ld: error: f:/F429_LiteOS_Test/components/ai/nnacl_lib\libcortex-m-nnacl.a(softmax.o) uses VFP register arguments, f:/F429_LiteOS_Test/out/Cloud_STM32F429IGTx_FIRE/Huawei_LiteOS.elf does not
arm-none-eabi-ld: failed to merge target specific data of file f:/F429_LiteOS_Test/components/ai/nnacl_lib\libcortex-m-nnacl.a(softmax.o)
arm-none-eabi-ld: error: f:/F429_LiteOS_Test/components/ai/nnacl_lib\libcortex-m-nnacl.a(conv_int8.o) uses VFP register arguments, f:/F429_LiteOS_Test/out/Cloud_STM32F429IGTx_FIRE/Huawei_LiteOS.elf does not
arm-none-eabi-ld: failed to merge target specific data of file f:/F429_LiteOS_Test/components/ai/nnacl_lib\libcortex-m-nnacl.a(conv_int8.o)
arm-none-eabi-ld: error: f:/F429_LiteOS_Test/components/ai/nnacl_lib\libcortex-m-nnacl.a(matmul_int8.o) uses VFP register arguments, f:/F429_LiteOS_Test/out/Cloud_STM32F429IGTx_FIRE/Huawei_LiteOS.elf does not
arm-none-eabi-ld: failed to merge target specific data of file f:/F429_LiteOS_Test/components/ai/nnacl_lib\libcortex-m-nnacl.a(matmul_int8.o)
arm-none-eabi-ld: error: f:/F429_LiteOS_Test/components/ai/nnacl_lib\libcortex-m-nnacl.a(pooling_int8.o) uses VFP register arguments, f:/F429_LiteOS_Test/out/Cloud_STM32F429IGTx_FIRE/Huawei_LiteOS.elf does not
arm-none-eabi-ld: failed to merge target specific data of file f:/F429_LiteOS_Test/components/ai/nnacl_lib\libcortex-m-nnacl.a(pooling_int8.o)
arm-none-eabi-ld: error: f:/F429_LiteOS_Test/components/ai/nnacl_lib\libcortex-m-nnacl.a(quant_dtype_cast.o) uses VFP register arguments, f:/F429_LiteOS_Test/out/Cloud_STM32F429IGTx_FIRE/Huawei_LiteOS.elf does not
arm-none-eabi-ld: failed to merge target specific data of file f:/F429_LiteOS_Test/components/ai/nnacl_lib\libcortex-m-nnacl.a(quant_dtype_cast.o)
arm-none-eabi-ld: error: f:/F429_LiteOS_Test/components/ai/nnacl_lib\libcortex-m-nnacl.a(common_func.o) uses VFP register arguments, f:/F429_LiteOS_Test/out/Cloud_STM32F429IGTx_FIRE/Huawei_LiteOS.elf does not
arm-none-eabi-ld: failed to merge target specific data of file f:/F429_LiteOS_Test/components/ai/nnacl_lib\libcortex-m-nnacl.a(common_func.o)
arm-none-eabi-ld: error: f:/F429_LiteOS_Test/components/ai/nnacl_lib\libcortex-m-nnacl.a(winograd_transform.o) uses VFP register arguments, f:/F429_LiteOS_Test/out/Cloud_STM32F429IGTx_FIRE/Huawei_LiteOS.elf does not
arm-none-eabi-ld: failed to merge target specific data of file f:/F429_LiteOS_Test/components/ai/nnacl_lib\libcortex-m-nnacl.a(winograd_transform.o)
arm-none-eabi-ld: error: f:/F429_LiteOS_Test/components/ai/nnacl_lib\libcortex-m-nnacl.a(fixed_point.o) uses VFP register arguments, f:/F429_LiteOS_Test/out/Cloud_STM32F429IGTx_FIRE/Huawei_LiteOS.elf does not
arm-none-eabi-ld: failed to merge target specific data of file f:/F429_LiteOS_Test/components/ai/nnacl_lib\libcortex-m-nnacl.a(fixed_point.o)
make: *** [Makefile:78: Huawei_LiteOS] Error 1