FIX: L1035 Error When LIBRARY PRIVATELIB in .DEF FileLast reviewed: September 16, 1997Article ID: Q87543 |
5.30 | 5.31
MS-DOS | OS/2
kbtool kberrmsg kbbuglist kbfixlist
The information in this article applies to:
SYMPTOMSAn attempt to link an application fails and Microsoft LINK generates the following message:
L1035: syntax error in module-definition file CAUSEThe module-definition file includes the PRIVATELIB modifier to the LIBRARY statement. LINK incorrectly expects the PRIVATELIB modifier to be part of the NAME statement.
STATUSMicrosoft has confirmed this to be a problem in LINK version 5.3 for MS-DOS (distributed with Microsoft C/C++ version 7.0) and with LINK version 5.31 for OS/2. This problem was corrected in LINK version 5.31.009 (distributed with the C/C++ version 7.0a patch disk). To obtain the patch disk, obtain a disk from Microsoft. To obtain a disk in the United States, call Microsoft Product Support Services at (206) 454-2030. Outside the United States, contact the Microsoft subsidiary for your area. To locate your subsidiary, go to the Microsoft Web site http://www.microsoft.com/worldwide/default.htm
MORE INFORMATIONThe correct syntax for the LIBRARY statement is documented on page 613 of the Microsoft C/C++ "Environment and Tools" manual for version 7.0 as follows:
LIBRARY [<libraryname>] [PRIVATELIB] |
Additional reference words: 5.30
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |