Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 186b97a53344fe72e6c5a03501d1adf3d8affe67
Ticket: 3031880fffffffffffffffffffffffffffffffff
compiling errors in Linux using tclpro wrapper
User & Date: alejandro5511 on 2010-07-20 00:46:09
Changes

  1. assignee changed to: "mdejong"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    I am trying to compile an application using tlcpro wrapper tcl 8.4.19 
    /usr/local/ActiveTcl/lib/libwrapper1.4.a
    
    Note: I can successfully compile my application with Tcl 8.4.7 but not for 8.4.19.
    *DOES ANY ONE KNOW HOW TO GET AROUND THESE PROBLEMS?
    
    I can compile tcl without 8.4.19 problems:
      ./configure --prefix=${MYDIR}/tcl/ --disable-shared --enable-threads
    
    I also try with ctype hack in compat build:
     -Wl,./tcl/compat/ctype.o
    
    Check out my build errors:
    gcc -DSTATIC_BUILD -DTCL_LOCAL_MAIN_HOOK=TclPro_Init -DTCL_THREADS \
           -I./tcl/generic -o ../bin/lmwebwrap wrapUnixAppInit.c /usr/local/ActiveTcl/lib/libwrapper1.4.a tcl/unix/libtcl8.4.a build/tbcload_static/libtbcload1.4.a build/tclthread_static/libthread2.4.a build/tclxml_expat_static/libTclexpat2.6.a build/tclxml_static/libTclxml2.6.a tcldom/src/tcldom2.0.a -lm -lpthread -ldl -lieee
    /usr/local/ActiveTcl/lib/libwrapper1.4.a(envargs.o)(.text+0x1e): In function `envargs':
    : undefined reference to `__ctype_b'
    /usr/local/ActiveTcl/lib/libwrapper1.4.a(envargs.o)(.text+0x5d): In function `envargs':
    : undefined reference to `__ctype_b'
    /usr/local/ActiveTcl/lib/libwrapper1.4.a(envargs.o)(.text+0x193): In function `envargs':
    : undefined reference to `__ctype_b'
    /usr/local/ActiveTcl/lib/libwrapper1.4.a(envargs.o)(.text+0x1c0): In function `envargs':
    : undefined reference to `__ctype_b'
    /usr/local/ActiveTcl/lib/libwrapper1.4.a(envargs.o)(.text+0x23d): In function `count_args':
    : undefined reference to `__ctype_b'
    /usr/local/ActiveTcl/lib/libwrapper1.4.a(envargs.o)(.text+0x29b): more undefined references to `__ctype_b' follow
    /usr/local/ActiveTcl/lib/libwrapper1.4.a(fileio.o)(.text+0x9a8): In function `UzpMorePause':
    : undefined reference to `__ctype_tolower'
    /usr/local/ActiveTcl/lib/libwrapper1.4.a(fileio.o)(.text+0xf31): In function `do_string':
    : undefined reference to `__ctype_b'
    /usr/local/ActiveTcl/lib/libwrapper1.4.a(fileio.o)(.text+0xf4a): In function `do_string':
    : undefined reference to `__ctype_tolower'
    /usr/local/ActiveTcl/lib/libwrapper1.4.a(fileio.o)(.text+0x120c): In function `zstrnicmp':
    : undefined reference to `__ctype_b'
    /usr/local/ActiveTcl/lib/libwrapper1.4.a(fileio.o)(.text+0x1215): In function `zstrnicmp':
    : undefined reference to `__ctype_tolower'
    /usr/local/ActiveTcl/lib/libwrapper1.4.a(match.o)(.text+0x127): In function `recmatch':
    : undefined reference to `__ctype_tolower'
    /usr/local/ActiveTcl/lib/libwrapper1.4.a(match.o)(.text+0x15f): In function `recmatch':
    : undefined reference to `__ctype_b'
    /usr/local/ActiveTcl/lib/libwrapper1.4.a(match.o)(.text+0x1ad): In function `recmatch':
    : undefined reference to `__ctype_b'
    /usr/local/ActiveTcl/lib/libwrapper1.4.a(match.o)(.text+0x24b): In function `recmatch':
    : undefined reference to `__ctype_b'
    /usr/local/ActiveTcl/lib/libwrapper1.4.a(match.o)(.text+0x264): In function `recmatch':
    : undefined reference to `__ctype_tolower'
    /usr/local/ActiveTcl/lib/libwrapper1.4.a(match.o)(.text+0x28d): In function `recmatch':
    : undefined reference to `__ctype_b'
    /usr/local/ActiveTcl/lib/libwrapper1.4.a(match.o)(.text+0x2a6): In function `recmatch':
    : undefined reference to `__ctype_tolower'
    /usr/local/ActiveTcl/lib/libwrapper1.4.a(unix.o)(.text+0x441): In function `mapname':
    : undefined reference to `__ctype_b'
    /usr/local/ActiveTcl/lib/libwrapper1.4.a(unix.o)(.text+0x47b): In function `mapname':
    : undefined reference to `__ctype_b'
    collect2: ld returned 1 exit status
    make: *** [../dist/tclweb/bin/lmwebwrap] Error 1
    
    
  4. foundin changed to: "obsolete: 8.4.19"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "alejandro5511"
  10. subsystem changed to: "52. Portability Support"
  11. title changed to: "compiling errors in Linux using tclpro wrapper"
  12. type changed to: "Bug"