Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2007-11-16
00:03 • Closed ticket [1761494fff]: 'staticpkg' option unbuildable w/ Windows ma... artifact: d6cdd746f2 user: davygrvy
2007-11-15
01:22 • Ticket [1761494fff]: 4 changes artifact: 6c69f68375 user: davygrvy
2007-11-14
13:09 • Open ticket [1761494fff]. artifact: 7c4db349cb user: arobert3434
01:23 • Pending ticket [1761494fff]. artifact: 6b519e705d user: davygrvy
2007-11-13
08:09 • Ticket [1761494fff]: 4 changes artifact: 0b7ab338c1 user: davygrvy
07:25 • Ticket [1761494fff]: 1 change artifact: 7570ba7c6c user: hobbs
2007-07-30
05:45 • Ticket [1761494fff]: 2 changes artifact: 9905107b6d user: dkf
2007-07-26
19:26 • New ticket [1761494fff]. artifact: c09dea38af user: arobert3434

'staticpkg' option unbuildable w/ Windows makefile.vc

Closed / Postponed1761494fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2007-07-26 19:26:57
Building with OPTS including 'staticpkg' fails w/8.5a6, Windows XP Home, MS VC 8, with following error:

NMAKE: fatal error U1073: don't know how to make '.\Debug_VC8\tclreg12sgx.lib

(Release_VC8\tclreg12sx.lib if 'symbols' option not given.)

Seems like some sort of makefile problem, but the file is more complicated than my limited VC / nmake knowledge is up for right now..
dkf Ticket [1761494fff]: 2 changes [History diff]2007-07-30 05:45:31
hobbs Ticket [1761494fff]: 1 change [History diff]2007-11-13 07:25:44
davygrvyplain2007-11-13 08:09:47
Logged In: YES 
user_id=7549
Originator: NO

a6?  We're in b2 now.  I'll check into it for the HEAD tonight.
davygrvyplain2007-11-14 01:23:24
Logged In: YES 
user_id=7549
Originator: NO

'staticpkg' is modifier to 'static'.  If you just ask for 'staticpkg', it trips.  Use either 'static' or 'static,staticpkg', never 'staticpkg' alone as you are asking it to build a dynamic shell, but include reg and dde statically inside the shell.  That's a bit odd, but not really wrong.

Are you sure that's what you want?
arobert3434plain2007-11-14 13:09:41
Logged In: YES 
user_id=146959
Originator: YES

Hi, it was a while ago and I'm not sure if I had static,staticpkg or not.  From the wording of my report and my habits I suspect I tried a number of combinations and all failed.  But who knows.  Anyway if just staticpkg makes little sense and in fact fails anyway, perhaps it should automatically imply "static" in the config logic?  Thanks.
davygrvyplain2007-11-15 01:22:23
Logged In: YES 
user_id=7549
Originator: NO

Yes, I'll add logic so staticpkg turns on static too.
davygrvyplain2007-11-16 00:03:41
Logged In: YES 
user_id=7549
Originator: NO

I just found some odd logic, but it isn't wrong.  Just OPTS=staticpkg will both match 'static' and 'staticpkg'.  IOW, both are turned on for 'staticpkg' alone.  That's good!

But, and I haven't found why sometimes the build fails with that "don't know how to make..", but doing a clean takes care of it.  If tclAppInit.c was built first with just 'static' and next you ask for 'staticpkg', tclAppInit.c, eventhough it looks uptodate to the makefile, would need rebuilding but there is no way to perform that validation.  But why the reg lib is unknown to it, I can't say at this time.

As a solution, if you get that error again, just do a clean.
Log in (anonymous is fine) to add a comment.