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: Make File!

Re: Make File!

From: L120bj <l120bj_at_aol.com>
Date: 1998/01/15
Message-ID: <19980115130000.IAA15795@ladder02.news.aol.com>#1/1

>Subject: Make File!
>From: ylau1_at_umbc.edu (Lau Anna)
>Date: 1/15/98 0:27AM GMT
>Message-id: <69jl5a$am3$2_at_news.umbc.edu>
>
>
>HI, sorry to bother you but I am desperate to finish up my project. I have
>written a
>program in PRO*C but I have trouble in compiling it. I am using a make file
>provided
>by the professor who won't be back until the 20th (and I need to finish up
>the
>project before the 21st to graduate).
>
>I would appreciate any help you can give me or any advice on whom I can ask.
>Thanks!
>
> ANNA
>
>Following is the make file, my program name is main.pc
>
>#Sample simple Makefile for the Pro*C Precompiler:
># precompiling, compliling, and linking using the gcc compiler.
>#
>#
>#ORACLE_HOME=/u01/app/oracle/product/7.3.2
>#
>ORA_INC=-I$(ORACLE_HOME)/precomp/public
>ORA_LIBDIR=-L$(ORACLE_HOME)/lib -L$(ORACLE_HOME)/rdbms/lib
>-L$(ORACLE_HOME)/precomp/lib \
> -L$(ORACLE_HOME)/sqlplus/lib -L$(ORACLE_HOME)/otrace/lib
>ORA_LIBS= -lxa -lsql -lsqlnet -lncr -lsqlnet -lclient -lcommon -lgeneric
>-lsqlnet \
> -lncr -lsqlnet -lclient -lcommon -lgeneric -lepc -lnls
>rtl3 -lc3v6 -lcore3 \
> -lnlsrtl3 -lcore3 -lnlsrtl3
>#
>#
>PROC=proc
>PROCFLAGS=dbms=v6_char
>#
>CC=gcc
>CFLAGS= $(ORA_INC) -I.
>#
>#
>#
>PROGS= main
>
>all: $(PROGS)
>main : main.pc
> $(PROC) $(PROCFLAGS) iname=main.pc
> $(CC) $(CFLAGS) -c main.c
> $(CC) $(CFLAGS) -o main main.o $(ORA_LIBDIR) $(O
>RA_LIBS) -lm
>
>clean:
> rm *.o main.c $(PROGS)
>
>
>
>
>
>
>
>

What exactly are the problems you are experiencing ? It may be quicker to e-mail me Received on Thu Jan 15 1998 - 00:00:00 CST

Original text of this message

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