Makefile compilation Error -Unable to create executable
Hi ,
While trying to compile a PRO*C code on unix using makefile i get the following errors. i am now working on a 10g migration (from 8i) ...
these makefile perfectly work in previous version.
ld: fatal: file /usr/users/PLAT/cltxm25/ccm_wa/ssd/SSD.Server-cltxm251/SSD.Server/ssdArther/Arther: unknown file type
ld: fatal: File processing errors. No output written to Arther
*** Error code 1
make: Fatal error: Command failed for target `Arther'
Arther is the executable which must be ultimately created.
What could be the cause of error ?
Below is a code snippet of my makefile
Arther: arther.o strings.o Useful.o
ld -dy $(COMPOBJS) $(LDSTRING) $(LDFLAGS) -o $(PROC_PREFIX)Arther $(PROC_PREFIX)arther.o $(CODEO)strings.o $(CODEO)Us
eful.o $(GETTLV_PREFIX)get_tlv.o $(GETTLV_PREFIX)reschedule_update.o $(GETTLV_PREFIX)put_tlv.o $(GETTLV_PREFIX)complete_updat
e.o $(GETTLV_PREFIX)update.o $(GETTLV_PREFIX)rollback_update.o $(PROLDLIBS) $(RDBMSLIBS) -lbase -lgen $(SYSLIBS)
strings.o: $(CODEC)strings.c $(CODEH)global.h \
$(CODEH)strings.h
$(CC) $(CFLAGS) -g -c $(CODEC)strings.c -o $(CODEO)strings.o
arther.o: $(CODEH)global.h \
$(CODEH)strings.h $(CODEH)global.h $(CODEH)arther.h
$(PROC) $(PROCPLSFLAGS) $(PROFLAGS) iname=$(PROC_PREFIX)arther.pc include=$(CODEH)
$(CC) $(CFLAGS) -g $(PRECOMPPUBLIC) -c $(PROC_PREFIX)arther.c -o $(PROC_PREFIX)arther.o
Useful.o: $(CODEH)global.h \
$(CODEH)strings.h $(CODEH)global.h $(CODEH)Useful.h
$(PROC) $(PROCPLSFLAGS) $(PROFLAGS) iname=$(CODEC)Useful.pc include=$(CODEH)
$(CC) $(CFLAGS) -g $(PRECOMPPUBLIC) -c $(CODEC)Useful.c -o $(CODEO)Useful.o
Also what is the use of these varibles $(COMPOBJS) $(LDSTRING) $(LDFLAGS) ?? should i modify these varibles ??
Any help in this regard is highly appreciated.
Thanks in Advance
Regards,
Siva
|