LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt

Document ID : KB000057054
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

After installing Microsoft Visual Studio 2012 (VS2012) on a Windows workstation with Microsoft Visual Studio 2010 (VS2010) already installed. The following error occurs when installing a C application.

 

...Linking Load Module stub RACCL506

link /NOLOGO /SUBSYSTEM:WINDOWS /NODEFAULTLIB:LIBC.LIB -entry:WinMainCRTStartup -out:"C:\models\LOCKOUT.ief\c\RACCL506.EXE" "C:\models\LOCKOUT.ief\c\OBJC\STUB.OBJ" "C:\models\LOCKOUT.ief\c\OBJC\STUBMAIN.OBJ" "C:\models\LOCKOUT.ief\c\STUB.RES" @"C:\models\LOCKOUT.ief\c\STUB.LNK"

LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt

NMAKE : fatal error U1077: '"c:\Program Files\Microsoft Visual Studio 10.0\VC\BIN\link.EXE"' : return code '0x463'

Stop.

****************************

Link step for STUB.EXE using C:\models\LOCKOUT.ief\c\STUB.LNK failed with errors.

****************************

File Not Found

IEFSIGNAL:FAIL

*** Build for Load Module RACCL506 Failed. ***

Important! Review above for any errors.

--- Found TIORADDL.EXE

Database maintenance started

IEFSIGNAL:FAIL

IEFDB Error: Database Install Failed

 

Resolution:

This is a Microsoft problem. If you do not have the SP1 for Microsoft VS2010 installed, install it. If you do have VS2010 SP1 installed, install it again.