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

Unresolved external

I started a new project with an LPC2106 cpu.
There are two files in it: blinky.c and time.c
In Blinky.c I declare:

extern void init_time(void);

And call it in the main function.
Function is written in time.c

When I link I get a undefined symbol report on init_time

If I look at blinky.lst I can see a call to a external symbol called: "Z9init_timev"
And if I look at time.lst I can see a global symbol "init_time"

Anyone know what I am doing wrong???

0