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

Linker error in debug mode when using member function from multiple modules

rogcar
Principiante
1.994 Vistas

Hello there,

I am stuck with the same problem that thomas_boehme faced a few days ago, in http://software.intel.com/en-us/forums/showthread.php?t=67007 . When I link the files in Debug mode, the "multiply defined symbols DYNTYPE_PACK_0 and TBPLIST_PACK_0" shows up, but in Release mode the erros goes away. But then, in runtime, another error shows up. In the attached file, you may notice that the routine calls itself for no reason (Notice the numbers in screen - The first line is correct, but the second comes from nowhere). In a bigger project, the same error leads to acall to a routine that has never been called elsewhere (it was still under development).

Any help would be greatly appreciated

Regards,
Roger

0 kudos
5 Respuestas
Lorri_M_Intel
Empleados
1.994 Vistas

I've reproduced the runtime failure, and have reported it into the problem reporting system. Its internal id is:
DPD200140130

I'm sure Steve will update this when a fixed release is available.

- Lorri
thomas_boehme
Nuevo Colaborador II
1.994 Vistas
The problem I originally reported has been fixed in the newest release 11.1.046. With that version, your test problem also builds well (both debug and release).

However, the fact that the routines calls itself although it should remains.

regards,
Thomas

rogcar
Principiante
1.994 Vistas
Thanks Lorri

Hope that you fix it soon.

Regards,
Rogerio

Steven_L_Intel1
Empleados
1.994 Vistas
The "calls the wrong routine" error has been fixed in our sources. The fix should appear in "Update 3", currently scheduled for late October.
Steven_L_Intel1
Empleados
1.994 Vistas
This is fixed in 11.1 Update 3.
Responder