Q31563: Linking FORTRAN and C, "L2044 _FF_MsgBanner Multiply Defined"
Article: Q31563
Product(s): See article
Version(s): 5.00 5.10
Operating System(s): MS-DOS
Keyword(s): ENDUSER | h_fortran 4.00 4.01 | mspl13_c
Last Modified: 16-JUN-1988
Problem:
When linking FORTRAN and C modules, I receive the error "L2044
_FF_MsgBanner Symbol Multiply Defined." I have set up FORTRAN for C
compatibility, and I am linking with the /NOE switch.
Response:
When using FORTRAN Versions 4.00 or 4.01 with C, you need to run
the F4COMPAT file to make your FORTRAN libraries C compatible because
FORTRAN Versions 4.00 and 4.01 were written in C Version 4.00.
If the /NOD switch is used, altering the order of the libraries may
change the error message received. When the FORTRAN library is first,
the error may be "Floating Point Not Loaded." When the C library is
first, the error will be "Symbol Multiply Defined."
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.