Apache OpenOffice (AOO) Bugzilla – Issue 32040
Make OOo buildable with MS VC Toolkit 2003
Last modified: 2013-08-07 15:34:48 UTC
berkeleydb and icu are buildable without the IDE right now, see issue 30561 and issue 30978. I tried to build the rest of OOo (without python/pyuno) and here is what I found so far: You also need the .NET Framework SDK (for msvcrt.lib) and the 64 bit part of the PSDK (for nmake). You have to to add the path to ?/Microsoft SDK/Bin/Win64/ (for nmake) to your PATH before calling configure and apply the following patch. Attention! HACK, it hardcodes some pathes for libs/includes unconditionally for vc toolkit. Changes: Add: c:\Programme\Microsoft Visual Studio .NET 2003\Vc7 (Framework SDK) for msvcrt.lib and $PSDK_HOME/lib/IA64 (Platform SDK) for otherwise unavailable *.lib to $ILIB. Add: $PSDK_HOME/include/Win64/crt for comutil.h + ? to $SOLARINC This compiles a while ...
Created attachment 16741 [details] Patch for config_office + solenv/inc/wnt.mk
... until it breaks in dtrans/util with: Making: ../wntmsci10.pro/bin/sysdtrans.dll guw.pl /cygdrive/c/PROGRA~1/MIA4C6~1/bin/cl.exe -c -Fo../wntmsci10.pro/slo/sysdtrans_version.obj -DWNT -I../wntmsci10.pro/inc /w1/cws_src680_ooo20040704/solenv/src/version.c Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3052 for 80x86 Copyright (C) Microsoft Corporation 1984-2002. All rights reserved. version.c guw.pl rc -DWIN32 -I -I. -I. -I../inc -I../inc -I../WIN/inc -I../wntmsci10.pro/inc -I. -I/w1/cws_src680_ooo20040704/solver/680/wntmsci10.pro/inc/stl -I/w1/cws_src680_ooo20040704/solver/680/wntmsci10.pro/inc/external -I/w1/cws_src680_ooo20040704/solver/680/wntmsci10.pro/inc -I/w1/cws_src680_ooo20040704/solenv/wntmsci10/inc -I/w1/cws_src680_ooo20040704/solenv/inc -I/w1/cws_src680_ooo20040704/res -I/w1/cws_src680_ooo20040704/solver/680/wntmsci10.pro/inc/stl -I/cygdrive/d/j2sdk1.4.2_04/include/win32 -I/cygdrive/d/j2sdk1.4.2_04/include -I/cygdrive/c/PROGRA~1/MICROS~3/include -I/cygdrive/c/PROGRA~1/MIA4C6~1/include -I/cygdrive/c/PROGRA~1/MICROS~3/include/Win64/crt -I. -I../res -I. ../wntmsci10.pro/misc/sysdtrans_def.rc cat ../wntmsci10.pro/misc/sysdtrans_def.res > ../wntmsci10.pro/misc/sysdtrans.res guw.pl link /MACHINE:IX86 @/tmp/mkb01728 Microsoft (R) Incremental Linker Version 7.10.3052 Copyright (C) Microsoft Corporation. All rights reserved. /MAP /OPT:NOREF /NODEFAULTLIB /RELEASE /DEBUG:full /SUBSYSTEM:CONSOLE /DLL -out:../wntmsci10.pro/bin/sysdtrans.dll -map:../wntmsci10.pro/misc/sysdtrans.map ..\wntmsci10.pro\lib\isysdtrans.exp ..\wntmsci10.pro\slo\sysdtrans_version.obj ..\wntmsci10.pro\slo\sysdtrans_description.obj ..\wntmsci10.pro\slb\sysdtrans.lib ..\wntmsci10.pro\slb\dtutils.lib ..\wntmsci10.pro\slb\dtobjfact.lib ..\wntmsci10.pro\slb\mtaolecb.lib isal.lib icppu.lib icppuhelper.lib uwinapi.lib advapi32.lib ole32.lib comsupp.lib oleaut32.lib gdi32.lib msvcrt.lib uwinapi.lib kernel32.lib user32.lib oldnames.lib stlport_vc71.lib ..\wntmsci10.pro\misc\sysdtrans.res dtobjfact.lib(DOTransferable.obj) : error LNK2019: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z) referenced in function "public: int __thiscall CRawHGlobalPtr::Lock(void)" (?Lock@CRawHGlobalPtr@@QAEHXZ) sysdtrans.lib(WinClipbImpl.obj) : error LNK2019: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z) referenced in function "public: __thiscall _com_ptr_t<class _com_IIID<struct IDataObject,&struct __s_GUID const _GUID_0000010e_0000_0000_c000_000000000046> >::_com_ptr_t<class _com_IIID<struct IDataObject,&struct __s_GUID const _GUID_0000010e_0000_0000_c000_000000000046> ><class CAPNDataObject>(class CAPNDataObject *)" (??$?0VCAPNDataObject@@@?$_com_ptr_t@V?$_com_IIID@UIDataObject@@$1?_GUID_0000010e_0000_0000_c000_000000000046@@3U__s_GUID@@B@@@@QAE@PAVCAPNDataObject@@@Z) dtobjfact.lib(DtObjFactory.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z) dtobjfact.lib(XNotifyingDataObject.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z) dtobjfact.lib(APNDataObject.obj) : error LNK2001: unresolved external symbol "void __stdcall _com_issue_error(long)" (?_com_issue_error@@YGXJ@Z) ../wntmsci10.pro/bin/sysdtrans.dll : fatal error LNK1120: 1 unresolved externals dmake: Error code 96, while making '../wntmsci10.pro/bin/sysdtrans.dll' ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /w1/cws_src680_ooo20040704/dtrans/util dmake: Error code 1, while making 'build_all' ---* tg_merge.mk *--- Propably it was not a good idea to use the IA64 libraries? According to issue 27980 comsupp.lib (from the IA64 dir) might be the culprit. > tuomo at openoffice org reported: > * comsupp.lib required for dtranse > * "old iostram libraries" (as MS refers to) required throughout the source. vq->mh: Please assign to someone who knows what to do ;)
Forget the conf_vc_tool_2.diff in this issue, see issue 34228 for a current version.
vq: what is the correct target? OOoLater?
@pjanik: I don't know. The toolkit misses a few important libraries. Definitely not 2.0. Martin?
set target to OOO PleaseHelp.
Obsolete issue. OOo builds fine with .NET 2005 Express.
c