PRB: L1089 Error Caused by Incorrect Linker Version (64180)



The information in this article applies to:

  • Microsoft LINK for MS-DOS 3.x
  • Microsoft LINK for MS-DOS 4.x
  • Microsoft LINK for MS-DOS 5.0x
  • Microsoft LINK for MS-DOS 5.1x
  • Microsoft LINK for MS-DOS 5.3
  • Microsoft LINK for MS-DOS 5.31.009
  • Microsoft LINK for MS-DOS 5.5
  • Microsoft LINK for MS-DOS 5.6
  • Microsoft LINK for OS/2 5.0x
  • Microsoft LINK for OS/2 5.1
  • Microsoft LINK for OS/2 5.11
  • Microsoft LINK for OS/2 5.13
  • Microsoft LINK for OS/2 5.15

This article was previously published under Q64180

SYMPTOMS

An attempt to link an application fails and Microsoft LINK displays the following message:
LINK : fatal error L1089: filename : cannot open response file

CAUSE

The version of Microsoft LINK in use is earlier than the linker version provided with the Microsoft language product. This can occur when the PATH environment variable lists an operating system directory that contains a copy of Microsoft LINK before the directory that contains the language product.

NOTE: With Microsoft Fortran version 5.1, this same message may be displayed if the source file does not have a ".for" extension.

RESOLUTION

To address this situation, perform one of the following two steps:

  • Modify the PATH environment variable to list the directory with the correct linker before any other directories that contain a copy of Microsoft LINK.
  • Change the name of other versions of Microsoft LINK to LINK.OLD to prevent them from being used accidentally while allowing the file to be recovered for use if necessary.

Modification Type:MajorLast Reviewed:10/23/2003
Keywords:kb16bitonly KB64180