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

make clean in the src/exec tree, then make ; make install

pete


Gerd Lanfermann wrote:

> Hi,
>
> trying to compile an inboard module (OpenDX 4.1.0 on an Origin2000,
> Irix6.5, MIPSpro Compilers: Version 7.30), I end up getting the message:
>
> Unresolved text symbol "main" - 1st referenced by /usr/lib32/mips4/crt1.o
>
> I'm aware of the discussion threads in the lists back last year, but I'm
> uncertain on the suggested workaround. The following things allowed me to
> compile (but...)
>
> - using the flag: -ignore_unresolved
> - manual linking without  /usr/lib32/mips4/crtn.o
>
> This got me past the link stage, but doing a "dx -exec dxexec" and
> editing a new network e.g., I cannot connect to the server. Errors
> messages are: none / "TraceBPT trap", respectively.
> The standalone dx is working, btw.
>
> 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.
>
> So, why doesn't libDX know about the 32-bits, etc...
>
> Appreciate any help!
>
> best
>
> gerd
>
> --
> _____________________________________________________________________
> 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