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

Home -> Community -> Usenet -> c.d.o.server -> OCI compile

OCI compile

From: Lee Kang Won <gwlee_at_chollian.net>
Date: Tue, 13 Jul 1999 15:32:50 GMT
Message-ID: <378B5C19.D915AD3B@chollian.net>


Hi there?

I'm having trouble compiling client program using oci of Oracle8 for linux. I think names of some libraries have been changed, but I can't figure out how to make it. I mean I don't know which library should be linked to make it work.

Here's the message when I try compiling.



/home/kwlee/ociutil/ociutil.a(kw_ociutil.o): In function `LogoutOra':
/home/kwlee/ociutil/kw_ociutil.c:13: undefined reference to `ologof'
/home/kwlee/ociutil/ociutil.a(kw_ociutil.o): In function `LoginOra':
/home/kwlee/ociutil/kw_ociutil.c:22: undefined reference to `orlon'
/home/kwlee/ociutil/ociutil.a(kw_ociutil.o): In function `CloseCursor':
/home/kwlee/ociutil/kw_ociutil.c:28: undefined reference to `oclose'
/home/kwlee/ociutil/ociutil.a(kw_ociutil.o): In function `OpenCursor':
/home/kwlee/ociutil/kw_ociutil.c:34: undefined reference to `oopen'
/home/kwlee/ociutil/ociutil.a(kw_ociutil.o): In function `CommitOff':
/home/kwlee/ociutil/kw_ociutil.c:40: undefined reference to `ocof'
/home/kwlee/ociutil/ociutil.a(kw_ociutil.o): In function `CommitOra':

How can I bring those objects(ologof, orlon...)? If I include all the objects from "/oracle/rdbms/lib" directory, it also complains "multiple definition of ..."

Please help me. Received on Tue Jul 13 1999 - 10:32:50 CDT

Original text of this message

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