CA Gen application link error LNK2019

book

Article ID: 130742

calendar_today

Updated On:

Products

CA Gen CA Gen - Workstation Toolset CA Gen - Host Encyclopedia CA Gen - Run Time Distributed

Issue/Introduction

The build tool is not able to successfully link a client. I have verified the externals exists in the externc.lib I was looking at the profile to ensure it is looking in the correct place. All seems correct: Error output: 


---Compiles for PRN0860C.DLL Dependencies done 
C:\Program Files (x86)\CA\Gen r8\Gen\instmsgj.EXE PRN0860C Linking Load Module DLL PRN0860C 
...Linking Load Module DLL PRN0860C 
link /NOLOGO /DLL /SUBSYSTEM:WINDOWS /NODEFAULTLIB:LIBC.LIB /entry:[email protected] /OUT:"C:\GenR8\Models\scrfix.ief\c\PRN0860C.DLL" /implib:"C:\GenR8\Models\scrfix.ief\c\PRN0860C.LIB" /def:"C:\GenR8\Models\scrfix.ief\c\PRN0860C.DEF" /OUT:"C:\GenR8\Models\scrfix.ief\c\PRN0860C.DLL" @"C:\GenR8\Models\scrfix.ief\c\PRN0860C.RSP" @"C:\GenR8\Models\scrfix.ief\c\PRN0860C.LNK
Creating library C:\GenR8\Models\scrfix.ief\c\PRN0860C.LIB and object C:\GenR8\Models\scrfix.ief\c\PRN0860C.exp 
LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library 
EXTRNC.LIB(PRN095E.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function _SyncWinExec 
EXTRNC.LIB(PRN096E.obj) : error LNK2001: unresolved external symbol [email protected] 
EXTRNC.LIB(PRN095E.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function _SyncWinExec 
EXTRNC.LIB(PRN096E.obj) : error LNK2001: unresolved external symbol [email protected] 
EXTRNC.LIB(PRN095E.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function _SyncWinExec 
EXTRNC.LIB(PRN096E.obj) : error LNK2001: unresolved external symbol [email protected] 
EXTRNC.LIB(PRN095E.obj) : error LNK2019: unresolved external symbol [email protected] referenced in function _SyncWinExec 
EXTRNC.LIB(PRN096E.obj) : error LNK2001: unresolved external symbol [email protected] 
C:\GenR8\Models\scrfix.ief\c\PRN0860C.DLL : fatal error LNK1120: 4 unresolved externals 
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\link.EXE"' : return code '0x460' 
Stop. 
**************************** 
Link step for PRN0860C.DLL using C:\GenR8\Models\scrfix.ief\c\PRN0860C.LNK failed with errors. 
**************************** 
instmsgj PRN0860C IEFSIGNAL:FAIL 
*** Build for Load Module PRN0860C Failed. *** 
Important! Review above for any errors. 

C:\Program Files (x86)\CA\Gen r8\gen>

Environment

Release: KGNDDL99000-8.5-Gen-DBP Developer License
Component:

Resolution

These __imp__*** unresolved symbols are part of the user32.lib and needs to be added to your external library list. This list is set by token loc.EXTERNAL_LIB which you will find in the Build Tool Profile Manager under section 'C' of the Profile Tree. The path will probably be something like C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A\Lib\user32.lib.