link error for mixed Visual Fortran & VC programming

link error for mixed Visual Fortran & VC programming

Bild des Benutzers Community Admin

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.

3 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.
Bild des Benutzers Community Admin

Steve already provided solution to that problem here

Artur

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

Bild des Benutzers Community Admin

Thanks a lot Arthur.
Adil

Melden Sie sich an, um einen Kommentar zu hinterlassen.