Executing: "D:\Microchip\MCC18\bin\mcc18.exe" -p=18F4580 /i"D:\Microchip\MCC18\h" "OS_CORE.C" -fo="OS_CORE.o" -D__DEBUG -mL -Ls -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "D:\Microchip\MCC18\bin\mcc18.exe" -p=18F4580 /i"D:\Microchip\MCC18\h" "OS_CPU_C.C" -fo="OS_CPU_C.o" -D__DEBUG -mL -Ls -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "D:\Microchip\MCC18\bin\mcc18.exe" -p=18F4580 /i"D:\Microchip\MCC18\h" "OS_TASK.C" -fo="OS_TASK.o" -D__DEBUG -mL -Ls -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "D:\Microchip\MCC18\bin\mcc18.exe" -p=18F4580 /i"D:\Microchip\MCC18\h" "OS_TIME.C" -fo="OS_TIME.o" -D__DEBUG -mL -Ls -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "D:\Microchip\MCC18\bin\mcc18.exe" -p=18F4580 /i"D:\Microchip\MCC18\h" "uCOS_II.C" -fo="uCOS_II.o" -D__DEBUG -mL -Ls -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "D:\Microchip\MCC18\bin\mcc18.exe" -p=18F4580 /i"D:\Microchip\MCC18\h" "Test.c" -fo="Test.o" -D__DEBUG -mL -Ls -Ou- -Ot- -Ob- -Op- -Or- -Od- -Opa-
Executing: "D:\Microchip\MCC18\bin\_mplink.exe" /l"D:\Microchip\MCC18\lib" /k"D:\Microchip\MCC18\lkr" "D:\Microchip\MCC18\lkr\18f4580.lkr" "OS_CORE.o" "OS_CPU_C.o" "OS_TASK.o" "OS_TIME.o" "uCOS_II.o" "Test.o" /z__MPLAB_BUILD=1 /z__MPLAB_DEBUG=1 /m"yizhiPIC.map" /w /o"yizhiPIC.cof"
MPLINK 4.30.01, Linker
Copyright (c) 2009 Microchip Technology Inc.
Error - could not find definition of symbol 'main' in file 'D:\Microchip\MCC18\lib/c018i.o'.
Errors : 1
Link step failed.
这是我在PIC18f4580上移植uCOS-II是遇到的情况,,,,为什么在c018i.o'中找不到main 啊?? 求指点! |