| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> occi program compile
Morning Han,
I'm not sure myself as I tried to use OCCI with Borland compilers - and Oracle will not support Borland anymore :o(, but, I suspect you might need a 'using std::string' etc in your source code. You could put a 'using std' in there but that will end up 'polluting your namespace' as the guru's say.
Mind you, the error explicitly mentions 'std' so I am probably barking up the wrong tree, or maybe just barking.
HTH
Regards,
Norman.
Tel: 0113 289 6265 Fax: 0113 289 3146 URL: http://www.Lynx-FS.com
-------------------------------------
-----Original Message-----
From: Hyoun-Wook Han [mailto:hwhan_at_kdb.snu.ac.kr]
Posted At: Wednesday, March 26, 2003 7:10 AM
Posted To: server
Conversation: occi program compile
Subject: occi program compile
hi
I want to program using occi(Oracle c++ call Interface).
but I don't know that compiling option
my working configuration is follow as
OS :Sun Ultra-Sparc64
Compiler Sun CC
I complied follow as
CC -c -o test.o -I/opt/oracle/rdbms/demo -I /opt/oracle/rdbms/public -
fast -mt -xtarget=ultra -xarch=v9
-D_REENTRANT -DSS_64BIT_SERVER test.cc
CC -xarch=v9 xtarget=ultra -xarch=v9 -D_REENTRANT
_DSS_64BIT_SERVER -L/opt/oracle/lib
-L/opt/oracle/rdbms/lib -o test test.o -locci -lclntsh -lm
but error reporting is follow as
undefined first referenced
symbol in file
std::basic_string~~~
what is problem...~~
please feedback...
Received on Wed Mar 26 2003 - 02:16:01 CST
![]() |
![]() |