礦ision Build Log

Tool Versions:

IDE-Version: μVision V5.11.2.0 Copyright (C) 2014 ARM Ltd and ARM Germany GmbH. All rights reserved. License Information: 1 chj, 1, LIC=LSWP0-BXYSU-QHS8B-2VV8Y-4TU5K-QH3B9 Tool Versions: Toolchain: PK251 Prof. Developers Kit Version: 5.57.0.0 Toolchain Path: C:\Keil_v5\C251\BIN C Compiler: C251.exe V5.57.0.0 Assembler: A251.exe V4.69.5.0 Linker/Locator: L251.exe V4.66.30.0 Library Manager: LIB251.exe V4.30.0.2 Hex Converter: OH251.exe V2.1d CPU DLL: S251.DLL V3.98.0.0 Dialog DLL: DCORE51.DLL V2.81.4.0

Project:

D:\chjzhuomian\单片机练习APP\AI8051U单片机试验程序\定时器周期性任务调度\PROJ.uvproj Project File Date: 06/30/2025

Output:

Rebuild target 'Target 1' compiling main.c... compiling Config.c... compiling TASK.c... compiling IO.c... linking... Program Size: data=8.3 edata+hdata=489 xdata=192 const=106 code=7886 creating hex file from "PROJ"... "PROJ" - 0 Error(s), 0 Warning(s).
rror C52: use of undefined type 'TASK_C0MPONENTS' User\TASK.c(13): warning C72: sizeof returns zero User\TASK.c(13): error C52: use of undefined type 'TASK_C0MPONENTS' User\TASK.c(13): error C72: sizeof returns zero User\TASK.c(13): error C52: use of undefined type 'TASK_C0MPONENTS' User\TASK.c(13): warning C72: sizeof returns zero User\TASK.c(13): warning C111: div by zero User\TASK.c(13): warning C111: div by zero User\TASK.c(13): error C143: 'scalar': initializer is not a constant User\TASK.c(26): error C52: use of undefined type 'TASK_C0MPONENTS' User\TASK.c(26): error C72: sizeof returns zero User\TASK.c(26): error C52: use of undefined type 'TASK_C0MPONENTS' User\TASK.c(28): error C52: use of undefined type 'TASK_C0MPONENTS' User\TASK.c(28): error C72: sizeof returns zero User\TASK.c(28): error C52: use of undefined type 'TASK_C0MPONENTS' User\TASK.c(29): error C52: use of undefined type 'TASK_C0MPONENTS' User\TASK.c(29): error C72: sizeof returns zero User\TASK.c(29): error C52: use of undefined type 'TASK_C0MPONENTS' User\TASK.c(31): error C52: use of undefined type 'TASK_C0MPONENTS' User\TASK.c(31): error C72: sizeof returns zero User\TASK.c(31): error C52: use of undefined type 'TASK_C0MPONENTS' User\TASK.c(32): error C52: use of undefined type 'TASK_C0MPONENTS' User\TASK.c(32): error C72: sizeof returns zero User\TASK.c(32): error C52: use of undefined type 'TASK_C0MPONENTS' User\TASK.c(49): error C52: use of undefined type 'TASK_C0MPONENTS' User\TASK.c(49): error C72: sizeof returns zero User\TASK.c(49): error C52: use of undefined type 'TASK_C0MPONENTS' User\TASK.c(51): error C52: use of undefined type 'TASK_C0MPONENTS' User\TASK.c(51): error C72: sizeof returns zero User\TASK.c(51): error C52: use of undefined type 'TASK_C0MPONENTS' User\TASK.c(52): error C52: use of undefined type 'TASK_C0MPONENTS' User\TASK.c(52): error C72: sizeof returns zero User\TASK.c(52): error C52: use of undefined type 'TASK_C0MPONENTS' compiling IO.c... Target not created. C100: '=': left operand must be l-value Target not created.