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

LNK1123 Error

Randall_M_
Beginner
1,378 Views

My Win-7 computer did an automatic update last night. No changes were made to my Visual FORTAN project, but when I try to build this morning, I get a fatal error LNK1123: failure during conversion to COEFF: file invalid or corrupt. I would imagine that others may have the same problem, unless it is due to something like an incomplete installation of the update.

Can someone please give some guidance on generating more detailed debugging information to see which file is invalid or corrupt?

Thank you,

Randy Martin

This is what the Help/About menu gives as currently installed products.

Microsoft Visual Studio 2010
Version 10.0.30319.1 RTMRel
Microsoft .NET Framework
Version 4.5.50938 RTMRel

Installed Version: Professional

Microsoft Office Developer Tools   01018-587-4175353-70846
Microsoft Office Developer Tools

Microsoft Visual C++ 2010   01018-587-4175353-70846
Microsoft Visual C++ 2010

Microsoft Visual Studio 2010 Team Explorer   01018-587-4175353-70846
Microsoft Visual Studio 2010 Team Explorer

Hotfix for Microsoft Visual Studio 2010 Professional - ENU (KB2542054)   KB2542054
This hotfix is for Microsoft Visual Studio 2010 Professional - ENU.
If you later install a more recent service pack, this hotfix will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/2542054.

Intel(R) Visual Fortran     Package ID: w_fcompxe_2013_sp1.1.139
Intel(R) Visual Fortran Composer XE 2013 SP1 Update 1 Integration for Microsoft Visual Studio* 2010, 14.0.0074.2010, Copyright (C) 2002-2013 Intel Corporation
* Other names and brands may be claimed as the property of others.

This product includes software developed at The Apache Software Foundation (http://www.apache.org/).

Portions of this software were originally based on the following:
- software copyright (c) 1999, IBM Corporation., http://www.ibm.com.
- software copyright (c) 1999, Sun Microsystems., http://www.sun.com.
- the W3C consortium (http://www.w3c.org) ,
- the SAX project (http://www.saxproject.org)
- voluntary contributions made by Paul Eng on behalf of the Apache Software Foundation that were originally developed at iClick, Inc., software copyright (c) 1999.

This product includes updcrc macro, Satchell Evaluations and Chuck Forsberg. Copyright (C) 1986 Stephen Satchell.

This product includes software developed by the MX4J project (http://mx4j.sourceforge.net).

This product includes ICU 1.8.1 and later.Copyright (c) 1995-2006 International Business Machines Corporation and others.

Portions copyright (c) 1997-2007 Cypress Semiconductor Corporation. All rights reserved.

This product includes XORP. Copyright (c) 2001-2004 International Computer Science Institute

This product includes software from the book "Linux Device Drivers" by Alessandro Rubini and Jonathan Corbet, published by O'Reilly & Associates.

This product includes hashtab.c. Bob Jenkins, 1996.

Intel® C++ Composer XE 2013 SP1   Package ID: w_ccompxe_2013_sp1.1.139
Intel® C++ Composer XE 2013 SP1 Update 1 Integration for Microsoft* Visual Studio* 2010, Version 14.0.1278.2010, Copyright © 2002-2013 Intel Corporation. All rights reserved.
* Other names and brands may be claimed as the property of others

This product includes software developed at The Apache Software Foundation (http://www.apache.org/).

Portions of this software were originally based on the following:
- software copyright (c) 1999, IBM Corporation., http://www.ibm.com.
- software copyright (c) 1999, Sun Microsystems., http://www.sun.com.
- the W3C consortium (http://www.w3c.org) ,
- the SAX project (http://www.saxproject.org)
- voluntary contributions made by Paul Eng on behalf of the Apache Software Foundation that were originally developed at iClick, Inc., software copyright (c) 1999.

This product includes updcrc macro, Satchell Evaluations and Chuck Forsberg. Copyright (C) 1986 Stephen Satchell.

This product includes software developed by the MX4J project (http://mx4j.sourceforge.net).

This product includes ICU 1.8.1 and later.Copyright (c) 1995-2006 International Business Machines Corporation and others.

Portions copyright (c) 1997-2007 Cypress Semiconductor Corporation. All rights reserved.

This product includes XORP. Copyright (c) 2001-2004 International Computer Science Institute

This product includes software from the book "Linux Device Drivers" by Alessandro Rubini and Jonathan Corbet, published by O'Reilly & Associates.

This product includes hashtab.c. Bob Jenkins, 1996.

Microsoft Visual Studio 2010 SharePoint Developer Tools   10.0.30319
Microsoft Visual Studio 2010 SharePoint Developer Tools

Security Update for Microsoft Visual Studio 2010 Professional - ENU (KB2251489)   KB2251489
This security update is for Microsoft Visual Studio 2010 Professional - ENU.
If you later install a more recent service pack, this security update will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/2251489.

Security Update for Microsoft Visual Studio 2010 Professional - ENU (KB2644980)   KB2644980
This security update is for Microsoft Visual Studio 2010 Professional - ENU.
If you later install a more recent service pack, this security update will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/2644980.

0 Kudos
6 Replies
Steven_L_Intel1
Employee
1,378 Views

It might also be helpful to see the full buildlog.htm. But have you tried a simple rebuild of the whole project?

0 Kudos
Randall_M_
Beginner
1,378 Views

Steve, Here is the build log. I did try rebuilding the entire project, both the release and debug versions. Kept getting the same error. Since I couldn't afford not being able to link, I reverted my Win-7 system to the previous check point and the problem went away (as I expected it would). The offending update was Microsoft.NET framework 4.5.1.4.5.50938. This was the only update that automatically installed on my Win-7 computer overnight. This weekend, I will try re-installing the new update and see if I get the same resulting error message from the linker. The update installed automatically overnight, and there was a message that Windows installed an important update. There were no warnings indicating that anything went wrong during the update process.

Thanks for your help.

Randy Martin

 

 

<HTML><HEAD><meta content="text/html; charset=utf-16" http-equiv="Content-Type"></HEAD><BODY><PRE></pre><table width=100% bgcolor=#E0E0E0><tr><td><font face=arial size=+2> Build Log </font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#E0E0E0>&nbsp;</td><td width=0 bgcolor=white>&nbsp;</td><td width=*><pre><h3> Build started: Project: MAIN_MENU, Configuration: Debug|Win32 </h3></pre></table><table width=100% bgcolor=#E0E0E0><tr><td><font face=arial size=+1> Output </font></table><table width=* cellspacing=0 cellpadding=0><tr><td width=0 bgcolor=#E0E0E0>&nbsp;</td><td width=0 bgcolor=white>&nbsp;</td><td width=*><pre>Linking...
Creating temporary file &quotRSP1.rsp&quot with contents
[
 /OUT:&quotDebug\Mainmenu.exe&quot /INCREMENTAL:NO /NOLOGO /NODEFAULTLIB:&quotlibc.lib&quot /MANIFEST /MANIFESTFILE:&quotC:\Users\Randy\Documents\MM7X\MMPM70_newOPD\MAIN_MENU\Debug\Mainmenu.exe.intermediate.manifest&quot /MANIFESTUAC:&quotlevel='asInvoker' uiAccess='false'&quot /DEBUG /PDB:&quotC:\Users\Randy\Documents\MM7X\MMPM70_newOPD\MAIN_MENU\Debug\Mainmenu.pdb&quot /SUBSYSTEM:WINDOWS /IMPLIB:&quotC:\Users\Randy\Documents\MM7X\MMPM70_newOPD\MAIN_MENU\Debug\Mainmenu.lib&quot ..\mmlib\debug\mmlib.lib ..\pm_lib2\debug\pm_lib2.lib ..\pm_lib\debug\pm_lib.lib ..\mmlib2\debug\mmlib2.lib c:\wint\lib.if8\winter.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib advapi32.lib opengl32.lib glu32.lib htmlhelp.lib c:\wint\bin\pls_153\pls_intel.obj &quotDebug\CONLST.obj&quot &quotDebug\opdstuff_mod.obj&quot &quotDebug\SETTBLOK.obj&quot &quotDebug\SETANS.obj&quot &quotDebug\scoordinfo_mod.obj&quot &quotDebug\licenseinfo_mod.obj&quot &quotDebug\palstuff_mod.obj&quot &quotDebug\res_all.obj&quot &quotDebug\digitizerstuff_mod.obj&quot &quotDebug\VARPRNIN.obj&quot &quotDebug\POLPLTIN.obj&quot &quotDebug\OPDCONIN.obj&quot &quotDebug\FIXANSFL.obj&quot &quotDebug\TOPOPIN.obj&quot &quotDebug\ROKPLNIN.obj&quot &quotDebug\MRGPLTIN.obj&quot &quotDebug\INTRCKIN.obj&quot &quotDebug\DMPRCKIN.obj&quot &quotDebug\CONTIN.obj&quot &quotDebug\XSECTIN.obj&quot &quotDebug\STATSIN.obj&quot &quotDebug\MOD3IN.obj&quot &quotDebug\GRIDEDIN.obj&quot &quotDebug\DHREADIN.obj&quot &quotDebug\BLKCNTIN.obj&quot &quotDebug\VARPLTIN.obj&quot &quotDebug\SETCLASS.obj&quot &quotDebug\ocxyzin.obj&quot &quotDebug\MANIPIN.obj&quot &quotDebug\dxftriang.obj&quot &quotDebug\DHADDLIN.obj&quot &quotDebug\ADDROKIN.obj&quot &quotDebug\SRTCATIN.obj&quot &quotDebug\tdmeshin.obj&quot &quotDebug\ROKLABIN.obj&quot &quotDebug\plot2din.obj&quot &quotDebug\MPLTIN.obj&quot &quotDebug\intpltin.obj&quot &quotDebug\DIGSPEXI.obj&quot &quotDebug\CONTCNIN.obj&quot &quotDebug\CMPPLTIN.obj&quot &quotDebug\XSANGIN.obj&quot &quotDebug\SPEXIN.obj&quot &quotDebug\PRNPLTIN.obj&quot &quotDebug\MOD2IN.obj&quot &quotDebug\GRIDED.obj&quot &quotDebug\DHPLTIN.obj&quot &quotDebug\batchin.obj&quot &quotDebug\VARIGIN.obj&quot &quotDebug\SECTIN.obj&quot &quotDebug\newmanin.obj&quot &quotDebug\MAKSLPIN.obj&quot &quotDebug\defproc.obj&quot &quotDebug\ROKDATIN.obj&quot &quotDebug\PITSCTIN.obj&quot &quotDebug\MOVGRDIN.obj&quot &quotDebug\GRTKGRIN.obj&quot &quotDebug\DIGPLTIN.obj&quot &quotDebug\consctin.obj&quot &quotDebug\WDVOLIN.obj&quot &quotDebug\SORT3PIN.obj&quot &quotDebug\PRDATAIN.obj&quot &quotDebug\mif2mm.obj&quot &quotDebug\GRDOUTIN.obj&quot &quotDebug\DHLISTIN.obj&quot &quotDebug\namthk.obj&quot &quotDebug\makerkpin.obj&quot &quotDebug\DEFCLASS.obj&quot &quotDebug\MONEYIN.obj&quot &quotDebug\PITPLTIN.obj&quot &quotDebug\modoutin.obj&quot &quotDebug\GRTHIKIN.obj&quot &quotDebug\DIGIT.obj&quot &quotDebug\CONRESIN.obj&quot &quotDebug\CFREQIN.obj&quot &quotDebug\WDPREPIN.obj&quot &quotDebug\sort3in.obj&quot &quotDebug\OPDMTXIN.obj&quot &quotDebug\medscan.obj&quot &quotDebug\gemdhout.obj&quot &quotDebug\DHDELLIN.obj&quot &quotDebug\bakrokin.obj&quot &quotDebug\pcnt2dxf.obj&quot &quotDebug\adjseam.obj&quot &quotDebug\triangin.obj&quot &quotDebug\NAMCON.obj&quot &quotDebug\makeann.obj&quot &quotDebug\DXF2PCNT.obj&quot &quotDebug\phsrckin.obj&quot &quotDebug\modinin.obj&quot &quotDebug\GRPREPIN.obj&quot &quotDebug\CONEIN.obj&quot &quotDebug\CELLIN.obj&quot &quotDebug\processbatch.obj&quot &quotDebug\vbm2mm.obj&quot &quotDebug\SORT2IN.obj&quot &quotDebug\POLYIN.obj&quot &quotDebug\OPDIN.obj&quot &quotDebug\medsb2mm.obj&quot &quotDebug\FLATMMIN.obj&quot &quotDebug\bakrkpin.obj&quot &quotDebug\tri2r200.obj&quot &quotDebug\ROKSECIN.obj&quot &quotDebug\mschedin.obj&quot &quotDebug\MAKBTMIN.obj&quot &quotDebug\dmpxyzin.obj&quot &quotDebug\CONTXIN.obj&quot &quotDebug\COMPOIN.obj&quot &quotDebug\MAKCNFIN.obj&quot &quotDebug\REGRESIN.obj&quot &quotDebug\PHSPRNIN.obj&quot &quotDebug\MOD3PIN.obj&quot &quotDebug\GRIDININ.obj&quot &quotDebug\CELLEXIN.obj&quot &quotDebug\SETCOMM.obj&quot &quotDebug\maxdump.obj&quot &quotDebug\dhaltrec.obj&quot &quotDebug\adjtopoin.obj&quot &quotDebug\STATSDA.obj&quot &quotDebug\OPDREV.obj&quot &quotDebug\DHREAD.obj&quot &quotDebug\ply3din.obj&quot &quotDebug\combhist.obj&quot &quotDebug\REGRESGR.obj&quot &quotDebug\MAKBTM.obj&quot &quotDebug\qqplotin.obj&quot &quotDebug\OPDUP.obj&quot &quotDebug\plot2d.obj&quot &quotDebug\FLATMM.obj&quot &quotDebug\ocxyz.obj&quot &quotDebug\DHPLT.obj&quot &quotDebug\REGRESDA.obj&quot &quotDebug\MAINMENU.obj&quot &quotDebug\combcfrq.obj&quot &quotDebug\OPDREVIN.obj&quot &quotDebug\TOPOPREP.obj&quot &quotDebug\PITPLT.obj&quot &quotDebug\ellipse.obj&quot &quotDebug\CFREQDA.obj&quot &quotDebug\dxf2rks.obj&quot &quotDebug\3dholein.obj&quot &quotDebug\MPLT.obj&quot &quotDebug\DHLIST.obj&quot &quotDebug\tabxyv.obj&quot &quotDebug\CLEANALL.obj&quot &quotDebug\qqplot.obj&quot &quotDebug\INTRCK.obj&quot &quotDebug\CMPPLT.obj&quot &quotDebug\OPDPRM.obj&quot &quotDebug\bakwfrin.obj&quot &quotDebug\swathin.obj&quot &quotDebug\phsrck.obj&quot &quotDebug\dxftrim.obj&quot &quotDebug\blockvar.obj&quot &quotDebug\updatemm6x.obj&quot &quotDebug\seamdef.obj&quot &quotDebug\dxf2rkp.obj&quot &quotDebug\3dhole.obj&quot &quotDebug\dhdellab.obj&quot &quotDebug\T2XXFMPIT.obj&quot &quotDebug\rmandpin.obj&quot &quotDebug\PROJPRN.obj&quot &quotDebug\intplt.obj&quot &quotDebug\CFREQGR.obj&quot &quotDebug\post3din.obj&quot &quotDebug\structin.obj&quot &quotDebug\dxf2vein.obj&quot &quotDebug\scoordin.obj&quot &quotDebug\declusin.obj&quot &quotDebug\SECT.obj&quot &quotDebug\MANIP.obj&quot &quotDebug\dhaddlab.obj&quot &quotDebug\t200fmtopo.obj&quot &quotDebug\rkspltin.obj&quot &quotDebug\dhtchkin.obj&quot &quotDebug\GRIDIN.obj&quot &quotDebug\dhclassin.obj&quot &quotDebug\STATSGR.obj&quot &quotDebug\opdtogrd.obj&quot &quotDebug\dmpxyz.obj&quot &quotDebug\addrok.obj&quot &quotDebug\ROKLAB.obj&quot &quotDebug\declus.obj&quot &quotDebug\surf3din.obj&quot &quotDebug\dhtcheck.obj&quot &quotDebug\PRDATA.obj&quot &quotDebug\GRDOUT.obj&quot &quotDebug/mainmenu.res&quot &quotC:\wint\bin\PLS_153\pls_intel.obj&quot &quotC:\Users\Randy\Documents\MM7X\MMPM70_newOPD\PM_LIB\Debug\PM_LIB.lib&quot &quotC:\Users\Randy\Documents\MM7X\MMPM70_newOPD\mmlib2\debug\mmlib2.lib&quot &quotC:\Users\Randy\Documents\MM7X\MMPM70_newOPD\MMLIB\Debug\MMLIB.lib&quot
]
Creating command line &quotLink @&quotC:\Users\Randy\Documents\MM7X\MMPM70_newOPD\MAIN_MENU\Debug\RSP1.rsp&quot&quot

Link: executing 'link'
C:\wint\bin\PLS_153\pls_intel.obj : warning LNK4042: object specified more than once; extras ignored
pm_lib2.lib(triangle.obj) : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification
LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt


MAIN_MENU - 1 error(s), 2 warning(s)
</PRE></BODY></HTML>

0 Kudos
Steven_L_Intel1
Employee
1,378 Views

Please do a Build > Clean and then a rebuild.

I note the warning about a duplicate object. How did that come about?  I'm skeptical that the Windows update was the culprit here.
 

0 Kudos
Randall_M_
Beginner
1,378 Views

Steve,

Thanks for the suggestions.

I took care of the duplicate object.It isn't the problem. I had the OBJ file listed with the source files and again as additional dependencies in the Linker > Input. Last night, Microsoft automatically downloaded the same update and I now have the exact same problem with the linker. The windows update is what is causing the problem. Since I don't have any detailed feedback on the link error, such as which file is invalid or corrupt, my only solution is to restore my last check point and disable all updates until someone at Microsoft figures out that they are causing this problem.

 

Randy Martin

0 Kudos
Steven_L_Intel1
Employee
1,378 Views
0 Kudos
Randall_M_
Beginner
1,378 Views

Steve,

Thanks for taking the time to find the Microsoft article. I reinstalled the latest update and then installed service pack SP1 for Visual Studio 2010 and the LNK1123 error went away. Problem solved.

Regards,

Randy Martin

0 Kudos
Reply