./configure --prefix=/software/@sys/usr --enable-threads creating cache ./config.cache checking whether to use symlinks for manpages... no checking compression for manpages... no checking for gcc... cc checking whether the C compiler (cc -O2 -arch ev56 ) works... yes checking whether the C compiler (cc -O2 -arch ev56 ) is a cross-compiler... no checking whether we are using GNU C... no checking whether cc accepts -g... yes checking how to run the C preprocessor... cc -E checking for unistd.h... yes checking for limits.h... yes checking for building with threads... yes checking for pthread_mutex_init in -lpthread... no checking for __pthread_mutex_init in -lpthread... yes checking for pthread_attr_setstacksize... no checking for readdir_r... yes checking for required early compiler flags... none checking for 64-bit integer type... using long checking whether byte ordering is bigendian... no checking for getcwd... yes checking for opendir... yes checking for strstr... yes checking for strtol... yes checking for strtoll... no checking for strtoull... no checking for tmpnam... yes checking for waitpid... yes checking for strerror... yes checking for getwd... yes checking for wait3... yes checking for uname... yes checking for realpath... yes checking dirent.h... yes checking for errno.h... yes checking for float.h... yes checking for values.h... yes checking for limits.h... (cached) yes checking for stdlib.h... yes checking for string.h... yes checking for sys/wait.h... yes checking for dlfcn.h... yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for sys/modem.h... no checking termios vs. termio vs. sgtty... termios checking for fd_set in sys/types... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for sys/time.h... yes checking whether time.h and sys/time.h may both be included... yes checking for tm_zone in struct tm... yes checking for gmtime_r... yes checking for localtime_r... yes checking tm_tzadj in struct tm... no checking tm_gmtoff in struct tm... yes checking long timezone variable... yes checking for st_blksize in struct stat... yes checking for fstatfs... yes checking for 8-bit clean memcmp... yes checking for memmove... yes checking proper strstr implementation... yes checking for strtoul... yes checking for strtod... yes checking for strtod... (cached) yes checking for Solaris2.4/Tru64 strtod bugs... ok checking for ANSI C header files... yes checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking for uid_t in sys/types.h... yes checking for socklen_t... no checking for opendir... (cached) yes checking union wait... no checking for strncasecmp... yes checking for BSDgettimeofday... no checking for gettimeofday... yes checking for gettimeofday declaration... present checking whether char is unsigned... no checking signed char declarations... yes checking for a putenv() that copies the buffer... no checking for langinfo.h... yes checking whether to use nl_langinfo... yes checking for sin... no checking for main in -lieee... no checking for main in -linet... no checking for net/errno.h... no checking for connect... yes checking for gethostbyname... yes checking how to build libraries... shared checking for ranlib... ranlib checking if 64bit support is requested... no checking if 64bit Sparc VIS support is requested... no checking system version (for dynamic loading)... OSF1-V5.1 checking for dlopen in -ldl... no checking for ar... ar checking for build with symbols... no checking for sys/ioctl.h... yes checking for sys/filio.h... no checking FIONBIO vs. O_NONBLOCK for nonblocking I/O... FIONBIO checking how to package libraries... standard shared library updating cache ./config.cache creating ./config.status creating Makefile creating dltest/Makefile creating tclConfig.sh $ make [...] cc -c -O2 -arch ev56 -O -DTCL_DBGX= -I./../generic -I. -DHAVE_TZSET -std1 -ieee -DHAVE_PTHREAD_ATTR_SETSTACKSIZE -DTCL_THREAD_STACK_MIN=PTHREAD_STACK_MIN*64 -pthread -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_READDIR_R=1 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -Dsocklen_t=unsigned -DNO_UNION_WAIT=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1 -DUSE_FIONBIO=1 -DTCL_SHLIB_EXT=\".so\" ./../generic/tclExecute.c cc: Info: ./../generic/tclExecute.c, line 390: In the initializer for tclBuiltinFuncTable[0].clientData, "acos" of type "pointer to function (double) returning double", is being converted to "pointer to void". Such a cast is not permitted by the standard. (nonstandcast) {"acos", 1, {TCL_DOUBLE}, ExprUnaryFunc, (ClientData) acos}, ----------------------------------------------------------^ cc: Info: ./../generic/tclExecute.c, line 391: In the initializer for tclBuiltinFuncTable[1].clientData, "asin" of type "pointer to function (double) returning double", is being converted to "pointer to void". Such a cast is not permitted by the standard. (nonstandcast) {"asin", 1, {TCL_DOUBLE}, ExprUnaryFunc, (ClientData) asin}, ----------------------------------------------------------^ cc: Info: ./../generic/tclExecute.c, line 392: In the initializer for tclBuiltinFuncTable[2].clientData, "atan" of type "pointer to function (double) returning double", is being converted to "pointer to void". Such a cast is not permitted by the standard. (nonstandcast) {"atan", 1, {TCL_DOUBLE}, ExprUnaryFunc, (ClientData) atan}, ----------------------------------------------------------^ cc: Info: ./../generic/tclExecute.c, line 393: In the initializer for tclBuiltinFuncTable[3].clientData, "atan2" of type "pointer to function (double, double) returning double", is being converted to "pointer to void". Such a cast is not permitted by the standard. (nonstandcast) {"atan2", 2, {TCL_DOUBLE, TCL_DOUBLE}, ExprBinaryFunc, (ClientData) atan2}, ------------------------------------------------------------------------^ cc: Info: ./../generic/tclExecute.c, line 394: In the initializer for tclBuiltinFuncTable[4].clientData, "ceil" of type "pointer to function (double) returning double", is being converted to "pointer to void". Such a cast is not permitted by the standard. (nonstandcast) {"ceil", 1, {TCL_DOUBLE}, ExprUnaryFunc, (ClientData) ceil}, ----------------------------------------------------------^ cc: Info: ./../generic/tclExecute.c, line 395: In the initializer for tclBuiltinFuncTable[5].clientData, "cos" of type "pointer to function (double) returning double", is being converted to "pointer to void". Such a cast is not permitted by the standard. (nonstandcast) {"cos", 1, {TCL_DOUBLE}, ExprUnaryFunc, (ClientData) cos}, ---------------------------------------------------------^ cc: Info: ./../generic/tclExecute.c, line 396: In the initializer for tclBuiltinFuncTable[6].clientData, "cosh" of type "pointer to function (double) returning double", is being converted to "pointer to void". Such a cast is not permitted by the standard. (nonstandcast) {"cosh", 1, {TCL_DOUBLE}, ExprUnaryFunc, (ClientData) cosh}, ----------------------------------------------------------^ cc: Info: ./../generic/tclExecute.c, line 397: In the initializer for tclBuiltinFuncTable[7].clientData, "exp" of type "pointer to function (double) returning double", is being converted to "pointer to void". Such a cast is not permitted by the standard. (nonstandcast) {"exp", 1, {TCL_DOUBLE}, ExprUnaryFunc, (ClientData) exp}, ---------------------------------------------------------^ cc: Info: ./../generic/tclExecute.c, line 398: In the initializer for tclBuiltinFuncTable[8].clientData, "floor" of type "pointer to function (double) returning double", is being converted to "pointer to void". Such a cast is not permitted by the standard. (nonstandcast) {"floor", 1, {TCL_DOUBLE}, ExprUnaryFunc, (ClientData) floor}, -----------------------------------------------------------^ cc: Info: ./../generic/tclExecute.c, line 399: In the initializer for tclBuiltinFuncTable[9].clientData, "fmod" of type "pointer to function (double, double) returning double", is being converted to "pointer to void". Such a cast is not permitted by the standard. (nonstandcast) {"fmod", 2, {TCL_DOUBLE, TCL_DOUBLE}, ExprBinaryFunc, (ClientData) fmod}, -----------------------------------------------------------------------^ cc: Info: ./../generic/tclExecute.c, line 400: In the initializer for tclBuiltinFuncTable[10].clientData, "hypot" of type "pointer to function (double, double) returning double", is being converted to "pointer to void". Such a cast is not permitted by the standard. (nonstandcast) {"hypot", 2, {TCL_DOUBLE, TCL_DOUBLE}, ExprBinaryFunc, (ClientData) hypot}, ------------------------------------------------------------------------^ cc: Info: ./../generic/tclExecute.c, line 401: In the initializer for tclBuiltinFuncTable[11].clientData, "log" of type "pointer to function (double) returning double", is being converted to "pointer to void". Such a cast is not permitted by the standard. (nonstandcast) {"log", 1, {TCL_DOUBLE}, ExprUnaryFunc, (ClientData) log}, ---------------------------------------------------------^ cc: Info: ./../generic/tclExecute.c, line 402: In the initializer for tclBuiltinFuncTable[12].clientData, "log10" of type "pointer to function (double) returning double", is being converted to "pointer to void". Such a cast is not permitted by the standard. (nonstandcast) {"log10", 1, {TCL_DOUBLE}, ExprUnaryFunc, (ClientData) log10}, -----------------------------------------------------------^ cc: Info: ./../generic/tclExecute.c, line 403: In the initializer for tclBuiltinFuncTable[13].clientData, "pow" of type "pointer to function (double, double) returning double", is being converted to "pointer to void". Such a cast is not permitted by the standard. (nonstandcast) {"pow", 2, {TCL_DOUBLE, TCL_DOUBLE}, ExprBinaryFunc, (ClientData) pow}, ----------------------------------------------------------------------^ cc: Info: ./../generic/tclExecute.c, line 404: In the initializer for tclBuiltinFuncTable[14].clientData, "sin" of type "pointer to function (double) returning double", is being converted to "pointer to void". Such a cast is not permitted by the standard. (nonstandcast) {"sin", 1, {TCL_DOUBLE}, ExprUnaryFunc, (ClientData) sin}, ---------------------------------------------------------^ cc: Info: ./../generic/tclExecute.c, line 405: In the initializer for tclBuiltinFuncTable[15].clientData, "sinh" of type "pointer to function (double) returning double", is being converted to "pointer to void". Such a cast is not permitted by the standard. (nonstandcast) {"sinh", 1, {TCL_DOUBLE}, ExprUnaryFunc, (ClientData) sinh}, ----------------------------------------------------------^ cc: Info: ./../generic/tclExecute.c, line 406: In the initializer for tclBuiltinFuncTable[16].clientData, "sqrt" of type "pointer to function (double) returning double", is being converted to "pointer to void". Such a cast is not permitted by the standard. (nonstandcast) {"sqrt", 1, {TCL_DOUBLE}, ExprUnaryFunc, (ClientData) sqrt}, ----------------------------------------------------------^ cc: Info: ./../generic/tclExecute.c, line 407: In the initializer for tclBuiltinFuncTable[17].clientData, "tan" of type "pointer to function (double) returning double", is being converted to "pointer to void". Such a cast is not permitted by the standard. (nonstandcast) {"tan", 1, {TCL_DOUBLE}, ExprUnaryFunc, (ClientData) tan}, ---------------------------------------------------------^ cc: Info: ./../generic/tclExecute.c, line 408: In the initializer for tclBuiltinFuncTable[18].clientData, "tanh" of type "pointer to function (double) returning double", is being converted to "pointer to void". Such a cast is not permitted by the standard. (nonstandcast) {"tanh", 1, {TCL_DOUBLE}, ExprUnaryFunc, (ClientData) tanh}, ----------------------------------------------------------^ cc: Info: ./../generic/tclExecute.c, line 4800: In the initializer for func, "clientData" of type "pointer to void", is being converted to "pointer to function (double) returning double". Such a cast is not permitted by the standard. (nonstandcast) (double (*)_ANSI_ARGS_((double))) clientData; ------------------------------------------^ cc: Info: ./../generic/tclExecute.c, line 4864: In the initializer for func, "clientData" of type "pointer to void", is being converted to "pointer to function (double, double) returning double". Such a cast is not permitted by the standard. (nonstandcast) = (double (*)_ANSI_ARGS_((double, double))) clientData; ----------------------------------------------------^ cc -c -O2 -arch ev56 -O -DTCL_DBGX= -I./../generic -I. -DHAVE_TZSET -std1 -ieee -DHAVE_PTHREAD_ATTR_SETSTACKSIZE -DTCL_THREAD_STACK_MIN=PTHREAD_STACK_MIN*64 -pthread -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_READDIR_R=1 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -Dsocklen_t=unsigned -DNO_UNION_WAIT=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1 -DUSE_FIONBIO=1 -DTCL_SHLIB_EXT=\".so\" ./../generic/tclIO.c cc: Info: ./../generic/tclIO.c, line 3954: In this statement, an array is being accessed outside the bounds specified for the array type. (subscrbounds) memcpy((VOID *) (nextPtr->buf + BUFFER_PADDING - extra), --------------------------------------------^ cc: Info: ./../generic/tclIO.c, line 4102: In this statement, an array is being accessed outside the bounds specified for the array type. (subscrbounds) (VOID *) (nextPtr->buf + BUFFER_PADDING - extra), -------------------------------------------------^ cc: Info: ./../generic/tclIO.c, line 8868: In this statement, "(chanTypePtr->version)" of type "pointer to struct Tcl_ChannelTypeVersion_", is being converted to "pointer to function (pointer to void, int) returning int". Such a cast is not permitted by the standard. (nonstandcast) return (Tcl_DriverBlockModeProc *) (chanTypePtr->version); -------------------------------------------^ cc -c -O2 -arch ev56 -O -DTCL_DBGX= -I./../generic -I. -DHAVE_TZSET -std1 -ieee -DHAVE_PTHREAD_ATTR_SETSTACKSIZE -DTCL_THREAD_STACK_MIN=PTHREAD_STACK_MIN*64 -pthread -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_READDIR_R=1 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -Dsocklen_t=unsigned -DNO_UNION_WAIT=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1 -DUSE_FIONBIO=1 -DTCL_SHLIB_EXT=\".so\" ./../generic/tclIOSock.c cc: Warning: ./../generic/tclIOSock.c, line 97: In this statement, the referenced type of the pointer value "&len" is "unsigned int", which is not compatible with "int" because they differ by signed/unsigned attribute. (ptrmismatch1) getsockopt(sock, SOL_SOCKET, SO_SNDBUF, (char *)¤t, &len); --------------------------------------------------------------^ cc: Warning: ./../generic/tclIOSock.c, line 103: In this statement, the referenced type of the pointer value "&len" is "unsigned int", which is not compatible with "int" because they differ by signed/unsigned attribute. (ptrmismatch1) getsockopt(sock, SOL_SOCKET, SO_RCVBUF, (char *)¤t, &len); --------------------------------------------------------------^ cc -c -O2 -arch ev56 -O -DTCL_DBGX= -I./../generic -I. -DHAVE_TZSET -std1 -ieee -DHAVE_PTHREAD_ATTR_SETSTACKSIZE -DTCL_THREAD_STACK_MIN=PTHREAD_STACK_MIN*64 -pthread -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_READDIR_R=1 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -Dsocklen_t=unsigned -DNO_UNION_WAIT=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1 -DUSE_FIONBIO=1 -DTCL_SHLIB_EXT=\".so\" ./../generic/tclVar.c cc -c -O2 -arch ev56 -O -DTCL_DBGX= -I./../generic -I. -DHAVE_TZSET -std1 -ieee -DHAVE_PTHREAD_ATTR_SETSTACKSIZE -DTCL_THREAD_STACK_MIN=PTHREAD_STACK_MIN*64 -pthread -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_READDIR_R=1 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -Dsocklen_t=unsigned -DNO_UNION_WAIT=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1 -DUSE_FIONBIO=1 -DTCL_SHLIB_EXT=\".so\" ./../unix/tclUnixChan.c cc: Warning: ./../unix/tclUnixChan.c, line 1923: In this statement, the referenced type of the pointer value "&sockaddrLen" is "unsigned int", which is not compatible with "int" because they differ by signed/unsigned attribute. (ptrmismatch1) if (getsockname(fd, (struct sockaddr *)&sockaddr, &sockaddrLen) == 0 ------------------------------------------------------^ cc: Warning: ./../unix/tclUnixChan.c, line 2264: In this statement, the referenced type of the pointer value "&optlen" is "unsigned int", which is not compatible with "int" because they differ by signed/unsigned attribute. (ptrmismatch1) (char *)&err, &optlen); ------------------------------^ cc: Warning: ./../unix/tclUnixChan.c, line 2278: In this statement, the referenced type of the pointer value "&size" is "unsigned int", which is not compatible with "int" because they differ by signed/unsigned attribute. (ptrmismatch1) &size) >= 0) { ----------------^ cc: Warning: ./../unix/tclUnixChan.c, line 2324: In this statement, the referenced type of the pointer value "&size" is "unsigned int", which is not compatible with "int" because they differ by signed/unsigned attribute. (ptrmismatch1) &size) >= 0) { ----------------^ cc: Warning: ./../unix/tclUnixChan.c, line 2907: In this statement, the referenced type of the pointer value "&len" is "unsigned int", which is not compatible with "int" because they differ by signed/unsigned attribute. (ptrmismatch1) newsock = accept(sockState->fd, (struct sockaddr *) &addr, &len); ---------------------------------------------------------------^ cc -c -O2 -arch ev56 -O -DTCL_DBGX= -I./../generic -I. -DHAVE_TZSET -std1 -ieee -DHAVE_PTHREAD_ATTR_SETSTACKSIZE -DTCL_THREAD_STACK_MIN=PTHREAD_STACK_MIN*64 -pthread -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DTCL_THREADS=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DHAVE_READDIR_R=1 -DTCL_WIDE_INT_IS_LONG=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPID=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DHAVE_GMTIME_R=1 -DHAVE_LOCALTIME_R=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -Dsocklen_t=unsigned -DNO_UNION_WAIT=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1 -DHAVE_SYS_IOCTL_H=1 -DUSE_FIONBIO=1 -DTCL_SHLIB_EXT=\".so\" ./../unix/tclLoadDl.c cc: Info: ./../unix/tclLoadDl.c, line 136: In this statement, "dlsym(...)" of type "pointer to void", is being converted to "pointer to function (pointer to struct Tcl_Interp) returning int". Such a cast is not permitted by the standard. (nonstandcast) proc = (Tcl_PackageInitProc *) dlsym(handle, /* INTL: Native. */ -----------------------------------^ cc: Info: ./../unix/tclLoadDl.c, line 142: In this statement, "dlsym(...)" of type "pointer to void", is being converted to "pointer to function (pointer to struct Tcl_Interp) returning int". Such a cast is not permitted by the standard. (nonstandcast) proc = (Tcl_PackageInitProc *) dlsym(handle, /* INTL: Native. */ ---------------------------------------^