rayaprol@snook.ecs.umass.edu (Venu S Rayaprolu) (01/17/91)
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@umvlsi.ecs.umass.edu BITNET : rayaprol@umaecs.BITNET