Unsatisfied Symbols in Pro C compile (sqlcxt()) (988 Views)
Reply
Occasional Visitor
Gregg Casey
Posts: 2
Registered: ‎06-03-2000
Message 1 of 4 (988 Views)

Unsatisfied Symbols in Pro C compile (sqlcxt())

When compiling a C program (with Oracle Pro C) originally written for cfront then re-written and recompiled with the aCC compiler, I keep getting "Unsatisfied symbols" for sqlcxt() and sqlbuft() functions.
Does any one know what library(s) they are in???
Any ideas at all???
Thanks,
-Gregg W. Casey
Carpe Diem!
Occasional Advisor
Handy Arry
Posts: 8
Registered: ‎01-31-2000
Message 2 of 4 (988 Views)

Re: Unsatisfied Symbols in Pro C compile (sqlcxt())

I believe the sqlcxt sybmbol should be in Oracle's library "libclntsh".
It is definitely not an HP symbol.
You may want to check with Oracle as to why this symbol was not linked in.
Hope this helps.
Honored Contributor
Carlos Fernandez Riera
Posts: 1,172
Registered: ‎09-16-1998
Message 3 of 4 (988 Views)

Re: Unsatisfied Symbols in Pro C compile (sqlcxt())

Search for makefiles samples on $ORACLE_HOME/precomp/demo/proc/*.mk

and $ORACLE_HOME/precomp/doc/read.me

HTH
unsupported
Occasional Visitor
Gregg Casey
Posts: 2
Registered: ‎06-03-2000
Message 4 of 4 (988 Views)

Re: Unsatisfied Symbols in Pro C compile (sqlcxt())

Here is our solution:
The problem was that we wanted to use the C++ compiler (aCC) to compile ALL code incuding Pro C code. The idea was that we would only have to obtain and support one compiler.
However, due to scoping issues in C++, you can't do it. C++ can't find structs defined outside of the "EXEC SQL begin declare section;" and the "EXEC SQL end declare section".
So, we decided to go back to the Ansi C (cc) compiler for the Pro C code and just use aCC for the C++ code.

Thanks for all your respones!
Carpe Diem!
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.