#1659 Static build needs more 2 ole libs for tkWinSend

obsolete: 8.5a0
closed-out-of-date
5
2013-01-31
2004-02-15
Roy E Terry
No

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

Discussion

  • Stuart Cassoff

    Stuart Cassoff - 2013-01-31

    No idea. Looks old. Passing to the Windows-savvy. :)

     
  • Stuart Cassoff

    Stuart Cassoff - 2013-01-31
    • assigned_to: stwo --> nijtmans
     
  • Jan Nijtmans

    Jan Nijtmans - 2013-01-31

    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.

     
  • Jan Nijtmans

    Jan Nijtmans - 2013-01-31
    • status: open --> closed-out-of-date