Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Multiply defined symbols

Svein-Atle_Engeseth
1,418 Views

Hi,

I get these errors after compiling a program, please see attachment.
They refer to multiply defined symbols like "for_close already defined in libifcoremdd.lib(libifcoremdd.dll)"

This happened  after I used a non intrinsic module in the program. The module contains one subroutine.
If I don't use the module, but add the subroutine to my program the errors go away.

The compiler version is 19.0.0.117

Any idea as to what is wrong?

Regards,

Svein-Atle Engeseth
 

0 Kudos
2 Replies
mecej4
Honored Contributor III
1,418 Views

You probably attempted to link objects and libraries, of which some had been compiled with the "multithreaded libraries" option and others with the "multithreaded dynamic libraries". Make sure to compile all the objects with one and the same option.

0 Kudos
Svein-Atle_Engeseth
1,418 Views

Hi mecej4,

Thank you. You are absolutely right, that was the problem.
Thanks.

Svein-Atle Engeseth

0 Kudos
Reply