Issue 10727 - Current MS SDKs break the build on windows.
Summary: Current MS SDKs break the build on windows.
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: code (show other issues)
Version: 644
Hardware: PC Windows 2000
: P1 (highest) Trivial (vote)
Target Milestone: OOo 1.1 Beta
Assignee: quetschke
QA Contact: issues@tools
URL:
Keywords:
Depends on:
Blocks: 11093 11319
  Show dependency tree
 
Reported: 2003-01-17 11:09 UTC by quetschke
Modified: 2010-11-10 17:38 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Patch for sal/systools/win32/uwinapi/unicows.dxp (538 bytes, patch)
2003-01-17 14:46 UTC, quetschke
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description quetschke 2003-01-17 11:09:10 UTC
A current installation of Core, MDAC, Internet SDK break the build of OOo in sal.
(The old SDKs, only Core and MDAC, dated ~ 06/2002) worked without problems.

Errorlog:
------------------------------
Making:..\..\..\wntmsci7.pro\bin\uwinapi.dll
     0 files deleted
c:\PROGRA~1\MSVS6\VC98\bin\cl.exe -c
-Fo..\..\..\wntmsci7.pro\slo\uwinapi_version.obj -DWNT 
-I..\..\..\wntmsci7.pro\inc e:\w1\OO643C\solenv\src\version.c
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.

version.c
rc -DWIN32 -I -I. -I. -I..\inc -I..\..\..\inc -I..\..\..\WIN\inc
-I..\..\..\wntmsci7.pro\inc -I. -Ie:\w1\OO643C\solver\643\wntmsci7.pro\inc\stl
-Ie:\w1\OO643C\solver\643\wntmsci7.pro\inc\external
-Ie:\w1\OO643C\solver\643\wntmsci7.pro\inc -Ie:\w1\OO643C\solenv\wntmsci7\inc
-Ie:\w1\OO643C\solenv\inc -Ie:\w1\OO643C\res
-Ie:\w1\OO643C\solver\643\wntmsci7.pro\inc\stl -Ic:\jdk1.3.1_02\include\win32
-Ic:\jdk1.3.1_02\include -Ic:\progra~1\msvs6\vc98\include
-Ic:\PROGRA~1\MIFD68~1\include     -I. -I..\..\..\res -I. 
..\..\..\wntmsci7.pro\misc\uwinapi_def.rc
copy /b ..\..\..\wntmsci7.pro\misc\uwinapi_def.res
..\..\..\wntmsci7.pro\misc\uwinapi.res
E:\w1\OO643C\sal\wntmsci7.pro\misc\uwinapi_def.RES =>
E:\w1\OO643C\sal\wntmsci7.pro\misc\uwinapi.res
     1 file copied
link /COMMENT:"sal_643______"  /MACHINE:IX86 @d:\temp\mkn0e
Microsoft (R) Incremental Linker Version 6.00.8447
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

/MAP /NODEFAULTLIB /OPT:NOREF /RELEASE /SUBSYSTEM:CONSOLE /DLL /BASE:0x1100000
/DEBUG /PDB:NONE -out:..\..\..\wntmsci7.pro\bin\_uwinapi.dll
-map:..\..\..\wntmsci7.pro\misc\_uwinapi.map
-def:..\..\..\wntmsci7.pro\misc/uwinapi.def
-implib:..\..\..\wntmsci7.pro\lib\uwinapi.lib
..\..\..\wntmsci7.pro\slo\uwinapi_version.obj
..\..\..\wntmsci7.pro\slo\uwinapi_description.obj
..\..\..\wntmsci7.pro\slo\CommandLineToArgvW.obj
..\..\..\wntmsci7.pro\slo\CopyFileExA.obj
..\..\..\wntmsci7.pro\slo\CopyFileExW.obj
..\..\..\wntmsci7.pro\slo\DrawStateW.obj
..\..\..\wntmsci7.pro\slo\GetLogicalDriveStringsW.obj
..\..\..\wntmsci7.pro\slo\GetLongPathNameA.obj
..\..\..\wntmsci7.pro\slo\GetLongPathNameW.obj
..\..\..\wntmsci7.pro\slo\GetUserDomainA.obj
..\..\..\wntmsci7.pro\slo\GetUserDomainW.obj
..\..\..\wntmsci7.pro\slo\GetDiskFreeSpaceExA.obj
..\..\..\wntmsci7.pro\slo\GetDiskFreeSpaceExW.obj
..\..\..\wntmsci7.pro\slo\MoveFileExA.obj
..\..\..\wntmsci7.pro\slo\MoveFileExW.obj
..\..\..\wntmsci7.pro\slo\DllGetVersion.obj
..\..\..\wntmsci7.pro\slo\DllMain.obj ..\..\..\wntmsci7.pro\slo\ResolveThunk.obj
unicows.lib kernel32.lib user32.lib advapi32.lib version.lib msvcrt.lib
..\..\..\wntmsci7.pro\misc\uwinapi.res 
..\..\..\wntmsci7.pro\misc/uwinapi.def : warning LNK4017: DATA statement not
supported for the target platform; ignored
   Creating library ..\..\..\wntmsci7.pro\lib\uwinapi.lib and object
..\..\..\wntmsci7.pro\lib\uwinapi.exp
uwinapi.exp : warning LNK4070: /OUT:uwinapi.dll directive in .EXP differs from
output filename "..\..\..\wntmsci7.pro\bin\_uwinapi.dll"; ignoring directive
unicows.lib(thunk_rasapi32_RasDialW.obj) : error LNK2001: unresolved external
symbol _GodotFailRasDialW@24
..\..\..\wntmsci7.pro\bin\_uwinapi.dll : fatal error LNK1120: 1 unresolved externals
---*TG_SLO.MK*---
dmake.exe:  Error code 224, while making '..\..\..\wntmsci7.pro\bin\uwinapi.dll'

ERROR: Error 65280 occurred while making /w1/OO643C/sal/systools/win32/uwinapi
--------------------------------------------------
Comment 1 hennes.rohling 2003-01-17 14:13:32 UTC
The recent SDK has a different unicows.lib import library. Though
online MSDN documentation says RasDialW is fully supported (and not
only a stub) it seems as the newest version of unicows.lib only
provides a stub for RasDialW.

How to fix:
Edit /porting/sal/systools/win32/uwinapi/unicows.dxp and search for
"RasDialW" and change it to ";RasDialW".
Comment 2 quetschke 2003-01-17 14:44:48 UTC
Thanks!

The following patch applies to OO643C and cws_ooo_..

I don't know if people with older SDKs will get problems
with this patch. It fixes the problem for cws_ooo. (Will try OO643C
later)

If there are no problems, please approve for:

  OO643C
  cws_srx644_ooo_2003_01_12
Comment 3 quetschke 2003-01-17 14:46:06 UTC
Created attachment 4328 [details]
Patch for sal/systools/win32/uwinapi/unicows.dxp
Comment 4 quetschke 2003-02-07 09:48:10 UTC
The problem is still there in the new cws_srx644_ooo20030223 branch.

Please check if the change breaks something in the SO environment,
if not, please approve.
Comment 5 Martin Hollmichel 2003-02-10 14:51:26 UTC
approved by HRO and MH
Comment 6 quetschke 2003-02-10 15:02:05 UTC
Committed to:
  OO643C
  cws_srx644_ooo20030223
Comment 7 quetschke 2003-03-08 08:35:21 UTC
Mark CLOSED
Comment 8 wingmogoldgeld 2010-11-10 17:38:12 UTC
Created attachment 73541