|
|
前往: |
| 求教UCOS 移植STM32F103VE编译时出现的错误 |
| 发表人 | 内容 | |
|---|---|---|
| 2011/12/08 10:14 |
|
|
|
[楼主位] yuanhe249
等级:
注册时间:![]() 2011/09/06 16:39 文章: 44 离线 |
.\out\ce.axf: Error: L6200E: Symbol OSEventTbl multiply defined (by ucos_ii.o and os_core.o).
.\out\ce.axf: Error: L6200E: Symbol OSFlagTbl multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSTaskStatStk multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSTaskIdleStk multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSTCBPrioTbl multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSTCBTbl multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSMemTbl multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSQTbl multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSMapTbl multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSUnMapTbl multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSCtxSwCtr multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSEventFreeList multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSFlagFreeList multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSCPUUsage multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSIdleCtrMax multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSIdleCtrRun multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSStatRdy multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSIntNesting multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSIntExitY multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSLockNesting multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSPrioCur multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSPrioHighRdy multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSRdyGrp multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSRdyTbl multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSRunning multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSTaskCtr multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSIdleCtr multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSTCBCur multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSTCBFreeList multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSTCBHighRdy multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSTCBList multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSMemFreeList multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSQFreeList multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSTime multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OS_TaskStat multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OS_TaskIdle multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSInit multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSIntEnter multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSIntExit multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSSchedLock multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OS_Sched multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSSchedUnlock multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSStart multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSStatInit multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSTimeTick multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSVersion multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OS_Dummy multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OS_EventTaskRdy multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OS_EventTaskWait multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OS_EventTO multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OS_EventWaitListInit multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OS_TCBInit multiply defined (by ucos_ii.o and os_core.o). .\out\ce.axf: Error: L6200E: Symbol OSTaskCreateExt multiply defined (by ucos_ii.o and os_task.o). .\out\ce.axf: Error: L6200E: Symbol OSTimeDly multiply defined (by ucos_ii.o and os_time.o). .\out\ce.axf: Error: L6200E: Symbol OS_FlagInit multiply defined (by ucos_ii.o and os_flag.o). .\out\ce.axf: Error: L6200E: Symbol OS_MemInit multiply defined (by ucos_ii.o and os_mem.o). .\out\ce.axf: Error: L6200E: Symbol OS_QInit multiply defined (by ucos_ii.o and os_q.o). .\out\ce.axf: Error: L6200E: Symbol OSFlagAccept multiply defined (by ucos_ii.o and os_flag.o). .\out\ce.axf: Error: L6200E: Symbol OSFlagCreate multiply defined (by ucos_ii.o and os_flag.o). .\out\ce.axf: Error: L6200E: Symbol OS_FlagUnlink multiply defined (by ucos_ii.o and os_flag.o). .\out\ce.axf: Error: L6200E: Symbol OSFlagDel multiply defined (by ucos_ii.o and os_flag.o). .\out\ce.axf: Error: L6200E: Symbol OSFlagPend multiply defined (by ucos_ii.o and os_flag.o). .\out\ce.axf: Error: L6200E: Symbol OSFlagPost multiply defined (by ucos_ii.o and os_flag.o). .\out\ce.axf: Error: L6200E: Symbol OSFlagQuery multiply defined (by ucos_ii.o and os_flag.o). .\out\ce.axf: Error: L6200E: Symbol OSMboxAccept multiply defined (by ucos_ii.o and os_mbox.o). .\out\ce.axf: Error: L6200E: Symbol OSMboxCreate multiply defined (by ucos_ii.o and os_mbox.o). .\out\ce.axf: Error: L6200E: Symbol OSMboxDel multiply defined (by ucos_ii.o and os_mbox.o). .\out\ce.axf: Error: L6200E: Symbol OSMboxPend multiply defined (by ucos_ii.o and os_mbox.o). .\out\ce.axf: Error: L6200E: Symbol OSMboxPost multiply defined (by ucos_ii.o and os_mbox.o). .\out\ce.axf: Error: L6200E: Symbol OSMboxPostOpt multiply defined (by ucos_ii.o and os_mbox.o). .\out\ce.axf: Error: L6200E: Symbol OSMboxQuery multiply defined (by ucos_ii.o and os_mbox.o). .\out\ce.axf: Error: L6200E: Symbol OSMemCreate multiply defined (by ucos_ii.o and os_mem.o). .\out\ce.axf: Error: L6200E: Symbol OSMemGet multiply defined (by ucos_ii.o and os_mem.o). .\out\ce.axf: Error: L6200E: Symbol OSMemPut multiply defined (by ucos_ii.o and os_mem.o). .\out\ce.axf: Error: L6200E: Symbol OSMemQuery multiply defined (by ucos_ii.o and os_mem.o). .\out\ce.axf: Error: L6200E: Symbol OSMutexAccept multiply defined (by ucos_ii.o and os_mutex.o). .\out\ce.axf: Error: L6200E: Symbol OSMutexCreate multiply defined (by ucos_ii.o and os_mutex.o). .\out\ce.axf: Error: L6200E: Symbol OSMutexDel multiply defined (by ucos_ii.o and os_mutex.o). .\out\ce.axf: Error: L6200E: Symbol OSMutexPend multiply defined (by ucos_ii.o and os_mutex.o). .\out\ce.axf: Error: L6200E: Symbol OSMutexPost multiply defined (by ucos_ii.o and os_mutex.o). .\out\ce.axf: Error: L6200E: Symbol OSMutexQuery multiply defined (by ucos_ii.o and os_mutex.o). .\out\ce.axf: Error: L6200E: Symbol OSQAccept multiply defined (by ucos_ii.o and os_q.o). .\out\ce.axf: Error: L6200E: Symbol OSQCreate multiply defined (by ucos_ii.o and os_q.o). .\out\ce.axf: Error: L6200E: Symbol OSQDel multiply defined (by ucos_ii.o and os_q.o). .\out\ce.axf: Error: L6200E: Symbol OSQFlush multiply defined (by ucos_ii.o and os_q.o). .\out\ce.axf: Error: L6200E: Symbol OSQPend multiply defined (by ucos_ii.o and os_q.o). .\out\ce.axf: Error: L6200E: Symbol OSQPost multiply defined (by ucos_ii.o and os_q.o). .\out\ce.axf: Error: L6200E: Symbol OSQPostFront multiply defined (by ucos_ii.o and os_q.o). .\out\ce.axf: Error: L6200E: Symbol OSQPostOpt multiply defined (by ucos_ii.o and os_q.o). .\out\ce.axf: Error: L6200E: Symbol OSQQuery multiply defined (by ucos_ii.o and os_q.o). .\out\ce.axf: Error: L6200E: Symbol OSSemAccept multiply defined (by ucos_ii.o and os_sem.o). .\out\ce.axf: Error: L6200E: Symbol OSSemCreate multiply defined (by ucos_ii.o and os_sem.o). .\out\ce.axf: Error: L6200E: Symbol OSSemDel multiply defined (by ucos_ii.o and os_sem.o). .\out\ce.axf: Error: L6200E: Symbol OSSemPend multiply defined (by ucos_ii.o and os_sem.o). .\out\ce.axf: Error: L6200E: Symbol OSSemPost multiply defined (by ucos_ii.o and os_sem.o). .\out\ce.axf: Error: L6200E: Symbol OSSemQuery multiply defined (by ucos_ii.o and os_sem.o). .\out\ce.axf: Error: L6200E: Symbol OSTaskChangePrio multiply defined (by ucos_ii.o and os_task.o). .\out\ce.axf: Error: L6200E: Symbol OSTaskCreate multiply defined (by ucos_ii.o and os_task.o). .\out\ce.axf: Error: L6200E: Symbol OSTaskDel multiply defined (by ucos_ii.o and os_task.o). .\out\ce.axf: Error: L6200E: Symbol OSTaskDelReq multiply defined (by ucos_ii.o and os_task.o). .\out\ce.axf: Error: L6200E: Symbol OSTaskResume multiply defined (by ucos_ii.o and os_task.o). .\out\ce.axf: Error: L6200E: Symbol OSTaskStkChk multiply defined (by ucos_ii.o and os_task.o). .\out\ce.axf: Error: L6200E: Symbol OSTaskSuspend multiply defined (by ucos_ii.o and os_task.o). .\out\ce.axf: Error: L6200E: Symbol OSTaskQuery multiply defined (by ucos_ii.o and os_task.o). .\out\ce.axf: Error: L6200E: Symbol OSTimeDlyHMSM multiply defined (by ucos_ii.o and os_time.o). .\out\ce.axf: Error: L6200E: Symbol OSTimeDlyResume multiply defined (by ucos_ii.o and os_time.o). .\out\ce.axf: Error: L6200E: Symbol OSTimeGet multiply defined (by ucos_ii.o and os_time.o). .\out\ce.axf: Error: L6200E: Symbol OSTimeSet multiply defined (by ucos_ii.o and os_time.o). 请求帮助 这篇文章被编辑了 1 次. 最近一次更新是在 2011/12/08 11:30 |
|
|
||
| 2011/12/08 10:57 |
|
|
|
[1楼] 正点原子
等级:
注册时间:![]() 2010/12/02 10:41 文章: 8097 来自: 湖南 在线 |
回复【楼主位】 yuanhe249 :
--------------------------------- 直接用我们的例程修改吧。 或者先自己建立几个简单的工程先。 这篇文章被编辑了 1 次. 最近一次更新是在 2011/12/08 10:58 |
|
|
我的淘宝小店:http://shop62103354.taobao.com |
||
|
||
| 2011/12/08 11:48 |
|
|
|
[2楼] yuanhe249
等级:
注册时间:![]() 2011/09/06 16:39 文章: 44 离线 |
回复【1楼】 正点原子 :
--------------------------------- 我把程序上传了 麻烦你帮我看看可以吗? |
|
|
||
| 2011/12/08 12:24 |
|
|
|
[3楼] 正点原子
等级:
注册时间:![]() 2010/12/02 10:41 文章: 8097 来自: 湖南 在线 |
回复【2楼】 yuanhe249 :
--------------------------------- 最烦的就是帮人看代码。 叫我帮你看还不如帮你写。 直接用我们的工程有问题么? |
|
|
我的淘宝小店:http://shop62103354.taobao.com |
||
|
||
| 2011/12/08 13:16 |
|
|
|
[4楼] yuanhe249
等级:
注册时间:![]() 2011/09/06 16:39 文章: 44 离线 |
回复【3楼】 正点原子 :
--------------------------------- 你们的是寄存器控制 我想用库控制 |
|
|
||
| 2011/12/08 13:41 |
|
|
|
[5楼] 正点原子
等级:
注册时间:![]() 2010/12/02 10:41 文章: 8097 来自: 湖南 在线 |
回复【4楼】 yuanhe249 :
--------------------------------- 一样的移植。 你先试试寄存器的自己能否搞定吧。 你上面那一堆的错误都是提示你重定义了,解决这个问题,就可以少很多错误了。 |
|
|
我的淘宝小店:http://shop62103354.taobao.com |
||
|
||
| 2011/12/08 15:47 |
|
|
|
[6楼] yuanhe249
等级:
注册时间:![]() 2011/09/06 16:39 文章: 44 离线 |
回复【5楼】 正点原子 :
--------------------------------- 要是用寄存器你那版本 我自己能搞定,带库的ucos移植模板你们能不能帮忙做个啊,像我这样不会弄的人太多了 |
|
|
||
| 2011/12/08 16:13 |
|
|
|
[7楼] 正点原子
等级:
注册时间:![]() 2010/12/02 10:41 文章: 8097 来自: 湖南 在线 |
回复【6楼】 yuanhe249 :
--------------------------------- 回头有时间我给整一个。 |
|
|
我的淘宝小店:http://shop62103354.taobao.com |
||
|
||
| 2011/12/08 18:06 |
|
|
|
[8楼] trochili
等级:
注册时间:![]() 2011/02/11 20:24 文章: 142 离线 |
我怀疑是头文件没弄好,重复包含了,
1 然后里面的结构就多次定义,必然出错 2 函数也会重复定义 |
|
|
||
| 2011/12/09 08:56 |
|
|
|
[9楼] yuanhe249
等级:
注册时间:![]() 2011/09/06 16:39 文章: 44 离线 |
恩 我也是这么想的,怀疑是库本身定义一次,ucos又定义一次,原子哥 最好做成视频的,嘿嘿
|
|
|
||
| 2011/12/09 10:50 |
|
|
|
[10楼] 正点原子
等级:
注册时间:![]() 2010/12/02 10:41 文章: 8097 来自: 湖南 在线 |
这篇文章被编辑了 1 次. 最近一次更新是在 2011/12/09 10:51 |
|
|
我的淘宝小店:http://shop62103354.taobao.com |
||
|
||
| 2011/12/09 11:37 |
|
|
|
[11楼] yuanhe249
等级:
注册时间:![]() 2011/09/06 16:39 文章: 44 离线 |
回复【10楼】 正点原子 :
--------------------------------- 原子哥 ,十分感谢! |
|
|
||
| 2011/12/10 11:26 |
|
|
|
[12楼] teclimber
等级:
注册时间:![]() 2011/11/15 09:00 文章: 128 来自: 北京 离线 |
回复【楼主位】 yuanhe249 :
--------------------------------- 肯定是你在建立工程的时候把CORE/UCOS_II.c加入到了工程里了,我也遇到过这个问题,你把它去掉就OK啦 |
|
|
||
| 2011/12/14 10:54 |
|
|
|
[13楼] yuanhe249
等级:
注册时间:![]() 2011/09/06 16:39 文章: 44 离线 |
回复【12楼】 teclimber :
--------------------------------- 是那的毛病,谢谢你! |
|
|
||
| 2012/02/21 23:35 |
|
|
|
[14楼] libing64
等级:
注册时间:![]() 2012/02/15 13:58 文章: 43 离线 |
回复【12楼】 teclimber :
--------------------------------- 我也遇到此问题~谢谢啊~可是我把uCOS_II.c去掉后总是说有几个单词未定义~那叫一个蛋疼啊~ |
|
|
||
|
|
||
|
| 前往: |