Keil Logo

ARM: Building Legacy Middleware example fails

Information in this knowledgebase article applies to:

  • MDK-ARM Version 5 with Legacy Pack installed


With MDK-ARM V5 I have also installed the Legacy Pack for Cortex-M or ARM7/9, Cortex R devices.

I like to build an RL-ARM example project, but I see an error message like:

error: L6002U: Could not open file C:\Keil\ARM\RV31\LIB\TCP_ARM_L.lib:
No such file or directory


The example projects associated with the Legacy Pack installation refer to a MDK-ARM V5 installation at the C:\Keil-folder.

But you probably have installed MDK-ARM V5 into a different folder than C:\Keil


It is necessary to redirect the library files of the Legacy Pack projects to your current installation folder.

  1. open µVision
  2. at the project folder right-click above the each library included
  3. select Options for file
  4. correct the Path according to your MDK-ARM V5 installation folder, i.e. C:\Keil_v515
  5. finally again link your project

The screenshot below offers a demonstration:



Last Reviewed: Monday, July 27, 2015

Did this article provide the answer you needed?
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.