AnsweredAssumed Answered

Link Error in Timer Sample program - timer_m52259evb.mcp

Question asked by Letha Jacob on Aug 21, 2009
Latest reply on Sep 2, 2009 by Petr MacHala

Hi,

         In the sample program for timer[timer_m52259evb.mcp], I face the following linker errors:

-------------------------------------------------------------

Link Error: Undefined: "_timer_cancel"
Referenced from "main_task" in main.c
Link Error: Undefined: "_timer_create_component"
Referenced from "main_task" in main.c
Link Error: Undefined: "_timer_start_periodic_at_ticks"
Referenced from "main_task" in main.c
-------------------------------------------------------------

 

The header file <timer.h> has been included.

Is it because of any issue in the linking order of files?

 

How can I resolve this issue?  Kindly help.

 

Thanks,

Chen

Outcomes