Apache OpenOffice (AOO) Bugzilla – Issue 21023
extensions subproject doesn't compile on WinXP/VC++ 6.0SP5
Last modified: 2003-12-08 08:50:14 UTC
Hi, I'm getting this compilation error when compiling 1.1.0 source on WinXP with VC++ 6.0 SP5: [pezz@buffy ...oo110/extensions]$ build build -- version: 1.86 /cygdrive/f/oo/oo110/extensions/source/activex/msidl mkout -- version: 1.3 midl.exe /tlb ../../../wntmsci9.pro/misc\so_activex.tlb /h ../../../wntmsci9.pr o/misc\so_activex.h /iid ../../../wntmsci 9.pro/misc\so_activex_i.c /dlldata ../../../wntmsci9.pro/misc\so_activex_dll.c /proxy ../../../wntmsci9.pro/misc\so_acti vex_p.c /Oicf so_activex.idl Microsoft (R) MIDL Compiler Version 5.01.0164 Copyright (c) Microsoft Corp 1991-1997. All rights reserved. Processing .\so_activex.idl so_activex.idl Processing f:\\PROGRA~1\\MICROS~2\\include\oaidl.idl oaidl.idl Processing f:\\PROGRA~1\\MICROS~2\\include\objidl.idl objidl.idl Processing f:\\PROGRA~1\\MICROS~2\\include\unknwn.idl unknwn.idl Processing f:\\PROGRA~1\\MICROS~2\\include\wtypes.idl wtypes.idl Processing f:\\PROGRA~1\\MICROS~2\\include\basetsd.h basetsd.h Processing f:\\PROGRA~1\\MICROS~2\\include\guiddef.h guiddef.h Processing f:\\PROGRA~1\\MICROS~2\\include\ocidl.idl ocidl.idl Processing f:\\PROGRA~1\\MICROS~2\\include\oleidl.idl oleidl.idl Processing f:\\PROGRA~1\\MICROS~2\\include\servprov.idl servprov.idl Processing f:\\PROGRA~1\\MICROS~2\\include\urlmon.idl urlmon.idl Processing f:\\PROGRA~1\\MICROS~2\\include\msxml.idl msxml.idl f:\PROGRA~1\MICROS~2\include\urlmon.idl(601) : error MIDL2025 : syntax error : expecting a type specification near "DWOR D" f:\PROGRA~1\MICROS~2\include\urlmon.idl(602) : error MIDL2026 : cannot recover from earlier syntax errors; aborting comp ilation dmake: Error code 234, while making 'activex_component' echo: No match. ERROR: Error 65280 occurred while making /cygdrive/f/oo/oo110/extensions/source/activex/msidl
reassigned.
.
As I understood our release engeneering there are still no resources to prepare the MSVC6.0SP5 environment for OOo1.1.1 timeschedule, so I change the target to OOo1.1.2. MAV->Peeter Russak: The error take place in MS idl files, so for me it looks pretty like environment problem. Please check that your environment meets OOo1.1 build requirements, that you can find on http://tools.openoffice.org/dev_docs/build_windows.html
Due to our free-as-beer speller compiled with VC2002.NET being incompatible with OOo compiled with VC6.0 and as compiling 1.1.x branch with VC6.0 gets more and more problematic I've moved away from VC6.0 to VC.NET 2002, so this this problem doesn't bug me anymore. VC6.0 is still listed as supported compiler so I think this bug must stay up until support for VC6.0 gets dropped.
The OOo ActiveX control idl files was not changed for a very long time, so it can not be a new problem. According to the posting on "dev@porting.openoffice.org" from Volker Quetschke the build with VC++ 6.0 SP5 can be done without any problem in case environment keeps to the build requirements. So I tend to see the issue as environment problem.
Please reopen this issue in case you have the same problem in the environment configuration specified by OOo1.1 build requirements in http://tools.openoffice.org/dev_docs/build_windows.html