共5条
1/1 1 跳转至页
uCOS uCOS移植源程序编译有问题
问
有问题啊编译出错为什么这么多警告啊
我用贵站的F449移植源程序在AQ430中编译结果出现了N多警告
具体如下,大家看一下什么原因啊
Making Project : [uCOS_AQ430_PORT.qpj]
Assembling D:\PORT_AQ430_449\cstart.asm
Pass 1: 0 errors, Pass 2: 0 errors, 0 warnings
Linking D:\PORT_AQ430_449\aq_exe\uCOS_AQ430_PORT.rxc
63 errors
aq430link 2.82 (MCO6) 2005/03/17
Pass 1
Warning: Symbol _OSMapTbl (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSUnMapTbl (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSInit (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSIntEnter (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSIntExit (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSStart (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSStatInit (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSTimeTick (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSVersion (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OS_EventTaskRdy (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OS_EventTaskWait (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OS_EventTO (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OS_EventWaitListInit (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OS_Sched (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OS_TaskIdle (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OS_TaskStat (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OS_TCBInit (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSIntExitY (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSRunning (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSLockNesting (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSIntNesting (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSPrioCur (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSPrioHighRdy (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSStatRdy (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSRdyTbl (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSRdyGrp (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSTaskCtr (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSCPUUsage (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSEventFreeList (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSTaskStatStk (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSCtxSwCtr (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSTCBCur (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSTaskIdleStk (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSEventTbl (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSIdleCtr (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSTCBHighRdy (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSIdleCtrMax (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSQFreeList (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSQTbl (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSTCBPrioTbl (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSTCBList (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSTCBFreeList (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSFlagFreeList (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSTCBTbl (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSIdleCtrRun (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSFlagTbl (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSFlagAccept (defined in uCOS_II) redefined in OS_FLAG - first definition prevails
Warning: Symbol _OSFlagCreate (defined in uCOS_II) redefined in OS_FLAG - first definition prevails
Warning: Symbol _OSFlagPend (defined in uCOS_II) redefined in OS_FLAG - first definition prevails
Warning: Symbol _OSFlagPost (defined in uCOS_II) redefined in OS_FLAG - first definition prevails
Warning: Symbol _OS_FlagInit (defined in uCOS_II) redefined in OS_FLAG - first definition prevails
Warning: Symbol _OS_FlagUnlink (defined in uCOS_II) redefined in OS_FLAG - first definition prevails
Warning: Symbol _OSQAccept (defined in uCOS_II) redefined in OS_Q - first definition prevails
Warning: Symbol _OSQCreate (defined in uCOS_II) redefined in OS_Q - first definition prevails
Warning: Symbol _OSQFlush (defined in uCOS_II) redefined in OS_Q - first definition prevails
Warning: Symbol _OSQPend (defined in uCOS_II) redefined in OS_Q - first definition prevails
Warning: Symbol _OSQPost (defined in uCOS_II) redefined in OS_Q - first definition prevails
Warning: Symbol _OSQPostFront (defined in uCOS_II) redefined in OS_Q - first definition prevails
Warning: Symbol _OSQPostOpt (defined in uCOS_II) redefined in OS_Q - first definition prevails
Warning: Symbol _OS_QInit (defined in uCOS_II) redefined in OS_Q - first definition prevails
Warning: Symbol _OSSemAccept (defined in uCOS_II) redefined in OS_SEM - first definition prevails
Warning: Symbol _OSSemCreate (defined in uCOS_II) redefined in OS_SEM - first definition prevails
Warning: Symbol _OSSemPend (defined in uCOS_II) redefined in OS_SEM - first definition prevails
Warning: Symbol _OSSemPost (defined in uCOS_II) redefined in OS_SEM - first definition prevails
Warning: Symbol _OSTaskChangePrio (defined in uCOS_II) redefined in OS_TASK - first definition prevails
Warning: Symbol _OSTaskCreate (defined in uCOS_II) redefined in OS_TASK - first definition prevails
Warning: Symbol _OSTaskCreateExt (defined in uCOS_II) redefined in OS_TASK - first definition prevails
Warning: Symbol _OSTaskStkChk (defined in uCOS_II) redefined in OS_TASK - first definition prevails
Warning: Symbol _OSTimeDly (defined in uCOS_II) redefined in OS_TIME - first definition prevails
Warning: Symbol _OSTimeDlyHMSM (defined in uCOS_II) redefined in OS_TIME - first definition prevails
Pass 2
Note: COFF output file is "D:\PORT_AQ430_449\aq_exe\uCOS_AQ430_PORT.rxc" 答 1: 这个问题很容易解决,想个方法让定义的文件先编译,你在使用了变量后又去编译定义
变量的文件,这不出问题才怪!!!!!! 答 2: 我的意思是原文件应该没有错误,但直接编译编出现许多问题,应是编译路径设置的问题
我想问的是应该在AQ430中如何设置,移植文件的目录如何设置,下载的源文件中涉及的路径应该为什么 答 3: 我做出来了,编译的问题
谢谢,newer 答 4: 你好,可以请教一下你是怎么解决掉这个编译问题的,我也碰到了相同的问题???
非常感谢!! 答 5: 引用: 答 6: 头文件没设置好.有些地方充分#include了
我用贵站的F449移植源程序在AQ430中编译结果出现了N多警告
具体如下,大家看一下什么原因啊
Making Project : [uCOS_AQ430_PORT.qpj]
Assembling D:\PORT_AQ430_449\cstart.asm
Pass 1: 0 errors, Pass 2: 0 errors, 0 warnings
Linking D:\PORT_AQ430_449\aq_exe\uCOS_AQ430_PORT.rxc
63 errors
aq430link 2.82 (MCO6) 2005/03/17
Pass 1
Warning: Symbol _OSMapTbl (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSUnMapTbl (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSInit (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSIntEnter (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSIntExit (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSStart (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSStatInit (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSTimeTick (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSVersion (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OS_EventTaskRdy (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OS_EventTaskWait (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OS_EventTO (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OS_EventWaitListInit (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OS_Sched (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OS_TaskIdle (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OS_TaskStat (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OS_TCBInit (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSIntExitY (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSRunning (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSLockNesting (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSIntNesting (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSPrioCur (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSPrioHighRdy (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSStatRdy (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSRdyTbl (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSRdyGrp (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSTaskCtr (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSCPUUsage (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSEventFreeList (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSTaskStatStk (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSCtxSwCtr (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSTCBCur (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSTaskIdleStk (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSEventTbl (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSIdleCtr (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSTCBHighRdy (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSIdleCtrMax (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSQFreeList (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSQTbl (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSTCBPrioTbl (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSTCBList (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSTCBFreeList (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSFlagFreeList (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSTCBTbl (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSIdleCtrRun (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSFlagTbl (defined in uCOS_II) redefined in OS_CORE - first definition prevails
Warning: Symbol _OSFlagAccept (defined in uCOS_II) redefined in OS_FLAG - first definition prevails
Warning: Symbol _OSFlagCreate (defined in uCOS_II) redefined in OS_FLAG - first definition prevails
Warning: Symbol _OSFlagPend (defined in uCOS_II) redefined in OS_FLAG - first definition prevails
Warning: Symbol _OSFlagPost (defined in uCOS_II) redefined in OS_FLAG - first definition prevails
Warning: Symbol _OS_FlagInit (defined in uCOS_II) redefined in OS_FLAG - first definition prevails
Warning: Symbol _OS_FlagUnlink (defined in uCOS_II) redefined in OS_FLAG - first definition prevails
Warning: Symbol _OSQAccept (defined in uCOS_II) redefined in OS_Q - first definition prevails
Warning: Symbol _OSQCreate (defined in uCOS_II) redefined in OS_Q - first definition prevails
Warning: Symbol _OSQFlush (defined in uCOS_II) redefined in OS_Q - first definition prevails
Warning: Symbol _OSQPend (defined in uCOS_II) redefined in OS_Q - first definition prevails
Warning: Symbol _OSQPost (defined in uCOS_II) redefined in OS_Q - first definition prevails
Warning: Symbol _OSQPostFront (defined in uCOS_II) redefined in OS_Q - first definition prevails
Warning: Symbol _OSQPostOpt (defined in uCOS_II) redefined in OS_Q - first definition prevails
Warning: Symbol _OS_QInit (defined in uCOS_II) redefined in OS_Q - first definition prevails
Warning: Symbol _OSSemAccept (defined in uCOS_II) redefined in OS_SEM - first definition prevails
Warning: Symbol _OSSemCreate (defined in uCOS_II) redefined in OS_SEM - first definition prevails
Warning: Symbol _OSSemPend (defined in uCOS_II) redefined in OS_SEM - first definition prevails
Warning: Symbol _OSSemPost (defined in uCOS_II) redefined in OS_SEM - first definition prevails
Warning: Symbol _OSTaskChangePrio (defined in uCOS_II) redefined in OS_TASK - first definition prevails
Warning: Symbol _OSTaskCreate (defined in uCOS_II) redefined in OS_TASK - first definition prevails
Warning: Symbol _OSTaskCreateExt (defined in uCOS_II) redefined in OS_TASK - first definition prevails
Warning: Symbol _OSTaskStkChk (defined in uCOS_II) redefined in OS_TASK - first definition prevails
Warning: Symbol _OSTimeDly (defined in uCOS_II) redefined in OS_TIME - first definition prevails
Warning: Symbol _OSTimeDlyHMSM (defined in uCOS_II) redefined in OS_TIME - first definition prevails
Pass 2
Note: COFF output file is "D:\PORT_AQ430_449\aq_exe\uCOS_AQ430_PORT.rxc" 答 1: 这个问题很容易解决,想个方法让定义的文件先编译,你在使用了变量后又去编译定义
变量的文件,这不出问题才怪!!!!!! 答 2: 我的意思是原文件应该没有错误,但直接编译编出现许多问题,应是编译路径设置的问题
我想问的是应该在AQ430中如何设置,移植文件的目录如何设置,下载的源文件中涉及的路径应该为什么 答 3: 我做出来了,编译的问题
谢谢,newer 答 4: 你好,可以请教一下你是怎么解决掉这个编译问题的,我也碰到了相同的问题???
非常感谢!! 答 5: 引用: 答 6: 头文件没设置好.有些地方充分#include了
ucos移植到51和arm的文档和源代码:http://www.zlmcu.com/project/ucos_ii/ucos_ii.htm
共5条
1/1 1 跳转至页
回复
有奖活动 | |
---|---|
【有奖活动】分享技术经验,兑换京东卡 | |
话不多说,快进群! | |
请大声喊出:我要开发板! | |
【有奖活动】EEPW网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
与电子爱好者谈读图二被打赏50分 | |
【FRDM-MCXN947评测】Core1适配运行FreeRtos被打赏50分 | |
【FRDM-MCXN947评测】双核调试被打赏50分 | |
【CPKCORRA8D1B评测】---移植CoreMark被打赏50分 | |
【CPKCORRA8D1B评测】---打开硬件定时器被打赏50分 | |
【FRDM-MCXA156评测】4、CAN loopback模式测试被打赏50分 | |
【CPKcorRA8D1评测】--搭建初始环境被打赏50分 | |
【FRDM-MCXA156评测】3、使用FlexIO模拟UART被打赏50分 | |
【FRDM-MCXA156评测】2、rt-thread MCXA156 BSP制作被打赏50分 | |
【FRDM-MCXN947评测】核间通信MUTEX被打赏50分 |