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 ?
i am trying to create an executable named arther (an Applicaton)
i am completely new to makefile's ... So it would be great if u could help me in this regard.
That is awful if you need the "-o" in LDFLAGS. The -o option is a standard option and preceedes the output file designation, this works for ld, cc, c89, gcc, CC, etc.
LDFLAGS, CFLAGS and CXXFLAGS should contain things like optimatizations, code generation options, environment options etc.
One of the few things that should not really go in there is "-o". Looks like you started with a very poor makefile.
from your makefile i conlude tha you create an executable named "Arther" not "arther"
does "/usr/users/PLAT/cltxm25/ccm_wa/ssd/SSD.Server-cltxm251/SSD.Server/ssdArther/Arther" exist befor you make your program?
mfg guenter