Overview
| Artifact ID: | 92afa08eebfd89f4bb729822e5a7f8f547217f8f |
|---|---|
| Ticket: | 219420ffffffffffffffffffffffffffffffffff
Cray Unicos build problems for tcl8.3.2 |
| User & Date: | nobody on 2000-10-26 05:12:54 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 6370 Bug Version: 8.3.2 SubmitDate: '2000-10-18' LastModified: '2000-10-25' Severity: CRIT Status: UnAssn Submitter: techsupp OS: All Unix OSVersion: Unicos 10.0.0.5 Machine: Cray J90 FixedDate: '2000-10-25' ClosedDate: '2000-10-25' Name: Len Makin Comments: 1.(Low)The Cray system calls readlink, mknod and symlink take char * arg for path (not const char *) so tclUnixFCmd.c fails to compile. Solution: configure different? I have tried using cast (char *)src (char *)dst in appropriate places, but next bug is major and inhibits further testing. 2.(major)In tclUnixPipe.c and tclUnixChan.c there are declared structures whose second element appears to be an int function. However the declared type of the second element in generic/tcl.h is declared as typedef struct Tcl_ChannelTypeVersion_ *Tcl_ChannelTypeVersion; This needs a fix. static Tcl_ChannelType fileChannelType = { "file", /* Type name. */ FileBlockModeProc,/* Set blocking/nonblocking mode.*/ ... static Tcl_ChannelType ttyChannelType = { "tty", /* Type name. */ FileBlockModeProc,/* Set blocking/nonblocking mode.*/ ... static Tcl_ChannelType tcpChannelType = { "tcp", /* Type name. */ TcpBlockModeProc, /* Set blocking/nonblocking mode.*/ ... static Tcl_ChannelType pipeChannelType = { "pipe", /* Type name. */ PipeBlockModeProc,/* Set blocking/nonblocking mode.*/ ... ReproducibleScript: env RANLIB=: ./configure gmake # produces compile errors ObservedBehavior: cc -c -O -I./../generic -I. -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_GETCWD= 1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPI D=1 -DNO_WAIT3=1 -DNO_DLFCN_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TER MIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1 -DHAVE_TIMEZON E_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -DNEED_MATHERR=1 -D__CHAR_UNSIGNED__=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1 -DTCL_SH LIB_EXT=\"\" ./../unix/tclUnixChan.cCC-144 cc: ERROR File = ./../unix/tclUnixChan.c, Line = 235 A value of type "int (*)(ClientData, int)" cannot be used to initialize an entity of type "struct Tcl_ChannelTypeVersion_ *". FileBlockModeProc, /* Set blocking/nonblocking mode .*/ ^ CC-144 cc: ERROR File = ./../unix/tclUnixChan.c, Line = 254 A value of type "int (*)(ClientData, int)" cannot be used to initialize an entity of type "struct Tcl_ChannelTypeVersion_ *". FileBlockModeProc, /* Set blocking/nonblocking mode .*/ ^ CC-144 cc: ERROR File = ./../unix/tclUnixChan.c, Line = 273 A value of type "int (*)(ClientData, int)" cannot be used to initialize an entity of type "struct Tcl_ChannelTypeVersion_ *". TcpBlockModeProc, /* Set blocking/nonblocking mode.*/ ^ 3 errors detected in the compilation of "./../unix/tclUnixChan.c". ...cc -c -O -I./../generic -I. -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_GETCWD= 1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPI D=1 -DNO_WAIT3=1 -DNO_DLFCN_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TER MIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1 -DHAVE_TIMEZON E_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -DNEED_MATHERR=1 -D__CHAR_UNSIGNED__=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1 -DTCL_SH LIB_EXT=\"\" ./../unix/tclUnixFCmd.c CC-167 cc: ERROR File = ./../unix/tclUnixFCmd.c, Line = 376 Argument of type "const char *" is incompatible with parameter of type "char * " . length = readlink(src, link, sizeof(link)); /* INTL: Native. */ ^ CC-167 cc: ERROR File = ./../unix/tclUnixFCmd.c, Line = 381 Argument of type "const char *" is incompatible with parameter of type "char * " . if (symlink(link, dst) < 0) { /* INTL: Native. */ ^ CC-167 cc: ERROR File = ./../unix/tclUnixFCmd.c, Line = 388 Argument of type "const char *" is incompatible with parameter of type "char * " . if (mknod(dst, srcStatBuf.st_mode, /* INTL: Native. */ ^ 3 errors detected in the compilation of "./../unix/tclUnixFCmd.c". cc -c -O -I./../generic -I. -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_GETCWD= 1 -DHAVE_OPENDIR=1 -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_TMPNAM=1 -DHAVE_WAITPI D=1 -DNO_WAIT3=1 -DNO_DLFCN_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_TER MIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TZNAME=1 -DHAVE_TIMEZON E_VAR=1 -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DNO_UNION_WAIT=1 -DNEED_MATHERR=1 -D__CHAR_UNSIGNED__=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1 -DTCL_SH LIB_EXT=\"\" ./../unix/tclUnixPipe.c CC-144 cc: ERROR File = ./../unix/tclUnixPipe.c, Line = 71 A value of type "int (*)(ClientData, int)" cannot be used to initialize an entity of type "struct Tcl_ChannelTypeVersion_ *". PipeBlockModeProc, /* Set blocking/nonblocking mode .*/ ^ 1 error detected in the compilation of "./../unix/tclUnixPipe.c". .... - foundin changed to: "obsolete: 8.3.2"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to: "Cray Unicos build problems for tcl8.3.2"
- type changed to: "Bug"