µVISION: LINKER CONTROL FILE CAUSES LINKER ERRORS
Information in this article applies to:
When using µVision with linker control files, some customers have reported the following linker error messages:
*** FATAL ERROR 204: INVALID KEYWORD POS: 31 C:\KEIL\C166\BIN\L166.EXE main.obj to test MAIN.OBJ #
*** FATAL ERROR 204: INVALID KEYWORD POS: 31 C:\KEIL\C51\BIN\BL51.EXE main.obj to test MAIN.OBJ #
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 µVision. You should not add these files to the linker command file. The command file is intended only for the linker commands and controls.
Remove the object files from the linker command file and the linker will link your program correctly.
Last Reviewed: Tuesday, June 29, 2004
of your data.