[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[McIDAS #ZDH-972490]: Problem compiling McIDAS-X 2009 on Solaris 10
- Subject: [McIDAS #ZDH-972490]: Problem compiling McIDAS-X 2009 on Solaris 10
- Date: Mon, 26 Oct 2009 16:04:53 -0600
Hi Robert,
After your last note, I went back and reread your first email. I
had been misreading what you were reporting, so I decided to
do a Google search for the problem using the search keys:
ieee_flags tcl
It turns out that this problem has been reported by a number
of other folks. Here is the link that looks like it has a
promising work around:
http://sourceforge.net/tracker/index.php?func=detail&aid=1839067&group_id=10894&atid=110894
The file that is being talked about in this post is
~mcidas/mcidas2009/tcl/generic/tclStrToD.c
The problem is that the copy of tclStrToD.c that is in the McIDAS v2009
distribution
appears to already have the fixes noted in the sourceforge posting. So, it
probably comes
down to libsunmath needing to be referenced in the set of libraries.
re: what does the LIBS line look like on your Solaris system?
> LIBS are same as yours
This is very odd given the snippit you sent in your original email:
cc -O -O -DNDEBUG tclAppInit.o -L/usr/mcidas/mcidas2009/tcl/unix -ltcl8.5 -ldl
-lsocket -lnsl -lm \
-Wl,-R,/usr/mcidas/tcl/lib -o tclsh
Undefined first referenced
symbol in file
ieee_flags /usr/mcidas/mcidas2009/tcl/unix/libtcl8.5.so
ld: fatal: Symbol referencing errors. No output written to tclsh
*** Error code 1
The line from the ~mcidas/mcidas2009/tcl/unix/Makefile that runs this reads:
tclsh: ${TCLSH_OBJS} ${TCL_LIB_FILE}
${CC} ${CFLAGS} ${LDFLAGS} ${TCLSH_OBJS}
-L/home/mcidas/mcidas2009/tcl/unix -ltcl8.5 ${LIBS} \
${CC_SEARCH_FLAGS} -o tclsh
If your LIBS is the same as mine for Solaris 10, then the line should expand
to be:
cc -O -O -DNDEBUG tclAppInit.o -L/usr/mcidas/mcidas2009/tcl/unix -ltcl8.5 -ldl
-lsocket -lnsl -lsunmath -lm \
-Wl,-R,/usr/mcidas/tcl/lib -o tclsh
Can you try clobbering the current build attempt and starting from scratch:
<as 'mcidas'>
cd ~/mcidas2009/src
make clobber
-- make sure that config.status has been deleted from
~mcidas/mcidas2009/tcl/unix
make
Cheers,
Tom
--
****************************************************************************
Unidata User Support UCAR Unidata Program
(303) 497-8642 P.O. Box 3000
address@hidden Boulder, CO 80307
----------------------------------------------------------------------------
Unidata HomePage http://www.unidata.ucar.edu
****************************************************************************
Ticket Details
===================
Ticket ID: ZDH-972490
Department: Support McIDAS
Priority: Normal
Status: Closed