Q85870: FIX: L1035 Error, FUNCTIONS Statement First in .DEF File
Article: Q85870
Product(s): Microsoft Programming Utilities
Version(s): MS-DOS:5.3
Operating System(s):
Keyword(s): kb16bitonly
Last Modified: 29-OCT-1999
-------------------------------------------------------------------------------
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 query words: 5.30
======================================================================
Keywords : kb16bitonly
Technology : kbAudDeveloper kbZNotKeyword3 kbLINKSearch kbLINK530DOS
Version : MS-DOS:5.3
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.
Copyright Microsoft Corporation 1986-2002.