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


Reply via email to