OpenVINOTM,给你看得见的未来!>>
电子产品世界 » 论坛首页 » 综合技术 » 基础知识 » uCOS uCOS移植源程序编译有问题

共5条 1/1 1 跳转至

uCOS uCOS移植源程序编译有问题

院士
2006-12-22 22:43:00    评分
uCOS uCOS移植源程序编译有问题



关键词: 移植     源程序     编译     有问题    

院士
2006-12-22 22:43:00    评分
2楼
问 有问题啊编译出错为什么这么多警告啊
我用贵站的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了

菜鸟
2009-09-10 12:18:04    评分
3楼
ucos移植到51和arm的文档和源代码:http://www.zlmcu.com/project/ucos_ii/ucos_ii.htm

菜鸟
2012-09-07 14:54:15    评分
4楼
我也碰到类似的问题,能否详细说明下,谢谢!

专家
2012-09-07 15:20:30    评分
5楼
欢迎到Cortex-M版块来发帖。
我正在分享关于uC/OS-II的读书心得 。

共5条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]