Artifacts Associated With Ticket 1689286
Ticket change [cd2170a8ac] (rid 95830) by twylite on 2007-03-27 15:09:37:
- assignee initialized to: "mdejong"
- cmimetype initialized to: "text/plain"
- comment initialized to:
I have just got the latest sampleextension from CVS, and am getting errors building it with VC6 or VC8. c:\build\sampleextension\win> pushd sampleextension\win c:\build\sampleextension\win> nmake /f makefile.vc all TCLDIR=..\..\tcl TKDIR=..\..\tk 'nmakehlp' is not recognized as an internal or external command, operable program or batch file. ...<snip> Command line warning D4002 : ignoring unknown option '-fp:strict' Command line warning D4002 : ignoring unknown option '-GS' Command line warning D4002 : ignoring unknown option '-GL' ...<snip> LINK : warning LNK4044: unrecognized option "ltcg"; ignored The problems aren't fatal, but they shouldn't be there. Nmakehlp.exe doesn't build because: c:\sampleextension\win> cl nmakehlp.c ...<snip> /out:nmakehlp.exe nmakehlp.obj nmakehlp.obj : error LNK2001: unresolved external symbol _wnsprintf nmakehlp.exe : fatal error LNK1120: 1 unresolved externals This can be solved by taking the latest nmakehlp.c from the Tcl sources: c:\sampleextension\win> copy ..\..\tcl\win\nmakehlp.c The other warnings are fixed as a result of successfully building and using nmakehlp. -- The next problem is that running the tests doesn't work. The makefile looks for tclsh85.exe, which doesn't exist since I'm using a threaded build of Tcl. The problem is on line 298 of rules.vc: SUFX = sgx should be SUFX = tsgx since the sampleextension build is supposed to be threaded by default. -- Patch file against CVS is attached: - Updates nmakehlp.c to match the tcl module's version - Add 't' flag to SUFX default
- foundin initialized to: "obsolete: 8.5a6"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "twylite"
- subsystem initialized to: "70. Sample Extension"
- title initialized to: "nmakehlp not building on Win32 with VC"
- type initialized to: "Bug"
Ticket change [c9aaf4cb38] (rid 122331) by twylite on 2007-03-27 22:09:37:
- icomment:
File Added - 222523: sampleextension-twy-20070327.patch
- login: "twylite"
- mimetype: "text/plain"
- username: "twylite"
- icomment:
Add attachment "sampleextension-twy-20070327.patch" [6db676bf39] (rid 128748) by twylite on 2007-03-27 22:09:37.
Ticket change [cc47a42198] (rid 95667) by mdejong on 2007-03-28 01:35:27:
- assignee changed to: "davygrvy"
Ticket change [100aee735e] (rid 94898) by patthoyts on 2007-04-16 17:43:05:
- assignee changed to: "patthoyts"
Ticket change [26aab67848] (rid 88391) by patthoyts on 2009-05-05 06:48:23:
- closedate changed to: "2009-05-04T23:48:23"
- closer changed to: "patthoyts"
- icomment:
Fixed previously
- login: "patthoyts"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "patthoyts"