[comp.unix.wizards] ranlib: out of memory

david@pyr.gatech.EDU (David Brown) (03/30/89)

Hiya.  It seems that my ranlib is broken.  I'm using a Sun 3/60 
running SunOS4.0.  I've got a directory of  .o files that I want
in an archive...so I:

	ar crv libjunk.a file1.o file2.o file3.o ... fileN.o
	a - file1.o
	a - file2.o
	a - file3.o
	...
	a - fileN.o
	ranlib libjunk.a
	ranlib: ran out of memory

All together, these files don't add up to 200K.  Is ranlib on SunOS4.0
broken?  I looked over the 'fixes' on the 4.0.1 tape, but there's nothing
on ranlib.  And yes, I've tried my WONDERFUL Sun software support ...
I've been waiting for a return call for 6 days now.

I don't have source to pick through, unfortunately.  Anyone out there in
netland know of a way around this?  Any and all help greatly appreciated!

David Brown
david@pyr.gatech.edu
(912) 927-5342

ps: If anyone at Sun is the least bit interested, the service order
number is 284573.

jfh@rpp386.Dallas.TX.US (John F. Haugh II) (03/30/89)

In article <7758@pyr.gatech.EDU> david@pyr.gatech.edu (David Brown) writes:
>I don't have source to pick through, unfortunately.  Anyone out there in
>netland know of a way around this?  Any and all help greatly appreciated!

Try tsort and lorder.
-- 
John F. Haugh II                        +-Quote of the Week:-------------------
VoiceNet: (214) 250-3311   Data: -6272  | "Do not drink and bake"
InterNet: jfh@rpp386.Dallas.TX.US       |         -- Arnold Swartzenegger
UucpNet : <backbone>!killer!rpp386!jfh  +--------------------------------------

zjat02@apctrc.trc.amoco.com (Jon A. Tankersley) (04/22/89)

Re GNU binutils ar....  It'll core dump on you if it is in your path and
you install gcc or other libraries that do do a ranlib!
-tank-
#include <std/disclaimer.h>		/* nobody knows the trouble I .... */
tank@apctrc.trc.amoco.com    ..!uunet!apctrc!tank