Re: Oracle V8 proc migration problem

From: Deepa Dinendra <deepa_dinendra_at_psmfc.org>
Date: Fri, 05 Nov 1999 12:47:20 -0600
Message-ID: <38232638.E07DCA5C_at_psmfc.org>


Solved the problem. Instead of using sun cc compiler I was compiling my programs using the default BSD C compiler.

-Deepa

Deepa Dinendra wrote:
>
> Hi,
> I am moving pro*c programs from oracle 7.3.3 (sgi) to oracle 8.1.5
> (solaris). I got the code to compile using the demo_proc.mk provided by
> oracle. But when I execute the program it runs the 'C' part of the code
> but when when it gets to EXEC SQL CONNECT it core dumps. Any EXEC SQL
> statement that does not access database but preceeds the CONNECT works
> fine. (example: EXEC SQL WHENEVER <condition> <action> ;)
> To verify this is not a problem with my code I compiled and ran
> sample1.pc provided by oracle under $ORACLE_HOME/precomp/demo/proc. But
> it also coredumps at the point where it connects to database.
> Could any one suggest any solution to my problem?
>
> Thanks
> -Deepa
Received on Fri Nov 05 1999 - 19:47:20 CET

Original text of this message