Hello !
I have some trable with cteating of test project by RTX Kernal.
Trable in that: "Error: L6200E: Symbol os_tmr multiply defined (by rt_timer.o and rtx_conf_cm.o)."
piccy.info/.../
In case it most work, but I can't find where is multiply defined symbol ? Can you help me ?
It tells you explicitly:
"Error: L6200E: Symbol os_tmr multiply defined (by rt_timer.o and rtx_conf_cm.o)."
It is important to read the message carefully!
I undestand that, but project was created by Keil IDE and for some reason there is symbol os_tmr multiply defined in rt_timer.c and rtx_cm_lib.h !
rtx_cm_lib.h is locked file by Keil IDE when it was added in project and I can't refresh it ... What I must to do to goal overcome it ?
"there is symbol os_tmr multiply defined in rt_timer.c and rtx_cm_lib.h!"
No, that's not what the message said - look again:
Error: L6200E: Symbol os_tmr multiply defined (by rt_timer.o and rtx_conf_cm.o)
I now, but if you check any of this files, you'll find this symbol in it, and then understand that troble in this symbol !
What, exactly, do you mean by, "find this symbol in it" ?
Having multiple multiple references to a symbol is not a problem; Having multiple multiple declarations of a symbol is not a problem; It's having multiple definitions that the Linker is complaining about...
c-faq.com/.../decldef.html