link error for mixed Visual Fortran & VC programming

link error for mixed Visual Fortran & VC programming

I have a mixed-language project, where the main C function is calling seperate Fortran90 and C modules.
I get the following linker error:
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).

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

Steve already provided solution to that problem here


Message Edited by on 12-09-2005 09:45 AM

Thanks a lot Arthur.

Kommentar hinterlassen

Bitte anmelden, um einen Kommentar hinzuzufügen. Sie sind noch nicht Mitglied? Jetzt teilnehmen