ARM Technical Support Knowledge Articles

LINKER CONTROL FILE CAUSES LINKER ERRORS

Applies to: uVision IDE

Answer


Information in this article applies to:


SYMPTOMS

When using uVision with linker control files, some customers have reported the following linker error messages:

*** FATAL ERROR 204: INVALID KEYWORD
    POS: 31
    C:KEILC166BINL166.EXE main.obj to test MAIN.OBJ #

or

*** FATAL ERROR 204: INVALID KEYWORD
    POS: 31
    C:KEILC51BINBL51.EXE main.obj to test MAIN.OBJ #

CAUSE

This error is caused when the object files for the project are included in the linker command file. The object file list is automatically generated by uVision. You should not add these files to the linker command file. The command file is intended only for the linker commands and controls.

RESOLUTION

Remove the object files from the linker command file and the linker will link your program correctly.

SEE ALSO

Article last edited on: 2004-06-29 09:56:07

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