Operating System - HP-UX
1752639 Members
6038 Online
108788 Solutions
New Discussion юеВ

Re: ProC compilation error

 

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 5
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.

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

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