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.

_d_int_val external symbol

Deleted_U_Intel
Employee
431 Views
Hi,
I have a program that is a mix of C++ and Fortran with the Fortran code compiled as a static library. In "debug mode" the program compiles and runsjust fine. When I switch to "release mode" I get the following error message:

besselfunctions_lib.lib(rjbesl.obj) : error LNK2019: unresolved external symbol _d_int_val referenced in function _RJBESL

besselfunctions_lib.lib(rybesl.obj) : error LNK2019: unresolved external symbol _d_int_val referenced in function _RYBESL

besselfunctions_lib.lib(dgamma.obj) : error LNK2019: unresolved external symbol _d_int_val referenced in function _DGAMMA

The Fortran (and C) source codes makeno calls to anything called "d_int_val." Can someone tell me what is going on? I tried searching for information on this string on the web but I could not find anything.

Many thanks in advance for any help,

Gonzalo

0 Kudos
1 Reply
Steven_L_Intel1
Employee
431 Views
That symbol is defined in libifcore.lib and its variants. The default for a static library is for it to not include directives to pull in specific language libraries. You will need to add libifcore to the list of libraries linked against in your C++ project's Release configuration. You may have already done this for the Debug configuration.
0 Kudos
Reply