Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 8d148cb18b0f51feec467a10f885610a5befb7b5
Ticket: 584307ffffffffffffffffffffffffffffffffff
TclThread_Init is not defined anywhere.
User & Date: tomdkat2 on 2002-07-20 21:13:45
Changes

  1. assignee changed to: "andreas_kupries"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    I'm building tcl8.4b1 on Slackware Linux 8.0 w/ 2..18
    kernel, glibc-2.2.5, binutils-2.12.1, XFree86-4.2.0,
    and gcc-20020715 gcc-3.1.x snapshot and Tcl builds
    fine, but tk8.4b1 testing fails because
    "TclThread_Init" is NOT defined anywhere.
    
    My configure command to build tcl8.4b1:
    
    $ ./configure --prefix=/usr --enable-threads
    --enable-shared
    
    After building tcl8.4b1, I run THIS command:
    
    tom@linux:~/tcl8.4b1/unix$ nm libtcl8.4.so | grep
    TclThread_Init
    tom@linux:~/tcl8.4b1/unix$ grep -r TclThread_Init * | more
    tclAppInit.c:extern int         TclThread_Init
    _ANSI_ARGS_((Tcl_Interp *interp));
    tclAppInit.c:    if (TclThread_Init(interp) == TCL_ERROR) {
    tom@linux:~/tcl8.4b1/unix$ 
    
    During the compile of tcl, "-DTCL_THREADS=1" *is* being
    passed to gcc (sample compile output):
    
    gcc -pipe -c -O -D__NO_STRING_INLINES
    -D__NO_MATH_INLINES -Wall -Wconversion
    -Wno-implicit-int -fPIC -I./../generic -I.
    -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 -D_LARGEFILE64_SOURCE=1
    -DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1
    -DHAVE_TYPE_OFF64_T=1 -DHAVE_GETCWD=1 -DHAVE_OPENDIR=1
    -DHAVE_STRSTR=1 -DHAVE_STRTOL=1 -DHAVE_STRTOLL=1
    -DHAVE_STRTOULL=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
    -DHAVE_SIGNED_CHAR=1 -DHAVE_LANGINFO=1
    -DHAVE_SYS_IOCTL_H=1         -DTCL_SHLIB_EXT=\".so\"
    ./../generic/regcomp.c
    
    Peace....
    
    Tom
    
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "tomdkat2"
  9. subsystem changed to: "49. Threading"
  10. title changed to: "TclThread_Init is not defined anywhere."
  11. type changed to: "Bug"