Keil Logo

BL51: FATAL ERROR 204 (INVALID KEYWORD)


Information in this article applies to:

  • C51 Version 6.00 Beta
  • C51 Version 6.00

QUESTION

I want to create a linker map file without all of the line number information. In µVision2, under the project options' Listing tab, I un-check the Line Numbers option in the Linker Listing section. Then, when I build my project, I receive the following error message from the linker:

***FATAL ERROR L204: INVALID KEYWORD
    POS: 329
   ... PRINTCONTROLS (#

If I select Line Numbers, my project compiles and links with no errors. Is this a problem and is there a workaround?

ANSWER

Yes. This is a problem with µVision 2.04 and C51 V6.00 which has been corrected in µVision2 V2.04a and C51 V6.00e. There are several ways to resolve this problem:

  • You may download the latest updates from http://www.keil.com/update/.
  • As a workaround, you may specify the NOLINES directive in the Misc Controls section under the L51 Misc tab in the project options dialog box.

MORE INFORMATION

Last Reviewed: Tuesday, July 19, 2005


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.