Re: Problems with ProC

From: Kenneth C Stahl <BlueSax_at_Unforgettable.com>
Date: Thu, 30 Sep 1999 07:47:18 -0400
Message-ID: <37F34DC6.13EC154_at_Unforgettable.com>


Is your makefile based on the proc.mk that is provided by Oracle in the $ORACLE_HOME/precomp/demo/proc directory? If not, your chances of getting the libraries right is pretty slim. I've discovered that 100% of the time if I take that file and modify it, my builds will work fine.

Jorge Gamas wrote:
>
> Help me!!
>
> I'm trying to compile a program in ProC v.2.2.4. The makefile section
> is:
>
> pr_corre_cierre:pr_corre_cierre.pc
> $(PROC) $(PROCPLSFLAGS) iname=pr_corre_cierre.pc
> $(CC) -c $(CFLAGS) $(LDFLAGS) -o pr_corre_cierre pr_corre_cierre.c
>
> The precompilation is ok, it creates the .c source. The C compilation is
> done with the next instruction:
>
> cc -c -O2 -std1 -DOSF1 -DA_OSF -Wf,-readonly_strings -D_INTRINSICS
> -I. -I/asimex/oracle/precomp/public -O2 -o pr_corre_cierre
> -L/asimex/oracle/lib -s -o pr_corre_cierre pr_corre_cierre.c
>
> and generates an executable, but it doesn´t works.
>
> When I try to compile the file sample1.pc from the demo directory, using
> the "build" option of the proc.mk, the c compiler tells that can't
> locate file for -lxa
>
> The System is an Alpha Server 4000, with Digital Unix v.4.0, and
> Oracle 7.3.4
>
> I hope you can help me, please.
>
> Jorge Gamas
> Arango Software Intl.
Received on Thu Sep 30 1999 - 13:47:18 CEST

Original text of this message