Home » Developer & Programmer » Precompilers, OCI & OCCI » error in pro*c compilation
error in pro*c compilation [message #94019] Mon, 15 September 2003 23:00
Bijaya
Messages: 1
Registered: September 2003
Junior Member
Hi,

i am not able to link message board, if possible please post my question.

When I am compiling a .pc program such errors are coming. Can any one tell me the solutions.

My system specification is

$ env
HOME=/home1/oracle
HZ 0
JAVA_HOME=JAVA_HOME=/home1/oracle/app/product/8.1.7/JRE/bin/jre
LD_LIBRARY_PATH=/home1/oracle/app/oracle/product/8.1.7/lib
ORACLE_BASE=/home1/oracle
ORACLE_HOME=/home1/oracle/app/oracle/product/8.1.7
ORACLE_OWNER=oracle
PATH=/usr/local/bin:/usr/perl5:/usr/bin:/usr/ccs/bin:/usr/local/lib/perl5:/home1/oracle/app/oracle/product/8.1.7/bin:.
SHELL=/bin/sh
TERM=vt100
TZ=US/Eastern
_INIT_NET_STRATEGY=none
_INIT_PREV_LEVEL=S
_INIT_RUN_LEVEL=3
_INIT_RUN_NPREV=0
_INIT_UTS_ISA=sparc
_INIT_UTS_PLATFORM=SUNW,Ultra-Enterprise
_INIT_UTS_RELEASE=5.8
_INIT_UTS_SYSNAME=SunOS
_INIT_UTS_VERSION=Generic_108528-15
$

we are using gcc as the c compiler.

Error at the time of compilation

$ make -f $ORACLE_HOME/precomp/demo/proc/demo_proc1.mk build EXE=sample1 OBJS=sample1.o
gcc -xO2 -Xa -xstrconst -xF -mr -xarch=v8 -xcache /32/1:1024/64/1 -xchip=ultra -D_REENTRANT -K PIC -DPRECOMP -I. -I/home1/oracle/app/oracle/product/8.1.7/precomp/public -I/home1/oracle/app/oracle/product/8.1.7/rdbms/public -I/home1/oracle/app/oracle/product/8.1.7/rdbms/demo -I/home1/oracle/app/oracle/product/8.1.7/plsql/public -I/home1/oracle/app/oracle/product/8.1.7/network/public -DSLMXMX_ENABLE -DSLTS_ENABLE -D_SVID_GETTOD -c sample1.c
gcc: PIC: No such file or directory
gcc: unrecognized option ‘-Xa’
gcc: unrecognized option ‘-K’
gcc: language chip=ultra not recognized
*** Error code 1
make: Fatal error: Command failed for target ‘sample1.o’
$

Best regards.
bijaya
Previous Topic: Regarding Pro*C precompiler
Next Topic: how to learn pro c give me links
Goto Forum:
  


Current Time: Thu Mar 28 19:12:18 CDT 2024