KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q29135: Omitting .LIB Extension with BIND Gives U1268 Error

Article: Q29135
Product(s): See article
Version(s): 1.10 1.30 | 1.10 1.30
Operating System(s): MS-DOS | OS/2
Keyword(s): ENDUSER | s_bind | mspl13_basic
Last Modified: 15-JAN-1991

Question:

When I try to bind an application using the BIND utility, I receive
the following error message:

   BIND : fatal error U1268: duplicate infile given

This is my BIND command line:

   bind file.exe c:\c\lib\os2 c:\c\lib\api

What is causing this error?

Response:

This error occurs with BIND if you do not specify the .LIB extension
for the libraries, OS2.LIB and API.LIB. The correct command line is as
follows:

   bind file.exe c:\c\lib\os2.lib c:\c\lib\api.lib

Note that BIND version 1.00 displays the same error, but does not
display an error number.

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.