AnsweredAssumed Answered

Error li1050 Multiply defined symbol in processor P0,in .\release file and .\debug file

Question asked by JackZhang on Jul 16, 2018
Latest reply on Jul 27, 2018 by Reva@14

I have a project using the ADSP 21479 board.  I was given the code to try out and imported the project into a new project in my workspace.

I build it in debug mode and it works fine.But I build it in release mode and it Prompt for the following error.

 I have tried refreshing, clean, close, opening the project.

 

The first error I get is the li1050 which in turn causes the linker error of cc3089.

 

How does select the .doj file in  .\release file and .\debug file when linking ?  Any ideas on what I can do to resolve the issue?

 

.\Code\WD.c
.\Code\WorkMode.c
Linking...

 

[Error li1050] '_AD5420ReadControlReg' ('AD5420ReadControlReg'): Multiply defined symbol in processor 'P0'.
Initial definition: '.\Release\AD5420.doj'
Attempted redefinition: '.\Debug\AD5420.doj'

 


[Error li1050] '_AD5420WriteControlReg' ('AD5420WriteControlReg'): Multiply defined symbol in processor 'P0'.
Initial definition: '.\Release\AD5420.doj'
Attempted redefinition: '.\Debug\AD5420.doj'

 


[Error li1050] '_AD5420ReadDataReg' ('AD5420ReadDataReg'): Multiply defined symbol in processor 'P0'.
Initial definition: '.\Release\AD5420.doj'
Attempted redefinition: '.\Debug\AD5420.doj'
..................

[Error li1050] '_WorkModeDataDeal' ('WorkModeDataDeal'): Multiply defined symbol in processor 'P0'.
Initial definition: '.\Release\WorkMode.doj'
Attempted redefinition: '.\Debug\WorkMode.doj'

 

Linker finished with 272 errors
cc3089: fatal error: Link failed
Tool failed with exit/exception code: 1.
Build was unsuccessful.

Outcomes