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???
Sorry, I can't compile ARM projects. Stefan
The complete project can be found here: http://www.fabricius.nu/blinky.zip It is only 18 kbyte //Helge
Absolutely sure! Both time.c and blinky.c shows up in the project window. Both are compiled. Still... Why the "Z9" in the beginning of init_timer....?
Are you sure that: 1) time.c is definitely included in your project? 2) The declaration of init_time in time.c is *exactly* the same, ie void init_time(void)? Stefan
View all questions in Keil forum