Okay, thanks. So I got through that...now its doing the following:
gcc -O2 -DSGI -DUSE_TRACING -DHAVE_XDBE -UUSE_TRACING -DDONT_USE_MCW_MAL
LOC -o to3d to3d.o -s -L. -L/usr/Motif-2.1 -lmrix -lcoxplot -lmri -lf2c -lmri -l
Xm -lXt -lXext -lX11 -lm -lc
ld32: WARNING 84: ./libmri.a is not used for resolving any symbol.
ld32: WARNING 127: Two shared objects with the same soname, /usr/lib32/mips3/lib
c.so and /usr/lib32/libc.so, have been been linked. This is probably due to a mi
ssing -L specification. Ignoring the latter.
ld32: Segmentation fault. Removing output file...
collect2: ld returned 1 exit status
*** Error code 1 (bu21)