From: SourceForge.net <no...@so...> - 2009-11-22 14:12:07
|
Bugs item #2901803, was opened at 2009-11-21 10:53 Message generated for change (Settings changed) made by jeremy_c You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=2901803&group_id=10894 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: development: 8.6b1.1 Status: Open Resolution: None >Priority: 9 Private: No Submitted By: Jeremy Cowgar (jeremy_c) Assigned to: Nobody/Anonymous (nobody) Summary: tclThreadTest.c and Tcl_PackageRequire link problem Initial Comment: 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. ---------------------------------------------------------------------- >Comment By: Jeremy Cowgar (jeremy_c) Date: 2009-11-22 09:12 Message: 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); ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=2901803&group_id=10894 |