FIX: L1035 Error, FUNCTIONS Statement First in .DEF File

Last reviewed: September 16, 1997
Article ID: Q85870
5.30 MS-DOS kbtool kberrmsg kbbuglist kbfixlist

The information in this article applies to:

  • Microsoft LINK for MS-DOS, version 5.3

SYMPTOMS

An attempt to link an application fails and Microsoft LINK generates the following message:

   L1035: syntax error in module-definition file

CAUSE

In the module-definition (.DEF) file, the FUNCTIONS statement is the first statement in the file.

RESOLUTION

Modify the module-definition file to place another statement before the FUNCTIONS statement. For example, you can specify the NAME statement before the FUNCTIONS statement, as follows:

   NAME test
   FUNCTIONS:MySeg _FuncName

STATUS

Microsoft has confirmed this to be a problem in LINK version 5.3 for MS- DOS. This problem was corrected in LINK version 5.31 for MS-DOS.

MORE INFORMATION

LINK version 5.3 introduces the FUNCTIONS statement to the module- definition file. The FUNCTIONS statement can place a function into a specified segment or into an overlay.


Additional reference words: 5.30
KBCategory: kbtool kberrmsg kbbuglist kbfixlist
KBSubcategory: MoveOverlay
Keywords : kb16bitonly
Solution Type : kbfix


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: September 16, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.