Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> "Error occur while using SQLDA and linking libsql.a in UNIX"
hello all,
When I was implementing dynamic method 4 and using SQLDA in Oracle 7 under UNIX environment. The code passed compile but linking error occured at the end.
//====Problem Description=====
The linker was complaining that
ld: 0711-317 ERROR: Undefined symbol: .sqlda(int,
unsigned int, unsigned int)
Besides, more detail information generated by ld is as below.
(ld): lib
/fads/cots/appl/oracle/product/v1/7.3/lib/libsql.a
(ld): lib
/fads/cots/appl/oracle/product/v1/7.3/lib/libsqlne
t.a
.
.
.
(ld): i dbConvert.o
.
.
ld: 0711-318 ERROR: undefined symbols were found.
Symbol Inpndx TY CL Source-File
//==== Question ? ========
But, it confuses me very much that although the
required library "libsql.a" was linked before the
calling object "dbConvert.o", the undefined symbol
linking error still exists.
Even, I ever tried to extract sqlda.o from libsql.a to do manual linking, the error just won't go away.
//==== Wonder ? =========
Did anybody ever encounter the similar problem
while working with oracle in UNIX environment ?
Your Help will be highly appreciated !
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Thu Dec 16 1999 - 14:43:37 CST