FIX: LINK Error L1098 From DEF File INCLUDE StatementLast reviewed: September 16, 1997Article ID: Q92606 |
5.31.009
MS-DOS
kbtool kberrmsg kbbuglist kbfixlist
The information in this article applies to:
SYMPTOMSWhen 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.extLINK generates the following error message:
fatal error L1098: cannot open include file 'basename' - No such file or directoryeven though the file BASENAME.EXT exists.
CAUSELINK 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.
RESOLUTIONPlace 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' STATUSMicrosoft 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
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |