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 when building project

Other Parts Discussed in Thread: HALCOGEN

I am trying build a project in CCS and i keep getting these errors.

error: symbol "adcNotification" redefined: first defined in "./sys_main.obj";
   redefined in "./notification.obj"
error: symbol "sciNotification" redefined: first defined in "./sys_main.obj";
   redefined in "./notification.obj"

i have started over from halcogen a few times. how do i fix these errors.

  • Hi Eric,

              This is because you redefined "adcNotification" and "sciNotification" in "sys_main.c" and "notification.c".   The "adcNotification" and "sciNotification" functions are already defined when you generate code with new versions of HALCoGen.    So the errors should disappear when you remove these notification functions in sys_main.c.

    Hope that my answer may help you.

    Best Regards,
    Shelford

  • Shelford,

    Thank you very much.