Compiling WoW64 does not start PE32+ executable

Questions about Wine on Linux
Locked
lukesoft76
Level 2
Level 2
Posts: 14
Joined: Fri Jan 21, 2022 5:34 pm

Compiling WoW64 does not start PE32+ executable

Post by lukesoft76 »

Hello together,
since the Debian packages do not work with WoW64, i compiled the source on my own according the wiki: https://wiki.winehq.org/Building_Wine
../wine-source/configure --enable-win64 --without-capi
make

PKG_CONFIG_PATH=/usr/share/pkgconfig/ ../wine-source/configure --with-wine64=../wine64/ --without-capi
make
The problem is, that wine stil does not start a PE32+ executable:
Config file: Z:/home/ls19/LS19Server/dedicatedServer.xml
GIANTS Dedicated Server/8.0.3.0
Initializing mod download manager... 0104:fixme:ver:GetCurrentPackageId (0000000000E1FE10 0000000000000000): stub
00fc:err:seh:call_stack_handlers invalid frame 00000000001B1164 (0000000000AE2000-0000000000BE0000)
00fc:err:seh:NtRaiseException Exception frame is not in stack limits => unable to dispatch exception.
Fileformat is like this:
file dedicatedServer.exe
dedicatedServer.exe: PE32+ executable (GUI) x86-64, for MS Windows
Any ideas?

Regards,
L.
invisible kid
Level 5
Level 5
Posts: 368
Joined: Tue Dec 24, 2019 3:23 pm

Re: Compiling WoW64 does not start PE32+ executable

Post by invisible kid »

Just some random tidbits from a fellow user.

You should be able to get multiarch(32/64) packages of wine on debian? Ideally wine-staging packages. But I believe they are in a winehq repository? I'm not a full-time debian user.

When I build wine I keep separate build directories for 64 bit and 32 bit builds. I believe they need to simultaneously exist. Are you purposely not doing "make install"s?

No matter what, good luck!
lukesoft76
Level 2
Level 2
Posts: 14
Joined: Fri Jan 21, 2022 5:34 pm

Re: Compiling WoW64 does not start PE32+ executable

Post by lukesoft76 »

invisible kid wrote: Thu Feb 17, 2022 2:24 pm Just some random tidbits from a fellow user.

You should be able to get multiarch(32/64) packages of wine on debian? Ideally wine-staging packages. But I believe they are in a winehq repository? I'm not a full-time debian user.

When I build wine I keep separate build directories for 64 bit and 32 bit builds. I believe they need to simultaneously exist. Are you purposely not doing "make install"s?

No matter what, good luck!
The current debian packages seem to be not correctly using WoW64.
I have some problems stated in a former post:

https://forum.winehq.org/viewtopic.php?f=8&t=36117
Locked