I am working on a 32 bit application which I need to port to a 62 bit architecture. It is a C application and Ive done the requisite -m32 to -m64 changes for all the C code. But however, the current failure point in my compilation is the pro*C precompilation part which is failing with these sort of errors:
PLS-S-00201, identifier 'PTQUERY' must be declared
exec sql allocate :lQuery_Cursor;
..........................1
PLS-S-00000, SQL Statement ignored
Semantic error at line 15498, column 3, file XX.pc:
/* Opening cursor and binding to SQL statement */
..1
PCC-S-02346, PL/SQL found semantic errors
.............1
PLS-S-00201, identifier 'AUDIT_OPERATION' must be declared
.............1
PLS-S-00000, Statement ignored
Semantic error at line 20850, column 9, file XX.pc:
This is how the proc command is run in the makefile:
proc DEFINE=HS_EXT_HDR_II hold_cursor=no release_cursor=yes sqlcheck=full userid=XXXXXXXXX iname=DB
Can anyone please help me what other options are needed or anything else to be done for the precompiling to go through? I am not much aware of pro*C precompiling and doing this for the first time.