C51: LINKING V6 LIBRARIES WITH V5 PROGRAMS
Information in this article applies to:
I have created several libraries using µVision2 and C51 Version 6.12.
I want to share these libraries with other developers who are using C51 V5.x. However, when they link in my library, they receive the following error message:
*** FATAL ERROR 220: INVALID INPUT MODULE
Libraries created with the Version 6 tools are not backwards-compatible with the Version 5 tools. There are a number of reasons that object modules (and therefore, libraries) are not compatible with older versions of the Keil tools:
It is still possible to link object files or librarys that were created with C51 Version 5 into projects created using C51 Version 6. The toolchain is upward-compatible in this way.
However, you cannot link object files or librarys that are created with a higher version (i.e. C51 Version 6.12) with the linker that was provided with older versions. Therefore, the BL51 Linker/Locater V3.7 that was shipped with C51 Version 5.50 will not accept files from Version 6. That's why you receive the Fatal Error 220 message.
Last Reviewed: Thursday, July 5, 2001
of your data.