ARM Technical Support Knowledge Articles

ERROR L6218E: UNDEFINED SYMBOL OS_FIFO

Applies to: RealView Real-Time Library

Answer


Information in this knowledgebase article applies to:


PROBLEM

After updating from an older MDK-ARM version, I now get the following linker error when I build my project:

my_app.axf: Error: L6218E: Undefined symbol os_fifo.
my_app.axf: Error: L6218E: Undefined symbol os_fifo_size

My project build without errors before. How do I fix this?

CAUSE

You are using an old RTX_Conf.c file which does not include these 2 definitions. These symbols are required internally by V4.12 of the RTX kernel.

RESOLUTION

Add the following lines to your RTX_Conf.c file:

#ifndef OS_FIFOSZ
 #define OS_FIFOSZ        16
#endif

/* Fifo Queue buffer for ISR requests.*/
U32 os_fifo[OS_FIFOSZ*2+1];
U8 const os_fifo_size = OS_FIFOSZ;

Then, rebuild your project.

ATTACHED FILES

Request the files attached to this knowledgebase article.

Article last edited on: 2010-08-24 06:49:26

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