Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2000-10-26
08:13 • Closed ticket [218068ffff]: Compilation error on RedHat 4.2 type of system p... artifact: f0dd5cf59f user: welch
00:52 • New ticket [218068ffff]. artifact: de45647ecb user: nobody

Compilation error on RedHat 4.2 type of system

Closed / Fixed218068ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 00:52:49
OriginalBugID: 1569 Bug
Version: 8.1b2
SubmitDate: '1999-03-22'
LastModified: '1999-04-05'
Severity: CRIT
Status: Closed
Submitter: pat
ChangedBy: redman
OS: Linux
Machine: Other
FixedDate: '2000-10-25'
ClosedDate: '1999-04-05'


Name:
Harald

ReproducibleScript:
     ./configure --enable-threads --prefix=/usr/local/tcl8.1b2  
    



ObservedBehavior:
    cc -c -O   -I./../generic -I. -DTCL_THREADS=1 -D_REENTRANT=1
    -DHAVE_GETCWD=1 -DH
    AVE_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
    -DRETSIGTYP
    E=void -DHAVE_SIGNED_CHAR=1 -DHAVE_SYS_IOCTL_H=1
    -DTCL_SHLIB_EXT=\".so\"
     -DUSE_TCLALLOC=0 ./../generic/tclAlloc.c
    In file included from ../generic/tclPort.h:25,
                     from ./../generic/tclAlloc.c:22:
    ../generic/../unix/tclUnixPort.h:482: parse error before `TclpMutex'  
    





03/27/1999 15:27 - redman - I think that the RedHat version is too old, we probably shouldn't support threads on that system.  I'll verify that it builds on our RedHat system.

    The actual thread-header is not included. Adding -D_MIT_POSIX_THREADS
    to CFLAGS made it work, but this is rather a hack than the correct
    solution. (Maybe my RedHat installation is too old (22.Sept.96),
    but it is so damned stable.)
welch Closed ticket [218068ffff]. [History diff]2000-10-26 08:13:45
Log in (anonymous is fine) to add a comment.