NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
>From: "Alliss, Randall J." <address@hidden> >Organization: TASC >Keywords: 200101031328.f03DSuo12756 McIDAS-X nexradir nexraget Randy, >please see file below which contains an the errors from the make during our >build of 7.7x > >looks like a compilation error in tclUnicChan.c >/bin/c89 -c -O -I./../generic -I. -DHAVE_GETCWD=3D1 = >-DHAVE_UNISTD_H=3D1 -DUSE_TERMIOS=3D1 -DHAVE_SYS_TIME_H=3D1 = >-DTIME_WITH_SYS_TIME=3D1 -DHAVE_TM_ZONE=3D1 -DHAVE_TM_GMTOFF=3D1 = >-DHAVE_TIMEZONE_VAR=3D1 -DHAVE_ST_BLKSIZE=3D1 -DSTDC_HEADERS=3D1 = >-DNO_UNION_WAIT=3D1 -DNEED_MATHERR=3D1 -DRETSIGTYPE=3Dvoid = >-DHAVE_SIGNED_CHAR=3D1 -DHAVE_SYS_IOCTL_H=3D1 -DUSE_FIONBIO=3D1 = >-DTCL_SHLIB_EXT=3D\".so\" ./tclUnixChan.c=0A= >cc: Error: ./tclUnixChan.c, line 2464: Missing ";". (nosemi)=0A= > static fd_mask readyMasks[3*MASK_SIZE];=0A= >-------------------^=0A= >cc: Warning: ./tclUnixChan.c, line 1665: In this statement, the = >referenced type of the pointer value "&size" is "int", which is not = >compatible with "unsigned long". (ptrmismatch)=0A= > if (getpeername(statePtr->fd, (struct sockaddr *) &peername, = >&size)=0A= >---------------------------------------------------------------------^=0A= >cc: Warning: ./tclUnixChan.c, line 1708: In this statement, the = >referenced type of the pointer value "&size" is "int", which is not = >compatible with "unsigned long". (ptrmismatch)=0A= > if (getsockname(statePtr->fd, (struct sockaddr *) &sockname, = >&size)=0A= >---------------------------------------------------------------------^=0A= >cc: Warning: ./tclUnixChan.c, line 2229: In this statement, the = >referenced type of the pointer value "&len" is "int", which is not = >compatible with "unsigned long". (ptrmismatch)=0A= > newsock =3D accept(sockState->fd, (struct sockaddr *)&addr, = >&len);=0A= >--------------------------------------------------------------^=0A= >cc: Error: ./tclUnixChan.c, line 2498: In this statement, "readyMasks" = >is not declared. (undeclared)=0A= > memset((VOID *) readyMasks, 0, 3*MASK_SIZE*sizeof(fd_mask));=0A= >--------------------^=0A= >*** Exit 1=0A= >Stop.=0A= >*** Exit 1=0A= >Stop.=0A= >=0A= Try the following (will result in the use of cc instead of c89): <login as 'mcidas'> unsetenv CC cd mcidas7.7/src make clobber make all Please let me know if this changed things. Also, please let me know the result of: uname -a Tom