bscheuing
Newbie level 2
m16c ucos
I have the ucos-ii (Version 2.52 and 2.60) and I want to port it on the Microcontroller M16c. When I try to use the port of the ucos-website for the Tasking-compiler, I can open the project files, but when I try to compile it, the compiler does not find the ucos-ii-files. When I correct the include-pathes of the ucos-ii.c, he does find them, but then there are a lot of errors shown by the compiler:
TASKING program builder v2.3r2 Build 056 SN 00095734
Compiling ucos_ii.c
cm16 W091: "C:\microCos2\SOFTWARE\uCOS-II\source\os_core.c" line 102: no prototype for function "OS_MemInit"
cm16 W091: "C:\microCos2\SOFTWARE\uCOS-II\source\os_core.c" line 106: no prototype for function "OS_QInit"
cm16 W091: "C:\microCos2\SOFTWARE\uCOS-II\source\os_core.c" line 261: no prototype for function "OS_Sched"
cm16 E117: "C:\microCos2\SOFTWARE\uCOS-II\source\os_core.c" line 728: "OS_TaskIdle" undefined
cm16 W147: "C:\microCos2\SOFTWARE\uCOS-II\source\os_core.c" line 736: argument #1: different levels of indirection
cm16 E117: "C:\microCos2\SOFTWARE\uCOS-II\source\os_core.c" line 781: "OS_TaskStat" undefined
cm16 W147: "C:\microCos2\SOFTWARE\uCOS-II\source\os_core.c" line 789: argument #1: different levels of indirection
cm16 E064: "C:\microCos2\SOFTWARE\uCOS-II\source\os_core.c" line 870: incompatible redeclaration of "OS_Sched"
cm16 W013: "C:\microCos2\SOFTWARE\uCOS-II\source\os_core.c" line 870: prototype after forward call or old style declaration - ignored
cm16 W091: "C:\microCos2\SOFTWARE\uCOS-II\source\os_core.c" line 923: no prototype for function "OSTaskIdleHook"
cm16 E117: "C:\microCos2\SOFTWARE\uCOS-II\source\os_mbox.c" line 395: "OS_POST_OPT_BROADCAST" undefined
cm16 W135: "C:\microCos2\SOFTWARE\uCOS-II\source\os_mbox.c" line 400: statement not reached
cm16 E117: "C:\microCos2\SOFTWARE\uCOS-II\source\os_mem.c" line 61: "OS_MEM_INVALID_ADDR" undefined
cm16 E117: "C:\microCos2\SOFTWARE\uCOS-II\source\os_mem.c" line 130: "OS_MEM_INVALID_PMEM" undefined
cm16 E117: "C:\microCos2\SOFTWARE\uCOS-II\source\os_mem.c" line 175: "OS_MEM_INVALID_PMEM" undefined
cm16 E117: "C:\microCos2\SOFTWARE\uCOS-II\source\os_mem.c" line 178: "OS_MEM_INVALID_PBLK" undefined
cm16 W126: "C:\microCos2\SOFTWARE\uCOS-II\source\os_mem.c" line 191: missing return (function "OSMemPut")
cm16 E117: "C:\microCos2\SOFTWARE\uCOS-II\source\os_mem.c" line 221: "OS_MEM_INVALID_PMEM" undefined
cm16 E117: "C:\microCos2\SOFTWARE\uCOS-II\source\os_mem.c" line 224: "OS_MEM_INVALID_PDATA" undefined
cm16 W126: "C:\microCos2\SOFTWARE\uCOS-II\source\os_mem.c" line 236: missing return (function "OSMemQuery")
cm16 E064: "C:\microCos2\SOFTWARE\uCOS-II\source\os_mem.c" line 255: incompatible redeclaration of "OS_MemInit"
cm16 W013: "C:\microCos2\SOFTWARE\uCOS-II\source\os_mem.c" line 255: prototype after forward call or old style declaration - ignored
cm16 E117: "C:\microCos2\SOFTWARE\uCOS-II\source\os_q.c" line 567: "OS_POST_OPT_BROADCAST" undefined
cm16 W135: "C:\microCos2\SOFTWARE\uCOS-II\source\os_q.c" line 572: statement not reached
cm16 E117: "C:\microCos2\SOFTWARE\uCOS-II\source\os_q.c" line 583: "OS_POST_OPT_FRONT" undefined
cm16 W135: "C:\microCos2\SOFTWARE\uCOS-II\source\os_q.c" line 590: statement not reached
cm16 E064: "C:\microCos2\SOFTWARE\uCOS-II\source\os_q.c" line 702: incompatible redeclaration of "OS_QInit"
cm16 W013: "C:\microCos2\SOFTWARE\uCOS-II\source\os_q.c" line 702: prototype after forward call or old style declaration - ignored
cm16 W066: "C:\microCos2\SOFTWARE\uCOS-II\source\os_task.c" line 437: function "OSTaskDel": variable "self" not used
total errors: 14, warnings: 15
wmk: *** action exited with value 1.
To install the files I always used the standard-pathes of ucos-ii (for ucos-ii as well as for the port-files).
What do I have to do? What is the problem? Can you help me?
I have the ucos-ii (Version 2.52 and 2.60) and I want to port it on the Microcontroller M16c. When I try to use the port of the ucos-website for the Tasking-compiler, I can open the project files, but when I try to compile it, the compiler does not find the ucos-ii-files. When I correct the include-pathes of the ucos-ii.c, he does find them, but then there are a lot of errors shown by the compiler:
TASKING program builder v2.3r2 Build 056 SN 00095734
Compiling ucos_ii.c
cm16 W091: "C:\microCos2\SOFTWARE\uCOS-II\source\os_core.c" line 102: no prototype for function "OS_MemInit"
cm16 W091: "C:\microCos2\SOFTWARE\uCOS-II\source\os_core.c" line 106: no prototype for function "OS_QInit"
cm16 W091: "C:\microCos2\SOFTWARE\uCOS-II\source\os_core.c" line 261: no prototype for function "OS_Sched"
cm16 E117: "C:\microCos2\SOFTWARE\uCOS-II\source\os_core.c" line 728: "OS_TaskIdle" undefined
cm16 W147: "C:\microCos2\SOFTWARE\uCOS-II\source\os_core.c" line 736: argument #1: different levels of indirection
cm16 E117: "C:\microCos2\SOFTWARE\uCOS-II\source\os_core.c" line 781: "OS_TaskStat" undefined
cm16 W147: "C:\microCos2\SOFTWARE\uCOS-II\source\os_core.c" line 789: argument #1: different levels of indirection
cm16 E064: "C:\microCos2\SOFTWARE\uCOS-II\source\os_core.c" line 870: incompatible redeclaration of "OS_Sched"
cm16 W013: "C:\microCos2\SOFTWARE\uCOS-II\source\os_core.c" line 870: prototype after forward call or old style declaration - ignored
cm16 W091: "C:\microCos2\SOFTWARE\uCOS-II\source\os_core.c" line 923: no prototype for function "OSTaskIdleHook"
cm16 E117: "C:\microCos2\SOFTWARE\uCOS-II\source\os_mbox.c" line 395: "OS_POST_OPT_BROADCAST" undefined
cm16 W135: "C:\microCos2\SOFTWARE\uCOS-II\source\os_mbox.c" line 400: statement not reached
cm16 E117: "C:\microCos2\SOFTWARE\uCOS-II\source\os_mem.c" line 61: "OS_MEM_INVALID_ADDR" undefined
cm16 E117: "C:\microCos2\SOFTWARE\uCOS-II\source\os_mem.c" line 130: "OS_MEM_INVALID_PMEM" undefined
cm16 E117: "C:\microCos2\SOFTWARE\uCOS-II\source\os_mem.c" line 175: "OS_MEM_INVALID_PMEM" undefined
cm16 E117: "C:\microCos2\SOFTWARE\uCOS-II\source\os_mem.c" line 178: "OS_MEM_INVALID_PBLK" undefined
cm16 W126: "C:\microCos2\SOFTWARE\uCOS-II\source\os_mem.c" line 191: missing return (function "OSMemPut")
cm16 E117: "C:\microCos2\SOFTWARE\uCOS-II\source\os_mem.c" line 221: "OS_MEM_INVALID_PMEM" undefined
cm16 E117: "C:\microCos2\SOFTWARE\uCOS-II\source\os_mem.c" line 224: "OS_MEM_INVALID_PDATA" undefined
cm16 W126: "C:\microCos2\SOFTWARE\uCOS-II\source\os_mem.c" line 236: missing return (function "OSMemQuery")
cm16 E064: "C:\microCos2\SOFTWARE\uCOS-II\source\os_mem.c" line 255: incompatible redeclaration of "OS_MemInit"
cm16 W013: "C:\microCos2\SOFTWARE\uCOS-II\source\os_mem.c" line 255: prototype after forward call or old style declaration - ignored
cm16 E117: "C:\microCos2\SOFTWARE\uCOS-II\source\os_q.c" line 567: "OS_POST_OPT_BROADCAST" undefined
cm16 W135: "C:\microCos2\SOFTWARE\uCOS-II\source\os_q.c" line 572: statement not reached
cm16 E117: "C:\microCos2\SOFTWARE\uCOS-II\source\os_q.c" line 583: "OS_POST_OPT_FRONT" undefined
cm16 W135: "C:\microCos2\SOFTWARE\uCOS-II\source\os_q.c" line 590: statement not reached
cm16 E064: "C:\microCos2\SOFTWARE\uCOS-II\source\os_q.c" line 702: incompatible redeclaration of "OS_QInit"
cm16 W013: "C:\microCos2\SOFTWARE\uCOS-II\source\os_q.c" line 702: prototype after forward call or old style declaration - ignored
cm16 W066: "C:\microCos2\SOFTWARE\uCOS-II\source\os_task.c" line 437: function "OSTaskDel": variable "self" not used
total errors: 14, warnings: 15
wmk: *** action exited with value 1.
To install the files I always used the standard-pathes of ucos-ii (for ucos-ii as well as for the port-files).
What do I have to do? What is the problem? Can you help me?