This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS5.3, symbol "__divd" redefined in rts6740.lib and fastrts67x.lib

Other Parts Discussed in Thread: OMAPL138

in my project, i used the rts6740.lib and fastrts67x.lib,but when bulid the project, the error comes out : like this

error #10056: symbol "__divd" redefined: first defined in
"C:/ti/ccsv5/tools/compiler/c6000_7.4.1/lib/rts6740.lib<divd.obj>";
redefined in "D:\EDA_WORK\dsp\DMDP_arria\DSP\src\fastrts67x.lib<divdp.obj>"
error #10056: symbol "_sqrt" redefined: first defined in
"C:/ti/ccsv5/tools/compiler/c6000_7.4.1/lib/rts6740.lib<sqrt.obj>";
redefined in
"D:\EDA_WORK\dsp\DMDP_arria\DSP\src\fastrts67x.lib<sqrtdp.obj>"

what  should i do  to resolve the problem?

my target is OMAPL138

  • What is exact command line being passed to the linker? This should be visible in the CCS build console. Could you copy and paste the full output in the build console to a text file and attach it here?

    If the fastrts67x.lib appears on the command line after rts6740.lib, could you try passing it before rts6740.lib and see if that helps? You can change the link order of files by going to Project Properties->Build->Link Order tab.

  • AartiG, thank you. i change the link order ,and set the fastrts67x.lib higher than the "Generated linker Command files"the error disspear. Thank u.