cancel
Showing results for 
Search instead for 
Did you mean: 

ProC compilation error

Shreekantha Velankar
Occasional Visitor

ProC compilation error

We have a code which works fine on a 64 bit Itanium machine.

When we try to compile this code on the new Itanium server we get the following error:

Make: Cannot read or get /dwhdb1/oracle/app/oracle/product/10.2.0/ora10gdb export ORACLE_HOME; /precomp/lib/env_precomp.mk. Stop.

Both the Itanium machines are :

HP-UX B.11.23 U ia64
5 REPLIES
Dennis Handly
Acclaimed Contributor

Re: ProC compilation error

It seems this is all one filename?
/dwhdb1/oracle/app/oracle/product/10.2.0/ora10gdb export ORACLE_HOME; /precomp/lib/env_precomp.mk.
Shreekantha Velankar
Occasional Visitor

Re: ProC compilation error

The attachment contains the make file. When we try to compile any Pro*C code we get the error message.

Dennis Handly
Acclaimed Contributor

Re: ProC compilation error

>The attachment contains the make file.

At the top of your file you have:
ORACLE_HOME=/dwhdb1/oracle/app/oracle/product/10.2.0/ora10gdb export $ORACLE_HOME;
include $(ORACLE_HOME)/precomp/lib/env_precomp.mk

This defines ORACLE_HOME as a macro (not a shell variable) that includes the text to the end of the line: ... export $ORACLE_HOME;

Remove that part.
Stanimir
Trusted Contributor

Re: ProC compilation error

HI

It seems you have to install something else
on the new mashine before trying to complile... I thing is is "gdb".
Check and compare both mashines and find what is missing on second...

BR,Stan
Shreekantha Velankar
Occasional Visitor

Re: ProC compilation error

There was an issue in the Oracle HOME path in .profile of the user, we changed it and the code compiled successfully on teh new server.

Thank you all for your help