KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q62178: L2025: B$VWINI, B$GRPRST, Symbols Multiply Defined

Article: Q62178
Product(s): See article
Version(s): 6.00
Operating System(s): MS-DOS
Keyword(s): ENDUSER | buglist6.00 fixlist6.00a | mspl13_c
Last Modified: 21-JAN-1991

When building programs with C version 6.00 using graphics functions
and the TXTONLY.OBJ file (to decrease the size of the executable
file), in certain cases the linker will return an L2025 for two
symbols.

The symbols B$VWINI and B$GRPRST are multiply defined in a program
with a call to _clearscreen. The link statement does include /NOE,
which is necessary to successfully link with the TXTONLY.OBJ file.

The following sample code produces the errors:

#include <graph.h>

void main (void)
{
   _clearscreen (_GCLEARSCREEN) ;
}

The program still functions correctly (it clears the screen).

Microsoft has confirmed this to be a problem in C version 6.00. This
problem was corrected in C version 6.00a.

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.