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: Can't compile C file generated by Pro*C/C++

Re: Can't compile C file generated by Pro*C/C++

From: DriftWood <driftwood_at_thebeach.fla.org>
Date: Thu, 20 Jan 2000 19:57:49 GMT
Message-ID: <38896844.866765552@newshost.us.oracle.com>


On Thu, 20 Jan 2000 14:56:33 +0100, Nicolas Roux <n.roux_at_nat.fr> wrote:

>I'm working under Linux and with Oracle 8i. ( 8.1.5.0.0)
>
>My problem is that I can't compile my C file which was generated by the
>Pro*C/C++ .
>It returns this error :
>
>-> undefined reference to 'sqlcxt(void **, unsigned int *, sqlexd,
>sqlcxp const*)'
>-> collect2 : ld returned 1 exit status
>
>sqlcxt is an extern function called by pro*C/C++. I can't find this
>function in Oracle's libraries.
>What must I do?

It is in the SQLLIB -- whatever flavor you have on Linux... On Windows this is ORASQL8.LIB
This should be located in your

  oracle_home/precomp/lib

directory Received on Thu Jan 20 2000 - 13:57:49 CST

Original text of this message

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