Newsgroups: comp.sys.3b1
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!src.honeywell.com!msi.umn.edu!cs.umn.edu!wagner
From: wagner@cs.umn.edu (Paul J. Wagner)
Subject: Re: Problems with ISAM routines
Message-ID: <1991May1.015118.19255@cs.umn.edu>
Summary: solution given by many; thanks to all
Keywords: ISAM C unix-pc
Organization: University of Minnesota, Minneapolis, CSci dept.
References: <1991Apr22.212151.4564@cs.umn.edu> <1991Apr30.200606.1386@bellcore.bellcore.com>
Distribution: bcr
Date: Wed, 1 May 91 01:51:18 GMT
Lines: 35

In article <1991Apr30.200606.1386@bellcore.bellcore.com> krohn@bae.bellcore.com writes:
>In article <1991Apr22.212151.4564@cs.umn.edu>, wagner@cs.umn.edu (Paul J. Wagner) writes:
>|> The problem is that some of the ISAM routines are not being found....  
...

>It sounds like the ISAM library was compiled on a pre-3.5 Development Set.
... < thus truncating all symbol names to 8 characters > ...

This was indeed my problem, as several folks kindly pointed out.  Thanks
to everyone who took the time to respond - this group rates high on the
helpfulness scale.

>
>I think the 3.5 ld command has a -T option to truncate the names, giving
>you backward compatibility with old libraries.
>

This was the most popular suggestion for a solution (I've tried this and
it does indeed work for my application), though *all* symbol names are
truncated.

Kris Kugel suggested that the -G flag is even better, as the loader
re-searches the modules for the unresolved symbols, after truncating *only*
those unresolved symbols (making it less likely that you'll get a symbol
name conflict due to having multiple symbols starting with the same 8
characters).  Makes sense to me...

thanks again for all suggestions/solutions,

Paul
-- 
* Paul J. Wagner                Internet - wagner@cs.umn.edu              *
* Computer Science Department   Work     - pwagner@uwstout.edu            *
* University of Minnesota       or, 120 S. Michigan, Eau Claire, WI 54703 *
*     "think globally, act lexically"                                     *
