Re: error while compiling a C file generated by Pro*C/C++

From: Kenneth C Stahl <BlueSax_at_Unforgetable.com>
Date: Wed, 19 Jan 2000 12:58:21 -0500
Message-ID: <3885FB3D.B1A8826F_at_Unforgetable.com>


Nicolas Roux wrote:
>
> I'm working under Linux and with Oracle 8i.
>
> 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 generated by pro*C/C++. I can't find this
> function in Oracle's libraries.
> What must I do?
>
> Thanks!

Do you have ORACLE_HOME defined in your environment? Received on Wed Jan 19 2000 - 18:58:21 CET

Original text of this message