Hi Matthias For some reason, your build is trying to link with x86 ATL libraries, causing that error.
Note that my ./configure switches for ATL and MFC specified the amd64 subdirectory at the end: --with-atl-lib-dir=/cygdrive/c/WINDDK/7600.16385.1/lib/ATL/amd64 --with-mfc-lib-dir=/cygdrive/c/WINDDK/7600.16385.1/lib/Mfc/amd64 If you reused the directories from a 32 bit build, maybe that's the problem? Otherwise please send me your main/config.log. Regards Damjan On Thu, Jan 23, 2025 at 11:44 AM Matthias Seidel <matthias.sei...@hamburg.de> wrote: > Hi Damjan, > > I still have all the 32-bit dll in "external", I wonder if that may be a > problem? > > See below for error logs. > > Matthias > Am 22.01.25 um 01:37 schrieb Damjan Jovanovic: > > On Sun, Jan 12, 2025 at 12:51 PM Matthias Seidel <matthias.sei...@hamburg.de> > <matthias.sei...@hamburg.de> > wrote: > > > Hi Damjan, All, > > Am 12.01.25 um 03:59 schrieb Damjan Jovanovic: > > On Sat, Jan 11, 2025 at 9:27 PM Matthias Seidel < > > matthias.sei...@hamburg.de> > > wrote: > > > Hi Damjan, > > After removing > > --enable-win-x64-shellext \ > > module shell now builds. We only need 64-bit shell extensions on a > 64-bit system. > > > Oh ok. I never used that flag. > > It is needed for a "Release Build" to produce the 64-bit shell > extensions for AOO 32-bit installed on Windows 64-bit. > > Not needed here, but that module may need some attention. > > > (win32 seems to be built anyway?) > > > Yes, remember each build variant gets its own separate set of > > directories, > > something like: > main/<MODULE>/wntmsi12 and main/solver/450/wntmsci12 for 32 bit debug > > build > > main/<MODULE>/wntmsi12.pro and main/solver/450/wntmsci12.pro for 32 bit > release build > and now also: > main/<MODULE>/wntmsx12 and main/solver/450/wntmscx12 for 64 bit debug > > build > > so different builds can coexist. > > If you want to delete the 32 bit files, you could: > source winenv.set.sh > dmake clean > but it will also delete dmake, and you'll probably have to > configure/bootstrap. > > Also you are doing a much fuller build, my flags are minimal and exclude > directx, category B: > --with-dmake-url=https://github.com/jimjag/dmake/archive/v4.13.1/dmake-4.13.1.tar.gz > --with-epm-url=https://sourceforge.net/projects/oooextras.mirror/files/epm-3.7.tar.gz > --disable-directx > --with-ant-home=/cygdrive/c/apache-ant-1.9.10 > --with-junit=/cygdrive/c/source/junit4.jar > --with-hamcrest-core=/cygdrive/c/source/hamcrest1.3.jar > --enable-verbose > --enable-pdfimport > --enable-dbgutil > --enable-crashdump > --with-package-format=installed > --with-nasm-home=/cygdrive/c/Program Files (x86)/NASM > --enable-win64 > > Yes, I use the configure for my "Test Build" to see how far it comes. It > is quite impressive! > > BTW: After installing JAVA 8 64-bit the module "bean" is now building ;-): > > 5 module(s): > coinmp > nss > embedserv > winaccessibility > extensions > need(s) to be rebuilt > > > This might be fixed now. With my latest changes, coinmp, nss and > winaccessibility now build on Windows/amd64, and even the broader > --enable-category-b build finishes successfully. > > 3 module(s): > embedserv > winaccessibility > extensions > need(s) to be rebuilt > > Reason(s): > > ERROR: error 65280 occurred while making > /cygdrive/c/Source/openoffice/main/embedserv/util > ERROR: error 65280 occurred while making > /cygdrive/c/Source/openoffice/main/winaccessibility/source/UAccCOM > ERROR: error 65280 occurred while making > /cygdrive/c/Source/openoffice/main/extensions/source/ole > > If not, please attach more detailed error logs. > > rc -DWIN32 -I. -I../wntmscx12.pro/inc/emser -I../inc -I../inc/pch -I../inc > -I../WIN/inc -I../wntmscx12.pro/inc -I. > -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/stl > -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/external > -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc > -IC:/Source/openoffice/main/solenv/wntmscx12/inc > -IC:/Source/openoffice/main/solenv/inc -IC:/Source/openoffice/main/res > -IC:/Source/openoffice/main/tools/inc > -IC:/Source/openoffice/main/comphelper/inc > -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include/win32 > -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include > -IC:/Microsoft_SDKs/Windows/v7.0/include -IC:/PROGRA~2/MICROS~1.0/VC/include > -IC:/Microsoft_DirectX_SDK_June_2010/include > -IC:/Microsoft_DirectX_SDK_June_2010/include > -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/udkapi > -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/offapi > -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/oovbaapi -I. > -I../res -I. ../wntmscx12.pro/misc/emser_def.rc > cat ../wntmscx12.pro/misc/emser_def.res > ../wntmscx12.pro/misc/emser.res > link /MACHINE:X64 /IGNORE:4102 /IGNORE:4197 @C:/cygwin64/tmp/mkVY5W2l > if [ -f ../wntmscx12.pro/bin/emser.dll.manifest ] ; then mt.exe -manifest > ../wntmscx12.pro/bin/emser.dll.manifest > -outputresource:../wntmscx12.pro/bin/emser.dll\;2 > <http://wntmscx12.pro/bin/emser.dll%5C;2> ; fi > if [ -f ../wntmscx12.pro/bin/emser.dll.manifest ] ; then /bin/rm -f > ../wntmscx12.pro/bin/emser.dll.manifest ; fi > if [ -f ../wntmscx12.pro/bin/emser.dll.tmanifest ] ; then /bin/rm -f > ../wntmscx12.pro/bin/emser.dll.tmanifest ; fi > Making: emser.dll > Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385 > > Copyright (C) Microsoft Corporation. All rights reserved. > > > Microsoft (R) Incremental Linker Version 9.00.30729.01 > Copyright (C) Microsoft Corporation. All rights reserved. > > /MAP /OPT:NOREF -nxcompat -dynamicbase -NODEFAULTLIB -RELEASE -DEBUG > -INCREMENTAL:NO /SUBSYSTEM:CONSOLE /DLL -out:../wntmscx12.pro/bin/emser.dll > -map:../wntmscx12.pro/misc/emser.map -def:../wntmscx12.pro/misc/emser.def > -implib:../wntmscx12.pro/lib/emserimp.lib > ../wntmscx12.pro/slo/emser_version.obj ../wntmscx12.pro/slo/register.obj > ../wntmscx12.pro/slo/servprov.obj ../wntmscx12.pro/slo/docholder.obj > ../wntmscx12.pro/slo/ed_ipersiststr.obj ../wntmscx12.pro/slo/ed_idataobj.obj > ../wntmscx12.pro/slo/ed_ioleobject.obj ../wntmscx12.pro/slo/ed_iinplace.obj > ../wntmscx12.pro/slo/iipaobj.obj ../wntmscx12.pro/slo/guid.obj > ../wntmscx12.pro/slo/esdll.obj ../wntmscx12.pro/slo/intercept.obj > ../wntmscx12.pro/slo/syswinwrapper.obj ../wntmscx12.pro/slo/tracker.obj > isal.lib icppu.lib icppuhelper.lib ole32.lib gdi32.lib uuid.lib oleaut32.lib > advapi32.lib C:/WinDDK/760016~1.1/lib/atl/i386/atls.lib msvcrt.lib > msvcprt.lib uwinapi.lib kernel32.lib user32.lib oldnames.lib > ../wntmscx12.pro/misc/emser.res > atls.lib(atlcommodule.obj) : fatal error LNK1112: module machine type 'X86' > conflicts with target machine type 'x64' > dmake: Error code 88, while making '../wntmscx12.pro/bin/emser.dll' > > --- > > rc -DWIN32 -I. -I../../wntmscx12.pro/inc/oleautobridge.uno > -IC:/WinDDK/760016~1.1/inc/atl71 -I../inc -I../../inc/pch -I../../inc > -I../../WIN/inc -I../../wntmscx12.pro/inc -I. > -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/stl > -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/external > -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc > -IC:/Source/openoffice/main/solenv/wntmscx12/inc > -IC:/Source/openoffice/main/solenv/inc -IC:/Source/openoffice/main/res > -IC:/Source/openoffice/main/tools/inc > -IC:/Source/openoffice/main/comphelper/inc > -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include/win32 > -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include > -IC:/Microsoft_SDKs/Windows/v7.0/include -IC:/PROGRA~2/MICROS~1.0/VC/include > -IC:/Microsoft_DirectX_SDK_June_2010/include > -IC:/Microsoft_DirectX_SDK_June_2010/include > -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/udkapi > -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/offapi > -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/oovbaapi -I. > -I../../res -I. ../../wntmscx12.pro/misc/oleautobridge.uno_def.rc > cat ../../wntmscx12.pro/misc/oleautobridge.uno_def.res > > ../../wntmscx12.pro/misc/oleautobridge.uno.res > link /MACHINE:X64 /IGNORE:4102 /IGNORE:4197 @C:/cygwin64/tmp/mkNDDPWn > if [ -f ../../wntmscx12.pro/bin/oleautobridge.uno.dll.manifest ] ; then > mt.exe -manifest ../../wntmscx12.pro/bin/oleautobridge.uno.dll.manifest > -outputresource:../../wntmscx12.pro/bin/oleautobridge.uno.dll\;2 > <http://wntmscx12.pro/bin/oleautobridge.uno.dll%5C;2> ; fi > if [ -f ../../wntmscx12.pro/bin/oleautobridge.uno.dll.manifest ] ; then > /bin/rm -f ../../wntmscx12.pro/bin/oleautobridge.uno.dll.manifest ; fi > if [ -f ../../wntmscx12.pro/bin/oleautobridge.uno.dll.tmanifest ] ; then > /bin/rm -f ../../wntmscx12.pro/bin/oleautobridge.uno.dll.tmanifest ; fi > rc -DWIN32 -I. -I../../wntmscx12.pro/inc/oleautobridge.uno > -IC:/WinDDK/760016~1.1/inc/atl71 -I../inc -I../../inc/pch -I../../inc > -I../../WIN/inc -I../../wntmscx12.pro/inc -I. > -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/stl > -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/external > -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc > -IC:/Source/openoffice/main/solenv/wntmscx12/inc > -IC:/Source/openoffice/main/solenv/inc -IC:/Source/openoffice/main/res > -IC:/Source/openoffice/main/tools/inc > -IC:/Source/openoffice/main/comphelper/inc > -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include/win32 > -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include > -IC:/Microsoft_SDKs/Windows/v7.0/include -IC:/PROGRA~2/MICROS~1.0/VC/include > -IC:/Microsoft_DirectX_SDK_June_2010/include > -IC:/Microsoft_DirectX_SDK_June_2010/include > -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/udkapi > -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/offapi > -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/oovbaapi -I. > -I../../res -I. ../../wntmscx12.pro/misc/oleautobridge2.uno_def.rc > cat ../../wntmscx12.pro/misc/oleautobridge2.uno_def.res > > ../../wntmscx12.pro/misc/oleautobridge2.uno.res > link /MACHINE:X64 /IGNORE:4102 /IGNORE:4197 @C:/cygwin64/tmp/mkpX2jrr > if [ -f ../../wntmscx12.pro/bin/oleautobridge2.uno.dll.manifest ] ; then > mt.exe -manifest ../../wntmscx12.pro/bin/oleautobridge2.uno.dll.manifest > -outputresource:../../wntmscx12.pro/bin/oleautobridge2.uno.dll\;2 > <http://wntmscx12.pro/bin/oleautobridge2.uno.dll%5C;2> ; fi > if [ -f ../../wntmscx12.pro/bin/oleautobridge2.uno.dll.manifest ] ; then > /bin/rm -f ../../wntmscx12.pro/bin/oleautobridge2.uno.dll.manifest ; fi > if [ -f ../../wntmscx12.pro/bin/oleautobridge2.uno.dll.tmanifest ] ; then > /bin/rm -f ../../wntmscx12.pro/bin/oleautobridge2.uno.dll.tmanifest ; fi > Making: oleautobridge.uno.dll > Making: oleautobridge2.uno.dll > Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385 > > Copyright (C) Microsoft Corporation. All rights reserved. > > > Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385 > > Copyright (C) Microsoft Corporation. All rights reserved. > > > Microsoft (R) Incremental Linker Version 9.00.30729.01 > Copyright (C) Microsoft Corporation. All rights reserved. > > /MAP /OPT:NOREF -nxcompat -dynamicbase -NODEFAULTLIB -RELEASE -DEBUG > -INCREMENTAL:NO /SUBSYSTEM:CONSOLE /DLL > -out:../../wntmscx12.pro/bin/oleautobridge2.uno.dll > -map:../../wntmscx12.pro/misc/oleautobridge2.uno.map > -def:../../wntmscx12.pro/misc/oleautobridge2.uno.def > -implib:../../wntmscx12.pro/lib/ioleautobridge.uno_t2.lib > ../../wntmscx12.pro/slo/oleautobridge2.uno_version.obj > ../../wntmscx12.pro/slo/OWNGUID_servreg.obj > ../../wntmscx12.pro/slo/OWNGUID_servprov.obj > ../../wntmscx12.pro/slo/OWNGUID_unoobjw.obj > ../../wntmscx12.pro/slo/OWNGUID_oleobjw.obj > ../../wntmscx12.pro/slo/OWNGUID_olethread.obj > ../../wntmscx12.pro/slo/OWNGUID_oledll.obj > ../../wntmscx12.pro/slo/OWNGUID_jscriptclasses.obj > ../../wntmscx12.pro/slo/OWNGUID_ole2uno.obj > ../../wntmscx12.pro/slo/OWNGUID_windata.obj > ../../wntmscx12.pro/slo/OWNGUID_unotypewrapper.obj isal.lib ivos.lib > icppu.lib icppuhelper.lib ole32.lib uuid.lib advapi32.lib oleaut32.lib > C:/WinDDK/760016~1.1/lib/atl/i386/atls.lib msvcrt.lib msvcprt.lib uwinapi.lib > kernel32.lib user32.lib oldnames.lib > ../../wntmscx12.pro/misc/oleautobridge2.uno.res > atls.lib(atlcommodule.obj) : fatal error LNK1112: module machine type 'X86' > conflicts with target machine type 'x64' > dmake: Error code 88, while making > '../../wntmscx12.pro/bin/oleautobridge2.uno.dll' > Microsoft (R) Incremental Linker Version 9.00.30729.01 > Copyright (C) Microsoft Corporation. All rights reserved. > > /MAP /OPT:NOREF -nxcompat -dynamicbase -NODEFAULTLIB -RELEASE -DEBUG > -INCREMENTAL:NO /SUBSYSTEM:CONSOLE /DLL > -out:../../wntmscx12.pro/bin/oleautobridge.uno.dll > -map:../../wntmscx12.pro/misc/oleautobridge.uno.map > -def:../../wntmscx12.pro/misc/oleautobridge.uno.def > -implib:../../wntmscx12.pro/lib/ioleautobridge.uno_t1.lib > ../../wntmscx12.pro/slo/oleautobridge.uno_version.obj > ../../wntmscx12.pro/slo/servreg.obj ../../wntmscx12.pro/slo/servprov.obj > ../../wntmscx12.pro/slo/unoobjw.obj ../../wntmscx12.pro/slo/oleobjw.obj > ../../wntmscx12.pro/slo/olethread.obj ../../wntmscx12.pro/slo/oledll.obj > ../../wntmscx12.pro/slo/jscriptclasses.obj > ../../wntmscx12.pro/slo/ole2uno.obj ../../wntmscx12.pro/slo/windata.obj > ../../wntmscx12.pro/slo/unotypewrapper.obj isal.lib ivos.lib icppu.lib > icppuhelper.lib ole32.lib uuid.lib advapi32.lib oleaut32.lib > C:/WinDDK/760016~1.1/lib/atl/i386/atls.lib msvcrt.lib msvcprt.lib uwinapi.lib > kernel32.lib user32.lib oldnames.lib > ../../wntmscx12.pro/misc/oleautobridge.uno.res > atls.lib(atlcommodule.obj) : fatal error LNK1112: module machine type 'X86' > conflicts with target machine type 'x64' > Killing of pid 39269 from pq[0] failed with: Resource temporarily unavailable > - 15 ret: -1 > > --- > > rc -DPRODUCT -DWIN32 -I. -I../../wntmscx12.pro/inc/UAccCOM > -IC:/WinDDK/760016~1.1/inc/atl71 -I../../wntmscx12.pro/misc -I../inc > -I../../inc/pch -I../../inc -I../../WIN/inc -I../../wntmscx12.pro/inc -I. > -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/stl > -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/external > -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc > -IC:/Source/openoffice/main/solenv/wntmscx12/inc > -IC:/Source/openoffice/main/solenv/inc -IC:/Source/openoffice/main/res > -IC:/Source/openoffice/main/tools/inc > -IC:/Source/openoffice/main/comphelper/inc > -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include/win32 > -IC:/PROGRA~1/ECLIPS~1/JDK-80~1.6-H/include > -IC:/Microsoft_SDKs/Windows/v7.0/include -IC:/PROGRA~2/MICROS~1.0/VC/include > -IC:/Microsoft_DirectX_SDK_June_2010/include > -IC:/Microsoft_DirectX_SDK_June_2010/include > -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/udkapi > -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/offapi > -IC:/Source/openoffice/main/solver/450/wntmscx12.pro/inc/oovbaapi -I. > -I../../res -I. ../../wntmscx12.pro/misc/UAccCOM_def.rc > cat ../../wntmscx12.pro/res/UAccCOM.res > ../../wntmscx12.pro/misc/UAccCOM_def.res > > ../../wntmscx12.pro/misc/UAccCOM.res > link /MACHINE:X64 /IGNORE:4102 /IGNORE:4197 @C:/cygwin64/tmp/mkSrRek3 > if [ -f ../../wntmscx12.pro/bin/UAccCOM.dll.manifest ] ; then mt.exe > -manifest ../../wntmscx12.pro/bin/UAccCOM.dll.manifest > -outputresource:../../wntmscx12.pro/bin/UAccCOM.dll\;2 > <http://wntmscx12.pro/bin/UAccCOM.dll%5C;2> ; fi > if [ -f ../../wntmscx12.pro/bin/UAccCOM.dll.manifest ] ; then /bin/rm -f > ../../wntmscx12.pro/bin/UAccCOM.dll.manifest ; fi > if [ -f ../../wntmscx12.pro/bin/UAccCOM.dll.tmanifest ] ; then /bin/rm -f > ../../wntmscx12.pro/bin/UAccCOM.dll.tmanifest ; fi > Making: UAccCOM.dll > Microsoft (R) Windows (R) Resource Compiler Version 6.1.7600.16385 > > Copyright (C) Microsoft Corporation. All rights reserved. > > > Microsoft (R) Incremental Linker Version 9.00.30729.01 > Copyright (C) Microsoft Corporation. All rights reserved. > > /MAP /OPT:NOREF -nxcompat -dynamicbase -NODEFAULTLIB -RELEASE -DEBUG > -INCREMENTAL:NO /SUBSYSTEM:CONSOLE /DLL > -out:../../wntmscx12.pro/bin/UAccCOM.dll > -map:../../wntmscx12.pro/misc/UAccCOM.map -def:UAccCOM.def > -implib:../../wntmscx12.pro/lib/iUAccCOM_t1.lib > ../../wntmscx12.pro/slo/AccAction.obj > ../../wntmscx12.pro/slo/AccActionBase.obj > ../../wntmscx12.pro/slo/AccComponent.obj > ../../wntmscx12.pro/slo/AccComponentBase.obj > ../../wntmscx12.pro/slo/AccEditableText.obj > ../../wntmscx12.pro/slo/AccHyperLink.obj > ../../wntmscx12.pro/slo/AccHypertext.obj ../../wntmscx12.pro/slo/AccImage.obj > ../../wntmscx12.pro/slo/AccRelation.obj ../../wntmscx12.pro/slo/AccText.obj > ../../wntmscx12.pro/slo/AccValue.obj ../../wntmscx12.pro/slo/EnumVariant.obj > ../../wntmscx12.pro/slo/StdAfx.obj ../../wntmscx12.pro/slo/UAccCOM.obj > ../../wntmscx12.pro/slo/UNOXWrapper.obj ../../wntmscx12.pro/slo/AccTable.obj > ../../wntmscx12.pro/slo/AccTextBase.obj > ../../wntmscx12.pro/slo/MAccessible.obj > ../../wntmscx12.pro/slo/CheckEnableAccessible.obj icuuc.lib icuin.lib > icppu.lib ivcl.lib isal.lib kernel32.lib user32.lib advapi32.lib ole32.lib > oleaut32.lib shlwapi.lib uuid.lib oleacc.lib > C:/WinDDK/760016~1.1/lib/atl/i386/atls.lib msvcrt.lib msvcprt.lib > kernel32.lib user32.lib oldnames.lib ../../wntmscx12.pro/misc/UAccCOM.res > atls.lib(atlcommodule.obj) : fatal error LNK1112: module machine type 'X86' > conflicts with target machine type 'x64' > dmake: Error code 88, while making '../../wntmscx12.pro/bin/UAccCOM.dll' > > > Regards > Damjan > > >