ID: Q92606
5.31.009 MS-DOS kbtool kberrmsg kbbuglist kbfixlist
The information in this article applies to:
When the Microsoft Linker (LINK) version 5.31.009 is used to link a an application using information from a module definition (DEF) file and the DEF file contains an INCLUDE directive of the following form
INCLUDE basename.ext
LINK generates the following error message:
fatal error L1098: cannot open include file 'basename'
- No such file or directory
even though the file BASENAME.EXT exists.
LINK version 5.31.009, requires single quotation marks (') to delimit a file name that includes an extension. This requirement is not present in previous versions of LINK.
Place single quotation marks around the file name in the INCLUDE directive. For example, the following directive in a DEF file includes the BASENAME.EXT file:
INCLUDE 'basename.ext'
Microsoft has confirmed this to be a problem in LINK version 5.31.009. This problem was corrected in LINK version 5.5, distributed with Microsoft Visual C++ version 1.0 for Windows.
Additional reference words: 7.00 7.00a 5.30 5.3x KBCategory: kbtool kberrmsg kbbuglist kbfixlist KBSubcategory: LinkIss
Keywords : kb16bitonly
Solution Type : kbfix
Last Reviewed: September 17, 1997