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.

error #10056 symbol"_all"redefined

Other Parts Discussed in Thread: TMS320F28377D

Hi guys,

I am trying to build debug for project on CCS. But CCS gives the following error information.

error #10056: symbol "_all" redefined: first defined in "./main.obj"; redefined in "./drivers/adis.obj"
error #10056: symbol "_all" redefined: first defined in "./main.obj"; redefined in "./drivers/ahrs.obj"

error #10056: symbol "_all" redefined: first defined in "./main.obj"; redefined in "./device/F2837xD_CpuTimers.obj"
error #10056: symbol "_all" redefined: first defined in "./main.obj"; redefined in "./device/F2837xD_DefaultISR.obj"

I can't figure out the reason. Any advice will be appreciated.

coding environment:window 7 64-bit sp1, ccs compiler v6.4.11,    chip TI TMS320F28377d

  • There are a few different ways this could happen. Here is my guess. I suspect you have a variable named "all" that is defined (not just declared) in a header file, and this header file is included in main.c, adis.c, and so on.  Please see this FAQ (not from TI) for more on this topic.

    Thanks and regards,

    -George