Trying to compile CA Easytrieve for Linux
search cancel

Trying to compile CA Easytrieve for Linux

book

Article ID: 74970

calendar_today

Updated On:

Products

PanAudit Plus Easytrieve Report Generator PAN/SQL

Issue/Introduction



Getting the following error when trying to compile: [
     ezt testezt.ezt -o testezt.out -L > testezt.compile.output.txt
    /usr/bin/ld: i386:x86-64 architecture of input file `testezt.o' is incompatible with i386 output 
 
How can I resolve this?

Environment

Release:
Component: EZTRVL

Resolution

The following warning can occur when you link a CA Easytrieve Report Generator program in a 64-bit Linux for zSeries or Linux PC environment: 
      warning: xxxx architecture of input file `program.o' is incompatible with yyyy output 

If you receive this warning, you can add a switch to your EZTOPTS environment variable that forces the assembler to create a 32-bit .o file. 

For a Linux PC environment, add the following switch: 
-W a,--32
 
For a Linux for zSeries environment, add the following switch:
  -W a,-m31