linking on SPARCstation 1+

Steve Schoch schoch at trident.arc.nasa.gov
Mon Oct 8 07:30:00 AEST 1990


Given that an object file resides in a .so file and an archive, both
specified in an ld step with the .so file specified first, is there any
reason that ld would resolve a reference from the archive instead of the
.so shared object?

Is it a problem with the reference somehow not "global" and therefore not
seen by the loader?  The shared object is being create just like specified
in Chapter 1 - Shared Libraries in the Programming Utilities and Libraries
manual.

A "-M" on the ld step doesn't help much; it doesn't list the reason a
particular .so was pulled in.

dueker at xenon.arc.nasa.gov        |   Chris Dueker (The Code Slinger)
chris at chuck.arc.nasa.gov         |   Mtn. View, CA  (Sillycon Valley!)



More information about the Comp.sys.sun mailing list