PRO*C - demo makefile

From: S GRABINAR <grabinas_at_cs.aston.ac.uk>
Date: Tue, 22 Feb 1994 16:42:08 GMT
Message-ID: <CLMx28.CL7_at_aston.ac.uk>


Has anybody had this when running the supplied makefile?

ld: warning: option -YP appears more than once, first setting taken
ld: fatal: file samplec.c: unknown type, unable to process using elf(3E) libraries
ld: fatal: File processing errors.  No output written to samplec

*** Error code 1

I would be VERY grateful for any suggestions as to where I have so horribly offended the linker.

Here's the output in it's full splendour...

make -f proc.mk samplec
ld -dy /dba/oracle/product/7.0.12/rdbms/lib/crti.o /dba/oracle/product/7.0.12/rdbms/lib/crt1.o -o samplec samplec.c /dba/oracle/product/7.0.12/lib/libsql.a /dba/oracle/product/7.0.12/lib/osntab.o /dba/oracle/product/7.0.12/lib/libsqlnet.a /dba/oracle/product/7.0.12/lib/libsqlnet.a /dba/oracle/product/7.0.12/lib/libora.a /dba/oracle/product/7.0.12/lib/libsqlnet.a /dba/oracle/product/7.0.12/lib/libnetwork.a /dba/oracle/product/7.0.12/lib/libcore.a -lsocket -lnsl -lm -ldl -laio -Y P,/usr/openwin/lib:/usr/loca

l/lib/x11r5:/usr/ccs/lib:/usr/lib -Qy -lc /dba/oracle/product/7.0.12/rdbms/lib/crtn.o

ld: warning: option -YP appears more than once, first setting taken
ld: fatal: file samplec.c: unknown type, unable to process using elf(3E) libraries
ld: fatal: File processing errors.  No output written to samplec

*** Error code 1

make: Fatal error: Command failed for target `samplec'

Thanks fellow sufferer - Simon


	|							|
 	|	oooh 				     aaah 	|
	|			Grabinar			|
	|							|
   	 -------------------------------------------------------
Received on Tue Feb 22 1994 - 17:42:08 CET

Original text of this message