Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!hao!noao!arizona!lm From: lm@arizona.edu (Larry McVoy) Newsgroups: comp.unix.wizards Subject: making a library breaks the code??? Message-ID: <4079@megaron.arizona.edu> Date: 1 Mar 88 03:34:03 GMT Reply-To: lm@megaron.arizona.edu (Larry McVoy) Organization: Lachman Associates Lines: 17 Hi. I'm running on a Vax 8600 (I think), 4.3BSD from Mt. Xinu. I have some C code in about 5 files. Normally I do things like this: $ cc application.c *.o ../lib/Tlib.a -o application Eventually "*.o" wil have to go into a library, so I tried this: $ ar cr stardoto.a `lorder *.o | tsort` $ ranlib stardoto.a $ cc application.c stardoto.a ../lib/Tlib.a -o application and the code breaks. I'm at a bit of a loss as to why. I'm hoping that somebody out there has seen a similar problem and can point me towards a solution. Anyone have any ideas? I did go back and retry the *.o method of compilation and things still worked.... -- Larry McVoy lm@arizona.edu or ...!{uwvax,sun}!arizona.edu!lm