This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Trouble linking STR7 program

Tag formatting does not seem to work - sorry!

I am trying to use the 71x_eic.c module in my program:

void EIC_Init (void)
{
  extern u32 T0TIMI_Addr;
  u8 bCounter;
  u32 dOffset = ((u32) & T0TIMI_Addr);

as you can see, "T0TIMI_Addr" has external linkage and is defined in the startup file, like this:

; Peripherals IRQ Handlers Address Table
EXPORT  T0TIMI_Addr
T0TIMI_Addr     DCD     T0TIMIIRQHandler

How can I solve this linking error, then?

Error: L6218E: Undefined symbol T0TIMI_Addr (referred from 71x_eic.o).