Gen 8.0 COM Proxy build error "LNK1112: module machine type 'x64' conflicts with target machine type 'X86'"
search cancel

Gen 8.0 COM Proxy build error "LNK1112: module machine type 'x64' conflicts with target machine type 'X86'"

book

Article ID: 137768

calendar_today

Updated On:

Products

Gen

Issue/Introduction

We are in process of upgrading CA Gen 8.0 to CA Gen 8.6. For checking the functionality of components, we are generating and building COM proxies with CA Gen 8.0 toolset.

I am facing the below error in the Gen 8.0 Build Tool output while trying to build the COM Proxies. 

===

---Compiles for Server1CM.DLL Dependencies done

C:\Program Files (x86)\CA\Gen r8\Gen\instmsgj.EXE Server1 Linking Server1CM.DLL

...Linking Server1CM.DLL

link /NOLOGO  /DLL /SUBSYSTEM:WINDOWS  /MACHINE:I386  /NODEFAULTLIB /def:"D:\CA Gen Models\model1.ief\proxy\com\src\Server1\Server1CM.DEF" /out:"D:\CA Gen Models\model1.ief\proxy\com\deploy\Server1\Server1CM.DLL" @"D:\CA Gen Models\model1.ief\proxy\com\src\Server1\Server1CM.lnk"

D:\CA Gen Models\model1.ief\proxy\com\src\Server1\Server1ECM.OBJ : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'

NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64\link.EXE"' : return code '0x458'

Stop.

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

Link step for Server1CM.DLL failed with errors. 

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

instmsgj Server1 IEFSIGNAL:FAIL

*** Build for Load Module Server1 Failed. ***

===


Environment

Release : 8.0

Component : CA Gen Build Tool


Cause

Support generated customer's model COM Proxy successfully in house with Visual Studio Professional 2010 installed (Service Pack 1 also applied) and Gen 8.0 at PTF level WKS80002/RO41237 (Interim Enhancement 2).


Resolution

After customer also installed the same Gen 8.0 PTF WKS80002/RO41237 the problem was resolved:

Solution Document: RO41237


Additional Information

NOTE: Gen 8.0 is End Of Service (EOS) since August 31, 2019:

CA Gen Release and Support Lifecycle Dates