Menu

#4673 compiling errors in Linux using tclpro wrapper

obsolete: 8.4.19
closed-invalid
5
2010-09-28
2010-07-20
Alex_Medina
No

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

Discussion

  • Alex_Medina

    Alex_Medina - 2010-07-20

    I get the same results with these compilers:
    - gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-47)
    - 2.96

     
  • Donal K. Fellows

    • status: open --> pending-invalid
     
  • Donal K. Fellows

    Looks like a problem in something (tbcload) that isn't part of Tcl itself. Unless you can make a convincing case for why this is something we should address, it's simply Not Our Problem.

    You might contemplate reporting to ActiveState or to the tclpro project.

     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending-invalid --> closed-invalid