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

81876798   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

回复评论 (1)

一些符号出现了 重定义,你看对应的是在哪两个文件中有定义。其中一个应该是不需要的。是不是路径设置方面,导致了这个情况。
点赞  2017-12-8 12:51
电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 京公网安备 11010802033920号
    写回复