Skip to content
Tcl Source Code History Of Ticket 2901803
Login

History Of Ticket 2901803

Artifacts Associated With Ticket 2901803

  1. Ticket change [a8915b7f93] (rid 99021) by jeremy_c on 2009-11-21 15:53:01:

    1. assignee initialized to: "nobody"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized 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 initialized to: "obsolete: 8.6b1.1"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "jeremy_c"
    10. subsystem initialized to: "None"
    11. title initialized to:
      tclThreadTest.c and Tcl_PackageRequire link problem
      
    12. type initialized to: "Bug"
  2. Ticket change [a42cfbcf14] (rid 110168) by jeremy_c on 2009-11-22 21:12:06:

    1. icomment:
      Here is the diff to fix this bug...
      
      $ cvs diff generic/tclThreadTest.c
      Index: generic/tclThreadTest.c
      ===================================================================
      RCS file: /cvsroot/tcl/tcl/generic/tclThreadTest.c,v
      retrieving revision 1.32
      diff -r1.32 tclThreadTest.c
      590c590
      <     result = Tcl_PackageRequire(tsdPtr->interp, "Tcltest", TCL_VERSION, 1);
      ---
      >     result = Tcl_PkgRequire(tsdPtr->interp, "Tcltest", TCL_VERSION, 1);
      
      
      
    2. login: "jeremy_c"
    3. mimetype: "text/plain"
    4. username: "jeremy_c"
  3. Ticket change [d19e29d7ad] (rid 113387) by jeremy_c on 2009-11-22 21:12:07:

    1. priority changed to: "9 Immediate"
  4. Ticket change [ab6cf8816d] (rid 101112) by dkf on 2009-11-23 07:04:32:

    1. assignee changed to: "dkf"
    2. closedate changed to: "2009-11-23T00:04:32"
    3. closer changed to: "dkf"
    4. icomment:
      
      
      allow_comments - 1
      
      Oh, if only all bugs were as easy to fix as this. (And if only people didn't commit such obviously non-working code...)
      
      
    5. login: "dkf"
    6. mimetype: "text/plain"
    7. resolution changed to: "Fixed"
    8. status changed to: "Closed"
    9. subsystem changed to: "49. Threading"
    10. username: "dkf"