|
Blue Forest http://www.lslnet.com at 10:18 on June 6, 2006
Sco oracle7 Unix database make. Pc procedural failures, experts advise.
Ypxs.mk make documents :
$ Cat ypxs.mk
Ypxs : ypxs.o myfun.o
/bin/idld /oracle/lib/ostart.o -L/oracle/lib -o Ypxs \
Ypxs.o myfun.o \
-L/usr/lib -lcurses -ltermcap \
-lsql /oracle/lib/osntab.o -lsqlnet -lora \
-lsqlnet -lora -lpls -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 \
/oracle/lib/olm.o /oracle/lib/old.o \
/oracle/lib/oln.o /oracle/lib/ols.o /oracle/lib/olc.o \
/oracle/lib/oln.o /oracle/lib/ols.o
Ypxs.o : ypxs.c myfun.h
Cc-c ypxs.c -I/oracle/sqllib/public
Myfun.o : myfun.c
Cc-c myfun.c
Ypxs.c : ypxs.pc
/oracle/bin/proc Iname=ypxs.pc
$
Make orders : make-f ypxs.mk
Wrong :
Make-f $ ypxs.mk
Cc-c ypxs.c -I/oracle/sqllib/public
Cc-c myfun.c
/bin/idld /oracle/lib/ostart.o -L/oracle/lib -o Ypxs \
Ypxs.o myfun.o \
-L/usr/lib -lcurses -ltermcap \
-lsql /oracle/lib/osntab.o -lsqlnet -lora \
-lsqlnet -lora -lpls -lnlsrtl3 -lc3v6 -lcore3 -lnlsrtl3 -lcore3 \
/oracle/lib/olm.o /oracle/lib/old.o \
/oracle/lib/oln.o /oracle/lib/ols.o /oracle/lib/olc.o \
/oracle/lib/oln.o /oracle/lib/ols.o
I386ld : Symbol index defined in /oracle/lib/ols.o is multiplying. First defined in myfun.o
*** Error code 1 (bu21)
$ |
Sco oracle7 Unix database make. Pc procedural failures, experts advise.
Myfun.c myfun.h your definition of the index of the variables or bars. This variable has been ols.o use the index to change your name, change my_index like not to use the procedure in their clear meaning of those words, the definition of variables, which may have been used |
| |