Pro*C and OCI problems

From: Alla Gribov <alla.gribov_at_metatel.com>
Date: 16 Sep 1999 12:11:02 PDT
Message-ID: <37E14F1C.400CDF68_at_metatel.com>



I am running Oracle 8.0.5 on RedHat 6.0

I am having troubles compiling Oracle Pro*C samples (and of course my own as well) that are dealing with Oracle 8 object types. I don't have any problems whatsoever compiling regular samples (sample1, sample2 etc)

There is an example in $ORACLE_HOME/precomp/demo/proc called objdemo1 that is using object type. First of all, I can't run OTT, it just core dumps, so I used NT version to create objdemo1.h file. But, now proc gives me an error and core dumps.

Yes, I used glibcpatch to recompile and relink Oracle executables, including proc and ott and I am using GNU C library version 2.0.6 as they request),

	[oracle_at_database proc]$ make -f demo_proc.mk objdemo1 RUNSQL=done
	make -f /u01/app/oracle/product/8.0.5/precomp/demo/proc/demo_proc.mk
OBJS=objdemo1.o EXE=objdemo1 build
	make[1]: Entering directory

`/u01/app/oracle/product/8.0.5/precomp/demo/proc'
make -f /u01/app/oracle/product/8.0.5/precomp/demo/proc/demo_proc.mk SCRIPT=objdemo1 svrmgrl_done make[2]: Entering directory
`/u01/app/oracle/product/8.0.5/precomp/demo/proc'
make[2]: Nothing to be done for `svrmgrl_done'. make[2]: Leaving directory
`/u01/app/oracle/product/8.0.5/precomp/demo/proc'
make -f /u01/app/oracle/product/8.0.5/precomp/demo/proc/demo_proc.mk PROCFLAGS=intype=objdemo1o.typ PCCSRC=objdemo1 I_SYM=include= pc1 make[2]: Entering directory
`/u01/app/oracle/product/8.0.5/precomp/demo/proc'
/u01/app/oracle/product/8.0.5/bin/proc intype=objdemo1o.typ
iname=objdemo1 include=.
include=/u01/app/oracle/product/8.0.5/precomp/public
include=/u01/app/oracle/product/8.0.5/rdbms/public 	
include=/u01/app/oracle/product/8.0.5/rdbms/demo
include=/u01/app/oracle/product/8.0.5/plsql/public 	
include=/u01/app/oracle/product/8.0.5/network/public

	Pro*C/C++: Release 8.0.5.1.0 - Production on Thu Sep 16 13:49:6 1999

	(c) Copyright 1998 Oracle Corporation.  All rights reserved.

	System default option values taken from:
/u01/app/oracle/product/8.0.5/precomp/admin/pcscfg.cfg

        Syntax error at line 112, column 2, file /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/include/limits.h:

        INTERNAL ERROR: Failed assertion [PGE Code=90105]

	make[2]: *** [pc1] Segmentation fault (core dumped)
	make[2]: Leaving directory

`/u01/app/oracle/product/8.0.5/precomp/demo/proc'
make[1]: *** [objdemo1.o] Error 2 make[1]: Leaving directory
`/u01/app/oracle/product/8.0.5/precomp/demo/proc'
make: *** [objdemo1] Error 2 [oracle_at_database proc]$

If somebody can shed any light on this, I would really appreciate

Thanks

Alla Gribov Received on Thu Sep 16 1999 - 21:11:02 CEST

Original text of this message