Home » Developer & Programmer » Precompilers, OCI & OCCI » Problem in Pro*C code for Oracle 10g
Problem in Pro*C code for Oracle 10g [message #240818] Sat, 26 May 2007 01:41
inpreet
Messages: 1
Registered: May 2007
Location: New Delhi
Junior Member
Hello,

I am compiling pro*c code for Oracle 10g, it is successfully compiling for Oracle 9i. But with Oracle 10g libs it's giving problems.
This following error msg I m getting while compiling
--------------------------------------------------------
/application/Build/code/booking/>mk test
*.cpp: No such file or directory
make_depend
`/opt/oracle/10.2.0/lib/libclntsh.so' is up to date.
cat: cannot open *.u
proc ireclen=132 lines=yes iname=pcutils.pc oname=~pcutils.c

Pro*C/C++: Release 10.2.0.2.0 - Production on Sat May 26 07:39:59 2007

Copyright (c) 1982, 2005, Oracle. All rights reserved.

System default option values taken from: /opt/oracle/10.2.0/precomp/admin/pcscfg.cfg

cc -c -DBA_SUN -xCC -I. -I/application/Build/include -I/application/2.6Build/include -I/opt/ba/include - -I/opt/tux80/include ~pcutils.c
"pcutils.pc", line 58: undefined struct/union member: sqlerrm
"pcutils.pc", line 58: undefined struct/union member: sqlerrmc
"pcutils.pc", line 58: warning: left operand of "." must be struct/union object
"pcutils.pc", line 79: undefined struct/union member: sqlerrm
"pcutils.pc", line 79: undefined struct/union member: sqlerrmc
"pcutils.pc", line 79: warning: left operand of "." must be struct/union object
cc: acomp failed for ~pcutils.c
*** Error code 2
make: Fatal error: Command failed for target `pcutils.o'
--------------------------------------------------------

Could you please suggest me, what should I do in order to build it.
Inpreet
Previous Topic: Issues with OCI8
Next Topic: loading data from flat file
Goto Forum:
  


Current Time: Thu Mar 28 06:33:23 CDT 2024