Re: Linking C programs (Embedded SQLs)

From: <raomallik_at_my-deja.com>
Date: 2000/03/01
Message-ID: <89k1nv$8rl$1_at_nnrp1.deja.com>#1/1


Hi Stahl,

Thank you for your suggestion.

As per your suggestion I have supplied SQLLIB while linking my programs. I got a clean .EXE file. But when I execute that file I am getting an error.

It says "The FINAL.EXE file is linked to missing export ORASQL8.DLL:".

Could you please suggest me how to solve this?

Thanks.

Mallik

In article <38BD1C65.B9E6BE22_at_Unforgetable.com>,   K Stahl <BlueSax_at_Unforgetable.com> wrote:
> raomallik_at_my-deja.com wrote:
> >
> > Hi All,
> >
> > I am using GNU's CYGNUS (C compiler) for WinNT. I have compiled an
 SQL
> > embedded C program (.pc file) with Oracle Pro*C under WinNT.
> >
> > My precompilation with Pro*C is clean and I could even C compiled
 the
> > output.
> >
> > But when I tried to link my programs( all .o files) I am getting an
> > error 'Undefined reference to SQLCXT'.
> >
> > My precompiled output (.c file) contains SQLCXT.
> >
> > Can any body suggest me how to fix this error ?
> >
> > Thanks,
> >
> > Mallik
> >
> > Sent via Deja.com http://www.deja.com/
> > Before you buy.
>
> You need to make sure that your link step has a reference to the sql
> libraries. The best thing to do is use the proc.mk file that comes
 with
> Pro-C.
>

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Wed Mar 01 2000 - 00:00:00 CET

Original text of this message