dbTalk Databases Forums  

Problem Pro*C for Oracle 10g

comp.databases.oracle.tools comp.databases.oracle.tools


Discuss Problem Pro*C for Oracle 10g in the comp.databases.oracle.tools forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
inpreet@gmail.com
 
Posts: n/a

Default Problem Pro*C for Oracle 10g - 05-26-2007 , 01:52 AM






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


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.