Artifacts Associated With Ticket 2901803
Ticket change [a8915b7f93] (rid 99021) by jeremy_c on 2009-11-21 15:53:01:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- 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.
- foundin initialized to: "obsolete: 8.6b1.1"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "jeremy_c"
- subsystem initialized to: "None"
- title initialized to:
tclThreadTest.c and Tcl_PackageRequire link problem
- type initialized to: "Bug"
Ticket change [a42cfbcf14] (rid 110168) by jeremy_c on 2009-11-22 21:12:06:
- 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);
- login: "jeremy_c"
- mimetype: "text/plain"
- username: "jeremy_c"
- icomment:
Ticket change [d19e29d7ad] (rid 113387) by jeremy_c on 2009-11-22 21:12:07:
- priority changed to: "9 Immediate"
Ticket change [ab6cf8816d] (rid 101112) by dkf on 2009-11-23 07:04:32:
- assignee changed to: "dkf"
- closedate changed to: "2009-11-23T00:04:32"
- closer changed to: "dkf"
- 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...)
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- subsystem changed to: "49. Threading"
- username: "dkf"