cc / ld problems on Ultrix 4.0 ?

Venu S Rayaprolu rayaprol at snook.ecs.umass.edu
Thu Jan 17 07:29:57 AEST 1991


I'm running Ultrix 4.0 on Decstation 5000 and I seem to have run into a
problem 
with linking my libraries with other object modules. I have my own routines 
built into libraries, libA.a, libB.a , libC.a, for instance, and these are in
MYLIBPATH. However when I do,

	cc -LMYLIBPATH objfile -o output -lA -lB -lC

some of the routines in libB.a don't get included. I had to do the following:

	cc -LMYLIBPATH objfile -o output -lA -lB -lC -lB

add the libB.a again to overcome that. Obviously, this is a cumbersome
solution.
I haven't had probelms like this when I built the same stuff using
Ultrix 3.1 cc, 
a while ago. Has anyone run into this problem before ? Does anyone have any 
ideas, pointers, solutions ... ? 
Thanks.

Venu S Rayaprolu

---

Internet : rayaprol at umvlsi.ecs.umass.edu
BITNET	 : rayaprol at umaecs.BITNET



More information about the Comp.unix.ultrix mailing list