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 -> Unable to link Pro*C/C++ program

Unable to link Pro*C/C++ program

From: Phua Joo Yang <pjyg_at_singtel.com>
Date: Wed, 22 Jul 1998 12:59:01 +0800
Message-ID: <6p3r8p$4n1$1@mawar.singnet.com.sg>


Hi all,

I am unable to link my Pro*C/C++ program after I included the header file sqlcpr.h and used these 2 functions: sqlglm, sqlgls

Heres the output during linking:
g++ -o prog.o query.o
-L/user1/orahome/app/oracle/product/7.3.4/precomp/lib
-L/user1/orahome/app/oracle/product/7.3.4/lib -L./
-L/opt/SUNWspro/SC3.0.1/lib
-I/user1/orahome/app/oracle/product/7.3.4/precomp/public -I. -I
-lclntsh -lxa -lsql -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric -lsq
lnet -lncr
-lsqlnet -lclient -lcommon -lgeneric -lepc -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl
3 -lcore3
-lnlsrtl3 -lsocket -lnsl -lm -ldl -lposix4 -lm -lthread -g

Undefined                       first referenced
 symbol                             in file
sqlglm__FPcPUiT1                    query.o
sqlgls__FPcPUiT1                    query.o
ld: fatal: Symbol referencing errors. No output written to prog gmake: *** [prog] Error 1

Did I miss out any libraries?

Please help.

Joo Yang Received on Tue Jul 21 1998 - 23:59:01 CDT

Original text of this message

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