社区导航

 

搜索
查看: 873|回复: 1

[求助] 调试时总是出现错误

[复制链接]

2

TA的帖子

0

TA的资源

一粒金砂(初级)

Rank: 1

发表于 2017-12-5 16:31 | 显示全部楼层 |阅读模式
错误如下:(是不是软件没装好)
error: symbol "_InitSciGpio" redefined: first defined in "./c
   source/DSP2833x_Sci1.obj"; redefined in "./c source/DSP2833x_Sci.obj"
error: symbol "_InitSci" redefined: first defined in "./c
   source/DSP2833x_Sci1.obj"; redefined in "./c source/DSP2833x_Sci.obj"
error: symbol "_InitScicGpio" redefined: first defined in "./c
   source/DSP2833x_Sci1.obj"; redefined in "./c source/DSP2833x_Sci.obj"
error: symbol "_InitScibGpio" redefined: first defined in "./c
   source/DSP2833x_Sci1.obj"; redefined in "./c source/DSP2833x_Sci.obj"
error: symbol "_InitSciaGpio" redefined: first defined in "./c
   source/DSP2833x_Sci1.obj"; redefined in "./c source/DSP2833x_Sci.obj"
error: symbol "_PieVectTableInit" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedPieVect.obj"; redefined in "./c
   source/DSP2833x_PieVect.obj"
error: symbol "_InitPieVectTable" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedPieVect.obj"; redefined in "./c
   source/DSP2833x_PieVect.obj"
error: symbol "_InitMcbspb32bit" redefined: first defined in "./c
   source/DSP2833x_Mcbsp1.obj"; redefined in "./c source/DSP2833x_Mcbsp.obj"
error: symbol "_InitMcbspa8bit" redefined: first defined in "./c
   source/DSP2833x_Mcbsp1.obj"; redefined in "./c source/DSP2833x_Mcbsp.obj"
error: symbol "_InitMcbspa32bit" redefined: first defined in "./c
   source/DSP2833x_Mcbsp1.obj"; redefined in "./c source/DSP2833x_Mcbsp.obj"
error: symbol "_InitMcbspaGpio" redefined: first defined in "./c
   source/DSP2833x_Mcbsp1.obj"; redefined in "./c source/DSP2833x_Mcbsp.obj"
error: symbol "_InitMcbspGpio" redefined: first defined in "./c
   source/DSP2833x_Mcbsp1.obj"; redefined in "./c source/DSP2833x_Mcbsp.obj"
error: symbol "_delay_loop" redefined: first defined in "./c
   source/DSP2833x_Mcbsp1.obj"; redefined in "./c source/DSP2833x_Mcbsp.obj"
error: symbol "_InitMcbspb24bit" redefined: first defined in "./c
   source/DSP2833x_Mcbsp1.obj"; redefined in "./c source/DSP2833x_Mcbsp.obj"
error: symbol "_InitMcbsp" redefined: first defined in "./c
   source/DSP2833x_Mcbsp1.obj"; redefined in "./c source/DSP2833x_Mcbsp.obj"
error: symbol "_InitMcbspa24bit" redefined: first defined in "./c
   source/DSP2833x_Mcbsp1.obj"; redefined in "./c source/DSP2833x_Mcbsp.obj"
error: symbol "_InitMcbspb16bit" redefined: first defined in "./c
   source/DSP2833x_Mcbsp1.obj"; redefined in "./c source/DSP2833x_Mcbsp.obj"
error: symbol "_InitMcbspa16bit" redefined: first defined in "./c
   source/DSP2833x_Mcbsp1.obj"; redefined in "./c source/DSP2833x_Mcbsp.obj"
error: symbol "_InitMcbspa" redefined: first defined in "./c
   source/DSP2833x_Mcbsp1.obj"; redefined in "./c source/DSP2833x_Mcbsp.obj"
error: symbol "_InitMcbspb" redefined: first defined in "./c
   source/DSP2833x_Mcbsp1.obj"; redefined in "./c source/DSP2833x_Mcbsp.obj"
error: symbol "_clkg_delay_loop" redefined: first defined in "./c
   source/DSP2833x_Mcbsp1.obj"; redefined in "./c source/DSP2833x_Mcbsp.obj"
error: symbol "_InitMcbspb20bit" redefined: first defined in "./c
   source/DSP2833x_Mcbsp1.obj"; redefined in "./c source/DSP2833x_Mcbsp.obj"
error: symbol "_InitMcbspa20bit" redefined: first defined in "./c
   source/DSP2833x_Mcbsp1.obj"; redefined in "./c source/DSP2833x_Mcbsp.obj"
error: symbol "_InitMcbspb8bit" redefined: first defined in "./c
   source/DSP2833x_Mcbsp1.obj"; redefined in "./c source/DSP2833x_Mcbsp.obj"
error: symbol "_InitMcbspb12bit" redefined: first defined in "./c
   source/DSP2833x_Mcbsp1.obj"; redefined in "./c source/DSP2833x_Mcbsp.obj"
error: symbol "_InitMcbspa12bit" redefined: first defined in "./c
   source/DSP2833x_Mcbsp1.obj"; redefined in "./c source/DSP2833x_Mcbsp.obj"
error: symbol "_InitMcbspbGpio" redefined: first defined in "./c
   source/DSP2833x_Mcbsp1.obj"; redefined in "./c source/DSP2833x_Mcbsp.obj"
error: symbol "_ECAN1INTA_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_USER10_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_USER5_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_ECAP4_INT_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_ECAN1INTB_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_SCITXINTB_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_SCIRXINTB_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_INT14_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_USER4_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_EPWM6_INT_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_XINT1_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_USER12_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_USER7_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_EMUINT_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_ECAN0INTA_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_ECAP3_INT_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_rsvd_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_USER6_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_ILLEGAL_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_ECAN0INTB_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_SPITXINTA_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_SPIRXINTA_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_SCITXINTA_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_SCIRXINTA_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_USER1_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_EPWM5_INT_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_XINT2_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_ECAP2_INT_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_USER3_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_EPWM4_INT_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_USER2_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_INT13_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_ECAP1_INT_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_EPWM3_TZINT_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_NMI_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_EPWM3_INT_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_WAKEINT_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_EPWM6_TZINT_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_ADCINT_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_SEQ2INT_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_EPWM2_INT_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_EPWM5_TZINT_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_RTOSINT_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_EQEP2_INT_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_I2CINT1A_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_TINT0_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_EPWM1_INT_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_SEQ1INT_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_EPWM2_TZINT_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_EQEP1_INT_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_I2CINT2A_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_DATALOG_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_USER9_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_EPWM1_TZINT_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_USER8_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_EPWM4_TZINT_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_PIE_RESERVED" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_EMPTY_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
error: symbol "_USER11_ISR" redefined: first defined in "./c
   source/DSP2833x_SWPrioritizedDefaultIsr.obj"; redefined in "./c
   source/DSP2833x_DefaultIsr.obj"
"../28335_RAM_lnk.cmd", line 125: error: placement fails for object ".text",
   size 0x16cb (page 0).  Available ranges:
   RAML1        size: 0x1000       unused: 0x1000       max hole: 0x1000   
error: errors encountered during linking; "text2.out" not built

>> Compilation failure
E:\CCS\CCS4\ccsv4\utils\gmake\gmake: *** [text2.out] Error 1
E:\CCS\CCS4\ccsv4\utils\gmake\gmake: Target `all' not remade because of errors.
Build complete for project text2



回复

使用道具 举报

3658

TA的帖子

11

TA的资源

五彩晶圆(高级)

Rank: 9Rank: 9Rank: 9

发表于 2017-12-8 12:51 | 显示全部楼层
一些符号出现了 重定义,你看对应的是在哪两个文件中有定义。其中一个应该是不需要的。是不是路径设置方面,导致了这个情况。


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

关闭

站长推荐上一条 /5 下一条

  • 论坛活动 E手掌握

    扫码关注
    EEWORLD 官方微信

  • EE福利  唾手可得

    扫码关注
    EE福利 唾手可得

Archiver|手机版|小黑屋|电子工程世界 ( 京ICP证 060456 )

GMT+8, 2020-2-24 10:54 , Processed in 0.110616 second(s), 17 queries , Gzip On, MemCache On.

快速回复 返回顶部 返回列表