Problem Pro*C for Oracle 10g

This is a discussion on Problem Pro*C for Oracle 10g within the Oracle Tools forums in Oracle Database category; 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 ...

Go Back   Database Forum > Oracle Database > Oracle Tools

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 05-26-2007, 03:53 AM
Default Problem Pro*C for Oracle 10g

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



All times are GMT -4. The time now is 04:02 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Integrated by bbpixel2008 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.