Build Tool <filename>.txt fatal error LNK1107 invalid or corrupt file
search cancel

Build Tool <filename>.txt fatal error LNK1107 invalid or corrupt file

book

Article ID: 378452

calendar_today

Updated On:

Products

Gen Gen - Workstation Toolset

Issue/Introduction

When using Gen 8.6 Build Tool to compile module which references an Operations Library, receive the error: 

c:\...\extrn\<Opslibfilename>.txt : fatal error LNK1107: invalid or corrupt file: cannot read at 0x583

NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\link.EXE"' : return code '0x453'

Environment

Gen Build Tool

Resolution

The file referenced may be a components list text file, containing a list of operations libraries.   

Verify, the file is referenced in the Build Tool Profile Manager on the 'OPTIONS' tab and the profile token OPT.CBDLIST.  The error shows the file may have been placed on the 'C' tab and the Profile token LOC.EXTERNAL_LIB in error.  By placing the file reference on the OPT.CBDLIST token, this will resolve the error.