Re: PRO*C - please help
From: Hui, Kwok Miu <huikomix_at_dt.com.hk>
Date: 1996/11/18
Message-ID: <32911C8E.3EDF_at_dt.com.hk>#1/1
Date: 1996/11/18
Message-ID: <32911C8E.3EDF_at_dt.com.hk>#1/1
Gary Corsar wrote:
>
> Arne Unneland wrote:
> >
> > I would really appreciate help in this. I'm completely new to Pro*C.
> >
> > This happends after precompile when I try to compile it.
> >
> > I get this message:
> >
> > $ cc myfile.c
> > ld:
> > Unresolved:
> > sqlcxt
> >
> > Which library do I link?
> >
I think you are using Unix system. Please copy the resource 'proc.mk' from '$ORACLE_HOME/proc/proc.mk' to your working directory with name 'makefile'.
compile your pro*C programs with command:
make yourfile /* without *.c *.pc */
If your program is a pro*C program, please name it with extention '.pc', otherwise, '.c'.
-- Hui, Kwok Miu (Xu, Guo Miao) E-Mail: huikomix_at_dt.com.hk Oracle DBA & Unix Administrator Tel : (00852)2589 3369 Cho Yang (Hong Kong) Co., Ltd. Fax : (00852)2559 3049Received on Mon Nov 18 1996 - 00:00:00 CET