[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20001011: 7.70 build: netcdf okay, problem with tcl (cont.)



>From: address@hidden
>Organization:  UVa
>Keywords:  200010111541.e9BFfL419853 McIDAS-X 7.70 netCDF

Jennie,

>Here is the error I get now:
>
>"./../generic/tclDate.c", line 1113: warning: statement not
>reached
>"./../generic/tclDate.c", line 1326: warning: statement not
>reached
>/opt/SUNWspro/bin/c89 -c -O  -KPIC  -I./../generic -I.
>-DHAVE_GETCWD=1 -DHAVE_UNISTD_H=1 -DUSE_TERMIOS=1
>-DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1
>-DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1
>-DNO_UNION_WAIT=1 -DRETSIGTYPE=void -DHAVE_SIGNED_CHAR=1
>-DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1
>-DTCL_SHLIB_EXT=\".so\" ./../generic/tclEnv.c
>/opt/SUNWspro/bin/c89 -c -O  -KPIC  -I./../generic -I.
>-DHAVE_GETCWD=1 -DHAVE_UNISTD_H=1 -DUSE_TERMIOS=1
>-DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1
>-DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1
>-DNO_UNION_WAIT=1 -DRETSIGTYPE=void -DHAVE_SIGNED_CHAR=1
>-DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1
>-DTCL_SHLIB_EXT=\".so\" ./../generic/tclEvent.c
>/opt/SUNWspro/bin/c89 -c -O  -KPIC  -I./../generic -I.
>-DHAVE_GETCWD=1 -DHAVE_UNISTD_H=1 -DUSE_TERMIOS=1
>-DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1
>-DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1
>-DNO_UNION_WAIT=1 -DRETSIGTYPE=void -DHAVE_SIGNED_CHAR=1
>-DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1
>-DTCL_SHLIB_EXT=\".so\" ./../generic/tclExecute.c
>"./../generic/tclExecute.c", line 328: undefined symbol: hypot
>"./../generic/tclExecute.c", line 328: non-constant initializer:
>op "NAME"
>"./../generic/tclExecute.c", line 413: cannot recover from
>previous errors
>c89: acomp failed for ./../generic/tclExecute.c
>*** Error code 2
>make: Fatal error: Command failed for target `tclExecute.o'
>Current working directory /p0/users/mcadde/mcidas7.7/tcl/unix
>*** Error code 1
>make: Fatal error: Command failed for target `.built_tcl'
>
>Thoughts?

Try the following:

export CC=/opt/SUNWspro/bin/cc
cd mcidas7.7/tcl/unix
make distclean
cd ~/mcidas7.7/tk/unix
make distclean
cd ~/mcidas7.7/src
rm tclcomp
make mcx

This will cause configure to use 'cc' instead of 'c89' when creating
the Makefiles for tcl and tk.  In the past, I have see that I sometimes
have to do the above, but, for the life of me, I have never understood
it.

Any chance for a login as 'mcadde'?

Tom