The o32/n32 objects always seems to end up confusing me. The dx4.1.0
binaries I posted to the opendx web site do indeed include a libDX.a
without a toc. I thought the SGI_ABI was set to -n32. I just recompiled
them again, but with a newer version of gcc and an updated n32 libz.a
(unfortunately I updated the o32 libz.a last time but not the n32
version).  Now libDX.a has a toc. I used Image Magick 5.2.2, so I probably
will wait until DX4.1.1 is declared stable (and IM 5.2.2 binaries
are released) before uploading new binaries. In any event, I did not add
/usr/lib32 to the library search loop. I will try to remember to double
check libDX.a next time.

I compiled and tested several modules and they all seem to work.

Jeff

On Mon, 10 Jul 2000, Gerd Lanfermann wrote:

> 
> 
> Hi,
> 
> the problem of the libDX library not having a toc and thus spoiling the
> linking process with modules was due to archiving with an old libz
> (o32) library. (DX objects were all n32 compiled.) 
> 
> To get around this I edited ./src/exec/Makefile after the configuration
> and added "/usr/lib32" before "/usr/lib" in the library search loop.
> 
> I assume that the precompiled OpenDX irix version for download on the web
> page suffers from the same problem.
> 
> cheers
> 
> gerd
> 
> > If I had to guess, I'd say libDX.a has no globals because irix ar won't 
> > write
> > a toc due to o32/n32 objects.  for some reason o32 objects are being 
> > compiled
> > at some point.  In addition to/ instead of CFLAGS CXXFLAGS CPPFLAGS and
> > LDFLAGS having -n32 you may wish to:
> > setenv SGI_ABI -n32
> > and/or have /etc/compiler.defaults have
> > -DEFAULT:abi=n32
> > 
> > pete
> > 
> > 
> > Gerd Lanfermann wrote:
> > 
> > > Another thing which struck as being strange: I cannot resolve with libDX.a
> > > (I was using  libDXlite above). This behavior is shown by the DX4.1.0
> > > version that I compiled from sources, as well as the precompiled
> > > version by Jeff Braun on the webpages.
> > >
> > > %> file libDX.a
> > > libDX.a:     current ar archive
> > > %> ld libDX.a
> > > ld32: WARNING 126: The archive libDX.a defines no global
> > > symbols. Ignoring.
> > >
> > > %> file libDXlite.a
> > > libDXlite.a: current ar archive containing 32-bit objects
> > > ...and no WARNING for ld.
> > >
> 
> -- 
> _____________________________________________________________________
> Gerd Lanfermann     <[EMAIL PROTECTED]>
> Max-Planck-Institut für Gravitationsphysik  Albert-Einstein-Institut
> Am Mühlenberg       14476 Golm, Germany
> 
> Tel.: +49 331 567-7470                  http://www.aei-potsdam.mpg.de
> Fax:  +49 331 567-7298/7299             http://www.cactuscode.org
> 
> 
> 
> 

----------------------------------------------------------------------
Jeff Braun                        Geophysics Dept. 
mailto: [EMAIL PROTECTED]          Montana Tech 
(406) 496-4206                    1300 W. Park St.
                                  Butte, MT 59701


Reply via email to