Steve Woolsey:
|I have a module I have created using the module builder. It compiles
|ok, but I can't get it to link. I keep getting unresolved symbols in
|libDX.a. I am compiling on IRIX 6.5.12f. using the sgi compilers.
|
|Any help resolving these issues would be appreciated.
I get different results here (IRIX 6.5.10f and MIPSpro 7.3.1.1m compilers,
though probably not relevent). This is also with a recent CVS, but I think
4.1.3 -- what
version of the source are you using?
|The errors I get are:
|
|ld32: ERROR 33 : Unresolved data symbol "_dxdtrisri2dinterpolator_class"
|ld32: ERROR 33 : Unresolved text symbol "m_SocketConnection" -- 1st
|ld32: ERROR 33 : Unresolved text symbol "_dxfConnectRadiusObject" --
|ld32: ERROR 33 : Unresolved text symbol "_dxfConnectNearestObject" --
|ld32: ERROR 33 : Unresolved text symbol "_dxfConnectScatterObject" --
|ld32: ERROR 33 : Unresolved text symbol "_dxf_DrawOpaqueOGL" -- 1st
|ld32: ERROR 33 : Unresolved text symbol "_dxf_DrawTranslucentOGL" --
Odd. Looks like your build of libDX.a must have failed in some way because
here I see all of these. Just reverified, and callmodule apps link
successfully.
> nm -Bo libDX.a | egrep " [TD]
> (m_SocketConnection|_dxdtrisri2dinterpolator_class|_dxfConnectRadiusObject|_dxfConnectNearestObject|_dxfConnectScatterObject|_dxf_DrawOpaqueOGL|_dxf_DrawTranslucentOGL)"
libDX.a:md_connectgrids.o: 00000190 T _dxfConnectNearestObject
libDX.a:md_connectgrids.o: 00000300 T _dxfConnectRadiusObject
libDX.a:md_connectgrids.o: 0001b750 T _dxfConnectScatterObject
libDX.a:mdsocketconnect.o: 000001b0 T m_SocketConnection
libDX.a:oghwportutilogl.o: 00022f60 T _dxf_DrawOpaqueOGL
libDX.a:oghwportutilogl.o: 00022320 T _dxf_DrawTranslucentOGL
libDX.a:lbtrisri2dclass.o: 00000000 D _dxdtrisri2dinterpolator_class
Try building the latest version this way. It omits ImageMagick, but we're
just diagnosing the problem here.
----------------------------------------------------------------------
# Fetch
cvs -d :pserver:[EMAIL PROTECTED]:/src/master login
Password: anoncvs
cvs -d :pserver:[EMAIL PROTECTED]:/src/master checkout dx
# Configure & build
CVSMake
env CXX="/bin/CC -mips4 -n32" CC="/bin/cc -mips4 -n32" \
SGI_ABI="-n32" CFLAGS="-O2" CXXFLAGS="-O2" LDFLAGS="-Wl,-n32" \
configure
gmake -j16
gmake install
----------------------------------------------------------------------
Randy
--
Randall Hopper (mailto:[EMAIL PROTECTED])
Lockheed Martin Operation Support
EPA Scientific Visualization Center
US EPA N127-01; RTP, NC 27711