dbaspot
Tags Register FAQ Calendar Search Today's Posts Mark Forums Read

Problem Pro*C for Oracle 10g - Oracle Tools

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


Home > Database Forum > Oracle Database > Oracle Tools > Problem Pro*C for Oracle 10g

Reply

 

LinkBack Thread Tools Display Modes
  #1  
Old 05-26-2007, 02:53 AM
Database Bot
 
Join Date: Sep 2009
Posts: 1,236,254
Database Administrator is on a distinguished road
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 02:40 PM.