完全按照【机器人创意工作室教程七】WIFI智能小车机器人驱动板源代码合成与编写 http://www.wifi-robots.com/thread-2401-1-1.html,在新发布的全功能源代码上修改后大灯开关后不能编译,后来发现源文件不修改也不能编译,提示错误如下:Build target 'Target 1'
compiling main.c...
SOURCE\MAIN.C(34): warning C206: 'Cruising_Mod': missing function-prototype
compiling motor.c...
SOURCE\MOTOR.C(184): warning C291: not every exit path returns a value
compiling timer.c...
compiling uart.c...
compiling SelfTest.c...
linking...
BL51 BANKED LINKER/LOCATER V6.22 - SN: Eval Version
COPYRIGHT KEIL ELEKTRONIK GmbH 1987 - 2009
"main.obj",
"motor.obj",
"timer.obj",
"uart.obj",
"SelfTest.obj",
".\lib\STEER.LIB",
".\lib\IR.LIB",
".\lib\MEM.LIB"
TO "motor_con"
RAMSIZE(256)
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
SEGMENT: ?PR?SEND_DISTANCE?MOTOR
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
SEGMENT: ?PR?_DELAY_FORBARRIER?MOTOR
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
SEGMENT: ?PR?_UART_SEND?UART
*** WARNING L15: MULTIPLE CALL TO SEGMENT
SEGMENT: ?PR?INIT_STEER?TIMER
CALLER1: ?PR?UART_INTERRUPT_RECEIVE?UART
CALLER2: ?C_C51STARTUP
******************************************************************************
* RESTRICTED VERSION WITH 0800H BYTE CODE SIZE LIMIT; USED: 0828H BYTE (101%) *
******************************************************************************
Program Size: data=59.3 xdata=203 code=3883
LINK/LOCATE RUN COMPLETE. 4 WARNING(S), 0 ERROR(S)
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
SEGMENT: ?PR?SEND_DISTANCE?MOTOR
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
SEGMENT: ?PR?_DELAY_FORBARRIER?MOTOR
*** WARNING L16: UNCALLED SEGMENT, IGNORED FOR OVERLAY PROCESS
SEGMENT: ?PR?_UART_SEND?UART
*** WARNING L15: MULTIPLE CALL TO SEGMENT
SEGMENT: ?PR?INIT_STEER?TIMER
CALLER1: ?PR?UART_INTERRUPT_RECEIVE?UART
CALLER2: ?C_C51STARTUP
*** FATAL ERROR L250: CODE SIZE LIMIT IN RESTRICTED VERSION EXCEEDED
MODULE: D:\KEIL\C51\LIB\C51S.LIB (-----)
LIMIT: 0800H BYTES
Target not created
|