* make on DEC Alpha OSF/1
@ 1993-02-09 15:49 John Quillen
1993-02-09 22:52 ` Wayne Scott
1993-02-10 8:01 ` nck library internal error Frederic Montoya
0 siblings, 2 replies; 3+ messages in thread
From: John Quillen @ 1993-02-09 15:49 UTC (permalink / raw)
make(1) on DEC's osf/1 does not appear to acknowledge the lib.a(file.o)
construct - it doesn't do the ar or the rm.
Is there a patch?
The following Makefile doesn't work properly on DEC OSF/1, but does on
Ultrix 4.3 and SunOS 4.1.2:
OSF/Alpha% cat Makefile
all : prog
lib.a : lib.a(a.o) lib.a(b.o) lib.a(m.o)
ranlib lib.a
prog : lib.a
cc -o m lib.a
OSF/Alpha% make
cc -c a.c
cc -c b.c
cc -c m.c
ranlib lib.a
ar: Warning: creating lib.a
s - creating symbol hash table. Wait...
cc -o m lib.a
ld:
Can't read archive header in: lib.a (Error 0)
*** Exit 1
Stop.
OSF/Alpha%
ultrix% make
cc -c -O a.c
ar rv lib.a a.o
ar: Warning: creating lib.a
a - a.o
rm -f a.o
cc -c -O b.c
ar rv lib.a b.o
a - b.o
rm -f b.o
cc -c -O m.c
ar rv lib.a m.o
a - m.o
rm -f m.o
ranlib lib.a
cc -o m lib.a
Ultrix%
SunOs% make
cc -target sun4 -c -o a.o a.c
ar rv lib.a a.o
a - a.o
ar: creating lib.a
rm -f a.o
cc -target sun4 -c -o b.o b.c
ar rv lib.a b.o
a - b.o
rm -f b.o
cc -target sun4 -c -o m.o m.c
ar rv lib.a m.o
a - m.o
rm -f m.o
ranlib lib.a
cc -o m lib.a
SunOs%
Thanks,
John
--
------------
John Quillen JW_Quillen@fccc.edu Phone: (215) 728-3660 FAX: (215) 728-2513
Research Computing Services / The Fox Chase Cancer Center / Phila. PA, USA
"The world is full of apathy ... but who cares?" R. Murphy
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1993-02-10 8:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-02-09 15:49 make on DEC Alpha OSF/1 John Quillen
1993-02-09 22:52 ` Wayne Scott
1993-02-10 8:01 ` nck library internal error Frederic Montoya
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox