The libDX.a and libDXcallm.a built by OpenDX here on IRIX end up
invalid (no symbol table).

     This happens because DX's configure picks up the o32 libz.a from
/usr/lib, from which it extracts the .o's.  It then merges these into the
DX libraries.  This is all done in src/exec/Makefile.

     If you're building an n32 DX, this is a problem.  Adding objects for
different architectures into one archive results in an archive with no
symbol table, so linking against it fails to resolve any symbols.

     I did try:

     configure ... --with-zlib=/usr/local/lib32/libz.a

but configure apparently doesn't support that.  src/exec/Makefile.in is
hard-wired for a "/lib /usr/lib /usr/local/lib" search path which doesn't
work on IRIX (.../lib is o32, .../lib32 is n32, and .../lib64 is 64).

I'll try building with:

     configure ... --without-zlib

and see if that doesn't get work around it the next build.  Rebuilding the
libraries by hand (removing the libz files) also works.

Randall

Reply via email to