Software Archive
Read-only legacy content

LNK 2001 error

Intel_C_Intel
Employee
290 Views
I have an application that was previously linked and compiled under Compaq Fort ran I 6.1A ( and Visual Studio 6.0 ). I upgraded to Compaq Version 6.6 ( and Visual Studio SP 5 ) and now I get the following unresolved external link error

link error Linking...
LINK : warning LNK4075: ignoring /EDITANDCONTINUE due to /INCREMENTAL:NO specification
dfor.lib(for_init.obj) : error LNK2001: unresolved external symbol __pxcptinfoptrs
dfor.lib(for_m_qqs.obj) : error LNK2001: unresolved external symbol _errno
dfor.lib(for_portlib.obj) : error LNK2001: unresolved external symbol _errno
sa_dev_r.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.

sa_dev_r.exe - 4 error(s), 1 warning(s)

Help! Can anyone tell me how I can resolve the missing externals ( __pxcptinfoptrs and _errno )?
Thanks
Wayne
0 Kudos
1 Reply
Steven_L_Intel1
Employee
290 Views
I wonder if you had added some options such as /IGNORELIB or /NODEFAULTLIB. If so, remove them. Then go to Project..Settings..Fortran..Libraries and reselect the option there that matches what you have for C++..Code Generation.

Steve
0 Kudos
Reply