Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Unable to link Pro*C/C++ program
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.old: 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
![]() |
![]() |