[Info-vax] Linker question
Hein RMS van den Heuvel
heinvandenheuvel at gmail.com
Fri Aug 27 22:45:14 EDT 2010
On Aug 27, 3:56 pm, JF Mezei <jfmezei.spam... at vaxination.ca> wrote:
> Syltrem wrote:
> >> %LINK-I-IDMISMCH, GSMATCH of 02,00001C in shareable image
> >> DGSI_A1:[TREMBLAY]SORTSHR.EXE;1
> >> differs from GSMATCH of 02,00001D in shareable image library
> >> SYS$COMMON:[SYSLIB]IMAGELIB.OLB;2
>
> > The program works fine on the other system when linked that way.
>
> If you have a logical SORTSHR pointing to a private copy, why does the
> linker know of both the private and standard copies ?
Because nothing told the linker to follow that logical at the start.
The linker automatically searches STARLET.OLB and IMAGELIB.
it found SORTSHR first in image lab, then was redirected -->
confusion.
So either you have to explicitly tell the linker in through an OPT
file entry to go pick up you private/old version sort-shr, or also
replace it in (a copy of) IMAGELIB and point the linker to that or
just setup a whole alternate version SYS$LIBRARY as Brian suggests.
fwiw, i would not fell too bad about providing a newer shareable to
run on an older system, but where do you stop? The newer sharable
probably insists on other, also newer, shareable like perhaps LIBRTL.
I haven't checked that for SORTSHR but you would have to check.
hth,
Hein
More information about the Info-vax
mailing list