Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28456 Discussions

link error for mixed Visual Fortran & VC programming

Intel_C_Intel
Employee
390 Views
I have a mixed-language project, where the main C function is calling seperate Fortran90 and C modules.
I get the following linker error:
--------------------------------------------------------
Linking...
dformt.lib(matherr.obj) : error LNK2005: __matherr already defined in LIBCMTD.lib(matherr.obj)
bin/RtaffD.exe : fatal error LNK1169: one or more multiply defined symbols found
Error executing link.exe.

RtaffD.exe - 2 error(s), 1 warning(s)
---------------------------------------------------------
I could not find how to override this from the C/C++ or Fotran tabs in the project setting dialog. Anybody knows how to do that ? Any help?

I'm using Visual Fortran 6.1 & VC++ 6.0 (service pack 4).
Thanks.
0 Kudos
2 Replies
Intel_C_Intel
Employee
390 Views
Steve already provided solution to that problem here

Artur

Message Edited by intel.software.network.support on 12-09-2005 09:45 AM

0 Kudos
Intel_C_Intel
Employee
390 Views
Thanks a lot Arthur.
Adil
0 Kudos
Reply