Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> compiling error with oracle 8i running solaris 8 (OTL)

compiling error with oracle 8i running solaris 8 (OTL)

From: baka <sli_at_venaca.com>
Date: 2 Jan 2002 14:53:17 -0800
Message-ID: <ec269823.0201021453.682f46f9@posting.google.com>


I tried to compile the example codes from OTL http://www.geocities.com/skuchin/otl/home.htm

this is the command i used to compile since i could not get the demos makefile to work.

CC -I/opt/oracle/8.1.7/rdbms/demo -I/opt/oracle/8.1.7/rdbms/public -L/opt/oracle/8.1.7/lib/ ex10_oci8.cpp

and this the error msgs:

Undefined                       first referenced
 symbol                             in file
OCIDescriptorAlloc                  ex10_oci8.o
OCIErrorGet                        

/home/sli/examples/SunWS_cache/CC_obj_R/R1stvR2upr6dFAT9pBub.o
OCITransCommit
/home/sli/examples/SunWS_cache/CC_obj_O/OlHLL50LPgd3_jQgRJ-s.o
OCIAttrSet
/home/sli/examples/SunWS_cache/CC_obj_O/OlHLL50LPgd3_jQgRJ-s.o
OCIStmtPrepare ex10_oci8.o OCIHandleAlloc ex10_oci8.o OCIBindByName
/home/sli/examples/SunWS_cache/CC_obj_R/R1stvR2upr6dFAT9pBub.o
OCIAttrGet
/home/sli/examples/SunWS_cache/CC_obj_O/OlHLL50LPgd3_jQgRJ-s.o
OCIInitialize ex10_oci8.o OCISessionBegin ex10_oci8.o OCIEnvInit ex10_oci8.o OCILobWrite
/home/sli/examples/SunWS_cache/CC_obj_O/OlHLL50LPgd3_jQgRJ-s.o
OCIParamGet ex10_oci8.o OCIStmtExecute
/home/sli/examples/SunWS_cache/CC_obj_O/OlHLL50LPgd3_jQgRJ-s.o
OCIServerDetach
/home/sli/examples/SunWS_cache/CC_obj_C/CKi-eKqQ-QV4g71rSxaG.o
OCIStmtFetch
/home/sli/examples/SunWS_cache/CC_obj_H/HM1v--RdGBQpbVBsPLNH.o
OCIDescriptorFree
/home/sli/examples/SunWS_cache/CC_obj_H/HM1v--RdGBQpbVBsPLNH.o
OCIServerAttach ex10_oci8.o OCIHandleFree
/home/sli/examples/SunWS_cache/CC_obj_R/R1stvR2upr6dFAT9pBub.o
OCISessionEnd
/home/sli/examples/SunWS_cache/CC_obj_C/CKi-eKqQ-QV4g71rSxaG.o
OCIDefineByPos

/home/sli/examples/SunWS_cache/CC_obj_R/R1stvR2upr6dFAT9pBub.o
ld: fatal: Symbol referencing errors. No output written to a.out

i know it has something to do with the library not the header files but how do i fix that?

any help would be great,
thx

sli Received on Wed Jan 02 2002 - 16:53:17 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US