Issue 69600 - obo05: VSE build breaks in embedserv
Summary: obo05: VSE build breaks in embedserv
Status: CLOSED WONT_FIX
Alias: None
Product: Build Tools
Classification: Code
Component: code (show other issues)
Version: current
Hardware: PC Windows, all
: P2 Trivial (vote)
Target Milestone: OOo 2.1
Assignee: oliver.bolte
QA Contact: issues@tools
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-17 02:22 UTC by quetschke
Modified: 2006-09-29 14:21 UTC (History)
1 user (show)

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


Attachments
Workaround patch (1.26 KB, patch)
2006-09-18 05:00 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 2006-09-17 02:22:05 UTC
The build breaks with:

guw.pl /cygdrive/c/PROGRA~1/MID05A~1/VC/bin/cl.exe @/tmp/mkAgKPAa
register.cxx
d:\w1\tin_obo05\embedserv\source\inc\stdafx.h(19) : fatal error C1083: Cannot
open include file: 'atlbase.h': No such file or directory
dmake:  Error code 2, while making '../../wntmsci11.pro/slo/register.obj'
---* tg_merge.mk *---
dmake:  Error code 255, while making 'do_it_exceptions'
---* tg_merge.mk *---

ERROR: Error 65280 occurred while making
/cygdrive/d/w1/tin_obo05/embedserv/source/embed

atlbase.h is part of the "normal" VS installation, but not of the express
version. I tried the header from PSDK/Include/atl but then I get different
errors and the atls.lib file is not provided in alternate locations.

Well this part in embedserv/util/makefile.mk would need a change for COMEX=11
anyway.

.IF "$(COMEX)"=="8" || "$(COMEX)"=="10"
SHL1STDLIBS+=\
		advapi32.lib	\
		$(ATL_LIB)$/atls.lib
.ENDIF

For now I'm disabling embedserv for "$(NETTOOLKIT)"!="".
Comment 1 quetschke 2006-09-18 05:00:19 UTC
Created attachment 39203 [details]
Workaround patch
Comment 2 quetschke 2006-09-18 05:03:59 UTC
This is now the reason that the VS Express build fails as now emser680mi.dll
is missing.

**************************************************
ERROR: ERROR: Missing files
in function: remove_Files_Without_Sourcedirectory
**************************************************

**************************************************
ERROR: Saved logfile:
d:/w1/tin_ws/instsetoo_native/wntmsci11.pro/OpenOffice/msi/logging/en-US/log_SRC680__en-US.log
**************************************************
... analyzing files ...
ERROR: The following files could not be found: 
ERROR: File not found: emser680mi.dll
Comment 3 quetschke 2006-09-18 06:00:54 UTC
Oh, in case you're wondering. If I don't disable the build of the module it
fails with this:

Making: ../../wntmsci11.pro/slo/register.obj
guw.pl /cygdrive/c/PROGRA~1/MID05A~1/VC/bin/cl.exe -Zm500 -Zc:forScope,wchar_t-
-GR -c -nologo -Gs  -I.  -I../../wntmsci11.pro/inc/emser
-I/cygdrive/c/PROGRA~1/MICROS~4/include/atl -I../inc -I../../inc/pch -I../../inc
-I../../WIN/inc -I../../wntmsci11.pro/inc -I.
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/stl
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/external
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc
-I/cygdrive/d/w1/tin_ws/solenv/wntmsci11/inc -I/cygdrive/d/w1/tin_ws/solenv/inc
-I/cygdrive/d/w1/tin_ws/res
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/stl
-I/cygdrive/c/J2SDK1~1.2_0/include/win32 -I/cygdrive/c/J2SDK1~1.2_0/include
-I/cygdrive/c/PROGRA~1/MICROS~4/include
-I/cygdrive/c/PROGRA~1/MID05A~1/VC/include
-I/cygdrive/c/PROGRA~1/MICROS~1.0SD/include    
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/offuh -I. -I../../res -I.
-Gy -Ob1 -Oxs -Oy- -Gd  -I.  -I../../wntmsci11.pro/inc/emser
-I/cygdrive/c/PROGRA~1/MICROS~4/include/atl -I../inc -I../../inc/pch -I../../inc
-I../../WIN/inc -I../../wntmsci11.pro/inc -I.
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/stl
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/external
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc
-I/cygdrive/d/w1/tin_ws/solenv/wntmsci11/inc -I/cygdrive/d/w1/tin_ws/solenv/inc
-I/cygdrive/d/w1/tin_ws/res
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/stl
-I/cygdrive/c/J2SDK1~1.2_0/include/win32 -I/cygdrive/c/J2SDK1~1.2_0/include
-I/cygdrive/c/PROGRA~1/MICROS~4/include
-I/cygdrive/c/PROGRA~1/MID05A~1/VC/include
-I/cygdrive/c/PROGRA~1/MICROS~1.0SD/include    
-I/cygdrive/d/w1/tin_ws/solver/680/wntmsci11.pro/inc/offuh -I. -I../../res -I.
-EHa -Wall -wd4061 -wd4127 -wd4191 -wd4217 -wd4251 -wd4275 -wd4290     -wd4294
-wd4355 -wd4511 -wd4512 -wd4514 -wd4611 -wd4625 -wd4626 -wd4640     -wd4675
-wd4710 -wd4711 -wd4786 -wd4800 -wd4820 -wd4503 -wd4619 -wd4365   -wd4668
-wd4738 -wd4826 -wd4350 -wd4505 -wd4692 -wd4701 -wd4244 -wd4018 -WX   -DWNT
-DWNT -DNT351 -DMSC -DM1400 -DINTEL -D_X86_=1 -D_CRT_SECURE_NO_DEPRECATE
-D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NON_CONFORMING_SWPRINTFS -DFULL_DESK
-DSTLPORT_VERSION=400 -DWINVER=0x400 -D_WIN32_IE=0x400 -D_MT -DCPPU_ENV=msci
-DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE
-DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRC680=SRC680   -DSHAREDLIB -D_DLL_ -DWIN32
-D_MT -D_DLL -DWIN32 -D_MT -D_DLL -DMULTITHREAD 
-Fo../../wntmsci11.pro/slo/register.obj
/cygdrive/d/w1/tin_ws/embedserv/source/embed/register.cxx

guw.pl /cygdrive/c/PROGRA~1/MID05A~1/VC/bin/cl.exe @/tmp/mkqXLYgU
register.cxx
c:\PROGRA~1\MICROS~4\include\atl\atlwin.h(1753) : error C2065: 'i' : undeclared
identifier
dmake:  Error code 2, while making '../../wntmsci11.pro/slo/register.obj'
---* tg_merge.mk *---
dmake:  Error code 255, while making 'do_it_exceptions'
---* tg_merge.mk *---

ERROR: Error 65280 occurred while making
/cygdrive/d/w1/tin_ws/embedserv/source/embedserv
Comment 4 quetschke 2006-09-18 06:04:21 UTC
Doh! There is actually a bug in that MS header file. After applying this:

+++ /cygdrive/c/PROGRA~1/Microsoft Platform SDK/include/atl/atlwin.h  2006-09-18
@@ -1750,7 +1750,7 @@
 
         // search for an empty one
 
-                for(i = 0; i < m_aChainEntry.GetSize(); i++)
+                for(int i = 0; i < m_aChainEntry.GetSize(); i++)
                 {
                         if(m_aChainEntry[i] == NULL)
                         {

the build of embedserv actually finishes.
Comment 5 oliver.bolte 2006-09-18 09:02:35 UTC
Hi Volker,

this bug in the PlatformSDK header is well known (see Google, since ~2005).
I've forgotten to tell you this. I can't fix this, only as notification in the
build requirements.

Oliver
Comment 6 oliver.bolte 2006-09-29 14:21:07 UTC
closed.