ARM Technical Support Knowledge Articles

ERROR: L6218E: UNDEFINED SYMBOL OS_ERROR

Applies to: RealView Real-Time Library

Answer


Information in this knowledgebase article applies to:


SYMPTOM

I have installed MDK-ARM v4.03a (or newer) and when I compile my existing code, which uses Keil's RTOS, it throws the following error:

Error: L6218E: Undefined symbol os_error (referred from rt_task.o)

When I revert my tools back to the older version the error goes away. How do I use RTX with the newer tools?

CAUSE

As of MDK-ARM version 4.03a and RL-ARM version 4.05 the function os_stk_overflow() has been replaced by a generic error function os_error().

RESOLUTION

Add the new RTX_Config.c, which is configured to handle the new function call, to the project . RTX_Config.c can be found in the Keil directory: C:\Keil\ARM\Startup.

Copy this file to your project's source code directory then modify the file to match your current project's RTX_Config settings.

SEE ALSO

ATTACHED FILES

Request the files attached to this knowledgebase article.

Article last edited on: 2010-03-23 10:24:12

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential