Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Compilation error in tclMtherr.c

Closed / Invalid217829ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:44:29
OriginalBugID: 1539 Bug
Version: 8.0.5
SubmitDate: '1999-03-18'
LastModified: '1999-09-16'
Severity: CRIT
Status: Closed
Submitter: pat
ChangedBy: hobbs
RelatedBugIDs: 713
OS: Other
OSVersion: linuxppc - release 4 - on Powerbook G3
Machine: NA
FixedDate: '2000-10-25'
ClosedDate: '1999-09-16'


Name:
Jean-Baptiste Marquette

ReproducibleScript:
    I have downloaded tcl8.0.5.tar.gz & tk8.0.5.tar.gz today. Configure
    steps are OK
    but the make all in tcl results in cc compilation error - see trace
    below.
    The make procedure in tk is fine.
    Same behavior is obtained with gcc. I don't have a firm reason to
    suspect the
    compilator as it works for tens of other routines in these packages.
    



ObservedBehavior:
    cc -c -O   -I./../generic -I. -DHAVE_GETCWD=1 -DHAVE_UNISTD_H=1
    -DUSE_TERMIOS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
    -DHAVE_TM_ZONE=1 -DHAVE_TM_GMTOFF=1 -DHAVE_TIMEZONE_VAR=1
    -DHAVE_ST_BLKSIZE=1 -DSTDC_HEADERS=1 -DRETSIGTYPE=void
    -D__CHAR_UNSIGNED__=1 -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1
    -DTCL_SHLIB_EXT=\".so\" ./tclMtherr.c
    ./tclMtherr.c:50: warning: `DOMAIN' redefined
    /usr/include/math.h:123: warning: this is the location of the previous
    definition
    ./tclMtherr.c:51: warning: `SING' redefined
    /usr/include/math.h:124: warning: this is the location of the previous
    definition
    ./tclMtherr.c: In function `matherr':
    ./tclMtherr.c:76: argument `xPtr' doesn't match prototype
    /usr/include/math.h:118: prototype declaration
    make: *** [tclMtherr.o] Error 1            
    



DesiredBehavior:
    Compilation successful
    





    cc -v yields :
    Reading specs from
    /opt/egcs/lib/gcc-lib/powerpc-unknown-linux-gnulibc1/egcs-2.90.25/specs
    gcc version egcs-2.90.25 980302 (egcs-1.0.2 prerelease) 
    
    Many thanks in advance for your help.
welch Closed ticket [217829ffff]. [History diff]2000-10-26 07:59:45
dgp Ticket [217829ffff]: 3 changes [History diff]2001-04-05 08:23:14
Log in (anonymous is fine) to add a comment.