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 an OTL file

Compiling an OTL file

From: Alfredo C. <jalfredoc_at_netscape.net>
Date: 23 Nov 2001 14:55:24 -0800
Message-ID: <e0c76d64.0111231455.4e7c8d57@posting.google.com>


Hi,

I am trying to compile an OTL file under UNIX Solaris, but the compiler sends this outut:

Undefined                       first referenced
 symbol                             in file
OCIDescriptorAlloc                  sampleOtl.o
OCIErrorGet                         sampleOtl.o
OCITransCommit                      sampleOtl.o
OCIAttrSet                          sampleOtl.o
OCIStmtPrepare                      sampleOtl.o
OCIHandleAlloc                      sampleOtl.o
OCIBindByName                       sampleOtl.o
OCIAttrGet                          sampleOtl.o
OCIInitialize                       sampleOtl.o
OCISessionBegin                     sampleOtl.o
OCIEnvInit                          sampleOtl.o
OCILobWrite                         sampleOtl.o
OCIParamGet                         sampleOtl.o
OCIStmtExecute                      sampleOtl.o
OCIServerDetach                     sampleOtl.o
OCIStmtFetch                        sampleOtl.o
OCIDescriptorFree                   sampleOtl.o
OCIServerAttach                     sampleOtl.o
OCIHandleFree                       sampleOtl.o
OCISessionEnd                       sampleOtl.o
OCIDefineByPos                      sampleOtl.o
ld: fatal: Symbol referencing errors. No output written to sampleOtl *** Error code 1

In the Makefile are included the next lines:

### Directory locations

LIBPATH         = -L$(ORACLE_HOME)/lib \

-L$(ORACLE_HOME)/rdbms/lib
INCLUDE = -I$(ORACLE_HOME)/rdbms/demo \
-I$(ORACLE_HOME)/rdbms/public \
-I$(ORACLE_HOME)/plsql/public \
-I$(ORACLE_HOME)/network/public

Does anyone know what is wrong or what is missing?

Any help will be highly appreciated. Received on Fri Nov 23 2001 - 16:55:24 CST

Original text of this message

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