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

LNK2019: LNK1120 Unresolved External Symbol

sherryjones0410
Beginner
1,283 Views

PSSE33 and upgraded to IVF 2020 but using 2015 only for VS2010 compiler

Creating library C:\Users\xxxxxxx\.pssenvmgr\dsusr.lib and object C:\Users\xxxxxxx\.pssenvmgr\dsusr.exp

 libirc.lib(irc_msg_support.obj) : error LNK2019: unresolved external symbol ___stdio_common_vsprintf referenced in function ___libirc_get_msg

 libirc.lib(irc_msg_support.obj) : error LNK2019: unresolved external symbol ___acrt_iob_func referenced in function ___libirc_print

 libirc.lib(irc_msg_support.obj) : error LNK2019: unresolved external symbol ___stdio_common_vfprintf referenced in function ___libirc_print

 C:\Users\xxxxxxx\.pssenvmgr\dsusr.dll : fatal error LNK1120: 3 unresolved externals

I am IT Support assisting Engineering and have just upgraded IVF to 2020 ... PSSE34 is compiling fine but are having issues with PSSE33 at the Linkage portion.  Can you please assist?

Labels (1)
0 Kudos
3 Replies
mecej4
Honored Contributor III
1,274 Views

I do not know what PSSE33 is, but the symptoms suggest that you need to include an additional library at link time: the Microsoft legacy_stdio_definitions.lib . For more details, please see:

https://docs.microsoft.com/en-us/cpp/porting/overview-of-potential-upgrade-issues-visual-cpp?view=msvc-160

 

0 Kudos
JohnNichols
Valued Contributor III
1,269 Views

It appears to be a Siemens Power System engineering program, probably oldish. 

0 Kudos
Steve_Lionel
Honored Contributor III
1,235 Views

In case it wasn't clear from @mecej4's reply, this is really from upgrading Microsoft Visual Studio, not Intel Fortran. 

0 Kudos
Reply