| Ticket UUID: | 897516 | |||
| Title: | Static build needs more 2 ole libs for tkWinSend | |||
| Type: | Bug | Version: | obsolete: 8.5a0 | |
| Submitter: | royterry | Created on: | 2004-02-15 16:38:00 | |
| Subsystem: | 85. Win Build | Assigned To: | jan.nijtmans | |
| Priority: | 5 Medium | Severity: | ||
| Status: | Closed | Last Modified: | 2014-03-13 09:03:29 | |
| Resolution: | Out of Date | Closed By: | nijtmans | |
| Closed on: | 2013-01-31 12:39:53 | |||
| Description: |
nmake -f makefile.vc OPTS=static with 8.5a0 produced link errors. I goggled for the symbols and added ole32.lib and oleaut32.lib to the assignment of baselibs in makefile.vc <baselibs = kernel32.lib user32.lib >baselibs = kernel32.lib user32.lib ole32.lib oleaut32.lib The static build now completes w/o error. I'm on Win2000 but I am using a very old copy of MSVC which could be a factor: Microsoft (R) 32-bit C/C++ Standard Compiler Version 12.00.8168 for 80x86 Copyright (C) Microsoft Corp 1984-1998. All rights reserved. Cheers, Roy ======= ERROR OUTPUT BELOW ====== (corrected by adding libs as described above) .... stubs.c lib -nologo -out:".\Release\tk85s.lib" @c:\tmp\nme10728. link -nologo -machine:IX86 -release -opt:ref - opt:icf,3 -subsystem:windows - out:".\Release\wish85s.exe" kernel32.lib user32.lib gdi32.lib "..\..\tcl\win\Release\tcl85s.lib" .\Release\tk_Sta tic\winMain.obj .\Release\tk_Static\wish.res ".\Release\tk 85s.lib" tk85s.lib(tkWinSend.obj) : error LNK2001: unresolved external symbol __imp__CoGetMalloc@8 tk85s.lib(tkWinSend.obj) : error LNK2001: unresolved external symbol __imp__CreateBindCtx@8 tk85s.lib(tkWinSend.obj) : error LNK2001: unresolved external symbol __imp__GetRunningObjectTable@8 tk85s.lib(tkWinSend.obj) : error LNK2001: unresolved external symbol __imp__CreateFileMoniker@8 tk85s.lib(tkWinSend.obj) : error LNK2001: unresolved external symbol __imp__VariantClear@4 tk85s.lib(tkWinSend.obj) : error LNK2001: unresolved external symbol __imp__SysFreeString@4 tk85s.lib(tkWinSend.obj) : error LNK2001: unresolved external symbol __imp__VariantChangeType@16 tk85s.lib(tkWinSend.obj) : error LNK2001: unresolved external symbol __imp__SysAllocString@4 tk85s.lib(tkWinSend.obj) : error LNK2001: unresolved external symbol __imp__VariantInit@4 tk85s.lib(tkWinSend.obj) : error LNK2001: unresolved external symbol __imp__SetErrorInfo@8 tk85s.lib(tkWinSend.obj) : error LNK2001: unresolved external symbol __imp__CreateErrorInfo@4 .\Release\wish85s.exe : fatal error LNK1120: 11 unresolved externals | |||
| User Comments: |
nijtmans added on 2013-01-31 19:39:53:
allow_comments - 1 The "send" command was disabled on Windows in all current releases, due to problems, and apparently no-one cared enough to fix thos. It's not really a problem, because dde can communicate between Tcl processes as well. stwo added on 2013-01-31 19:30:46: No idea. Looks old. Passing to the Windows-savvy. :) | |||
Home
Timeline
Branches
Tags
Forum
Tickets
Download
Wiki