Keil Logo

RL-ARM: ERROR L6218E: UNDEFINED SYMBOL OS_FIFO


Information in this knowledgebase article applies to:

  • MDK-ARM V4.12 and later

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.

Last Reviewed: Tuesday, August 24, 2010


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.