Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Fw: Error While Compiling PRO*C programs

Fw: Error While Compiling PRO*C programs

From: Alan Sayyad <asayyad_at_sdiworld.com>
Date: Mon, 15 Feb 1999 23:04:30 -0500
Message-ID: <7aaqkf$mgj$1@dropit.pgh.net>


We have an IBM server with AIX 4.2 operating system. On this server we have installed Oracle ver 7.2.3 and PROC version is 1.6.

When I try to compile any of my PROC program, I get an error message

    " make : 1254 - 051 Equal sign not found in macro substitution "

However, if we compile the same program on a Digital Server, we are able to compile it successfully. This rules out any possibility of bug in our program.

We have been trying hard to find a solution for the error message, but so far we have not succeded. I desperately seek your help in getting a solution for this error.

Before I proceed with the steps taken by me to test and compile the proc programs, I would like to give you general information about our setup here :

GENERAL INFORMATION


  1. Oracle Version : 7.2.3
  2. Operating System : IBM AIX Ver. 4.2
  3. PROC : 1.6
  4. Oracle Home Directory : /home/ora723
  5. Owner for Oracle : ora723
  6. Group for Oracle : dba
  7. Permission of Oracle Home : rwx-r-x-r-x
  8. User login home directory : /data1/girafe ( This is the login where all proc programs are lying ).

STEPS FOR TESTING AND COMPILING PROC PROGRAMS



  1. First, I tried to ensure whether the PROC is working properly or not. For this, I compiled the sample1.pc with the default proc16.mk file. For compiling this, we made a small change in the proc16.mk file. The line CC = oraxlc has been changed to CC = cc. ( as per oraxlc comments) After this, we were able to compile the sample1.pc program successfully.
  2. Then I tried to compile our proc programs and got the error message : " make : 1254 - 051 Equal sign not found in macro substitution "
  3. After that I tried to compile sample1.pc with our makefile (after making proper modifications) and got the same error message as mentioned above.

I am attaching following files alongwith this mail for your reference :

(a) makefile ( Our make file ).
(b) error ( file contains the error message after compiling
the program)

(c) log ( Compilation error with debug option i.e. make -d
<source.pc>)

(d) make.ora7 and make.gir ( These two files have been included
in our makefile).

I request you to please go through with these files and help us in finding a solution. We would also like to know whether there is any patch modules available with Oracle which can solve this problem.

Waiting for your response at the mail address : alan_at_sdiworld.com Thanking You.

With Best Regards, Received on Mon Feb 15 1999 - 22:04:30 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US