Operating System - HP-UX
1752572 Members
4713 Online
108788 Solutions
New Discussion юеВ

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

 
Gregg Casey
New Member

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!
3 REPLIES 3
Handy Arry
Occasional Advisor

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.
Carlos Fernandez Riera
Honored Contributor

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
Gregg Casey
New Member

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!