Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

PRO C compilation and ORACLE library

200 views
Skip to first unread message

Thierry Giguere

unread,
Nov 5, 1997, 3:00:00 AM11/5/97
to

I'm a newcomer in programming in C++ on UNIX. I have the following system
HP 10.20 with HP aC++ Compiler S800 V A.01.04 upgrade with the patch V
A.01.07

The source have been preprocess with PRO C
A got the following message when I'm compile my program

/opt/aCC/lbin/ld/: Unsatisfied symbols :
sqlcxt(void **, unsigned long *, sqlexd *, const sqlcxp *) (code)

I understand that this problem is an unsolveved extern reference but which
ORACLE
library contain this definition and how can I know which library contain
what?


To reply please remove the z at the beginning
zgig...@bigfoot.com
zgig...@icotech.com

Dave Nels

unread,
Nov 5, 1997, 3:00:00 AM11/5/97
to

This is a multi-part message in MIME format.

------=_NextPart_000_01BCEA12.8DDFDA20
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

Add 'CODE=CPP' to PRO*C command line in make file to fix problem. NOTE: by
doing so will mean that you will not be able to use host variables declared
outside of a 'DECLARE SECTION' directly in a PL/SQL block. Only other
solution is to manual edit output of precompiler and add 'extern "C" {}'
around function prototypes that precompiler adds to top of file (of which,
sqlcxt() is one). Good luck!
--
Regards,
Dave Nels

Please Note:
Email address has been modified; remove '---' to reply


Thierry Giguere <gigu...@bigfoot.com> wrote in article
<01bce9d2$4725e100$7547fac2@hull--internet->...

------=_NextPart_000_01BCEA12.8DDFDA20
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<html><head></head><BODY bgcolor=3D"#FFFFFF"><p><font size=3D3 =
color=3D"#000000" face=3D"Arial">Add 'CODE=3DCPP' to PRO*C command line =
in make file to fix problem. NOTE: by doing so will mean that you will =
not be able to use host variables declared outside of a 'DECLARE =
SECTION' directly in a PL/SQL block. Only other solution is to manual =
edit output of precompiler and add 'extern &quot;C&quot; {}' around =
function prototypes that precompiler adds to top of file (of which, =
sqlcxt() is one). Good luck!<br>-- <br>Regards,<br>Dave =
Nels<br><br>Please Note:<br>Email address has been modified; remove =
'---' to reply<br><br><br><br><br>Thierry Giguere &lt;<font =
color=3D"#0000FF"><u>gigu...@bigfoot.com</u><font =
color=3D"#000000">&gt; wrote in article &lt;<font =
color=3D"#0000FF"><u>01bce9d2$4725e100$7547fac2@hull--internet-</u><font =
color=3D"#000000">&gt;...<br>&gt; I'm a newcomer in programming in C++ =
on UNIX. &nbsp;I have the following system <br>&gt; HP 10.20 &nbsp;with =
HP aC++ Compiler S800 V &nbsp;A.01.04 upgrade with the patch V<br>&gt; =
A.01.07<br>&gt; <br>&gt; The source have been preprocess with PRO =
C<br>&gt; A got the following message when I'm compile my =
program<br>&gt; <br>&gt; /opt/aCC/lbin/ld/: &nbsp;Unsatisfied =
symbols=A0:<br>&gt; sqlcxt(void **, unsigned long *, sqlexd *, const =
sqlcxp *) (code)<br>&gt; <br>&gt; I understand that this problem is an =
unsolveved extern reference but which<br>&gt; ORACLE<br>&gt; library =
contain this definition and how can I know which library contain<br>&gt; =
what?<br>&gt; <br>&gt; <br>&gt; To reply please remove the z at the =
beginning<br>&gt; <font =
color=3D"#0000FF"><u>zgig...@bigfoot.com</u><font =
color=3D"#000000"><br>&gt; <font =
color=3D"#0000FF"><u>zgig...@icotech.com</u><font =
color=3D"#000000"><br>&gt; </p>
</font></font></font></font></font></font></font></font></font></body></h=
tml>
------=_NextPart_000_01BCEA12.8DDFDA20--


0 new messages