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

Linker Error - os_tmr

Hello All,

I'm having the same issue as was reported here - but this thread was seemingly unanswered:

http://www.keil.com/forum/58911/

I'm seeing this:

Error: L6200E: Symbol os_tmr multiply defined (by rt_timer.o and rtx_conf_cm5.o).

Before someone tells me to upgrade to the latest; for this project I'm using RTX v. 1.0 and the lib version is 4.79. I'm having to stay at these levels right now due to numerous issues.

I don't have control over what the IDE selects as the lib that gets linked in - and rt_timer.c is being linked in by that.

Also, the rtx_conf_cm5.c file is just a config file; there are no explicit os_tmr (rtx_tmr) functions in that.

Thanks In Advance,
John W.

  • To All:

    I think I may have found the issue here:

    In RTX_CM_lib.h:

    /* Legacy RTX User Timers not used */
    #if 0
    extern
    uint32_t os_tmr;
    uint32_t os_tmr = 0U;
    #endif

    If I # define that out - I am no longer getting the error.

    This seems to be some type of compatibility issue that should be known.

    Regards,
    John W.