I'm trying to compile a proc program when use make -f proc.mk , it gives the following error .
`/export/home/app/oracle/product/10.2.0/lib/libclntsh.so' is up to date.
rateutil.o: No such file or directory
Please advise ,, I need urgent help.
Thanks,
Omar Atia:)
Some syntax in your makefile is not right. It thinks you are trying to compile libclntsh which you should never do.
You need to post the .pc: block from your makefile
Example:
.pc:
@ rm -f make.log
$(PROC) iname=$*.pc $(PROFLAGS)
$(CC) $(CFLAGS) $*.c -o $* $(LDFLAGS) $(LOBJS) $(ULIBS) $(LLIBS) $(CCOPT)
@ echo "Successful Compilation of $*.pc"
@ echo " "
I am also getting the same error :
`/ora/product/v92032/lib/libclntsh.so' is up to date.
Here is my make file :
.SUFFIXES: .c
all: $(APPS)
clean:
rm -f $(OBJECTS) core
clobber: clean
rm -f $(APPS)
$(APPS): $(OBJECTS) $(C_FILES) $(PROC_FILES) $(INC_FILES) Makefile
$(CC) -o $(APPS) \
$(OBJECTS) \
$(CFLAGS) \
$(ORACLE_CFLAGS) $(ORACLE_LDFLAGS) \
$(LDPATHFLAG)$(LIBHOME) $(PROLDLIBS) \
$(LDLIBS)
$(OBJECTS): $(C_FILES) $(PROC_FILES) $(INC_FILES) Makefile
$(CC) -c $(CFLAGS) $(ORACLE_CFLAGS) $<
.c: $(PROC_FILES) $(INC_FILES) Makefile
$(PROC) INCLUDE=\($(ORACLE_INCLUDE)\) iname=$<
Can somebody help me, as i dont have much idea of make files.
thanks
Shihab