Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: a8915b7f93df021eb04d7659df266bd2c462b141
Ticket: 2901803fffffffffffffffffffffffffffffffff
tclThreadTest.c and Tcl_PackageRequire link problem
User & Date: jeremy_c on 2009-11-21 15:53:01
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    CVS head (as of this post at least) will not link on Windows using MSys/MinGW. The error I receive is:
    
    gcc -shared -O2 -fomit-frame-pointer  -o tcltest86.dll -Wl,--out-implib,libtcltest86.a tclTest.o tclTestObj.o tclTestProcBodyObj.o tclThreadTest.o tclWinTest.o libtclstub86.a -lws2_32 /home/Jeremy/TclTk_CVS/tcl/compat/zlib/win32/zdll.lib
    Creating library file: libtcltest86.a
    tclThreadTest.o:tclThreadTest.c:(.text+0x119d): undefined reference to `Tcl_PackageRequire'
    collect2: ld returned 1 exit status
    make: *** [tcltest86.dll] Error 1
    
    Commenting lines 590-593 out in generic/tclThreadTest.c causes tcl to then link correctly. It appears that this section was added in the last commit (11/19) of tclThreadTest.c. I am unsure of the root problem.
    
  4. foundin changed to: "obsolete: 8.6b1.1"
  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: "jeremy_c"
  10. subsystem changed to: "None"
  11. title changed to:
    tclThreadTest.c and Tcl_PackageRequire link problem
    
  12. type changed to: "Bug"