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 -> Re: Unsatisfied symbol "sqlca"

Re: Unsatisfied symbol "sqlca"

From: Douglas Hawthorne <douglashawthorne_at_yahoo.com.au>
Date: Fri, 07 May 2004 13:06:22 GMT
Message-ID: <iRLmc.25623$TT.1376@news-server.bigpond.net.au>


"jose luis fernandez diaz" <jose_luis_fdez_diaz_news_at_yahoo.es> wrote in message news:c2f95fd0.0405070424.1fb58df4_at_posting.google.com...
> Hi,
>
> I hava a proc static library. I have the statement:
>
> EXEC SQL include sqlca;
>
> in one program of that library.
>
>
> When I link that library with a C++ program I get the error below:
>
> ld: Unsatisfied symbol "sqlca" in file . . .
>
>
> Any idea ?
>
> Thanks,
> Jose Luis.

Jose,

Try using 'SQLCA' instead of 'sqlca'. According to "Using the SQL Communications Area (SQLCA)" on p.9-17 of the "Oracle 9.2 Pro*C/C++ Precompiler Programmer's Guide", the examples are given in uppercase. The point about case is explicitly made in the 10G manual.

Douglas Hawthorne Received on Fri May 07 2004 - 08:06:22 CDT

Original text of this message

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