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

LNK2005 Error for Internal Subprograms

pjh_gn
Beginner
193 Views

I have a LNK2005 error complaining about 2 internal subprograms (in different modules) with the same name. The linker sees 2 copies of the (decorated) object name 'subprogram name':BLK_debug_param_const.

The Debugging/Information for Parameter Constants setting is on "All" and the linker error goes away when I set it to "None" or "Used in Program". Is this a known issue? I tried to reproduce with a simpler program but couldn't, sorry.

0 Kudos
1 Reply
Steven_L_Intel1
Employee
193 Views
That's not an issue I'm familiar with. If you're seeing this in the 9.1.029 compiler, please send a test case (even a big one if necessary) to Intel Premier Support.
0 Kudos
Reply