Description
In trying to get linuxtrack to build on the most recent OpenSuSe Tumbleweed build, I stumbled across the following rather peculiar error from winegcc
:
NPClient_main.c: In function ‘DllMain’:
NPClient_main.c:55:14: error: ‘DLL_WINE_PREATTACH’ undeclared (first use in this function)
55 | case DLL_WINE_PREATTACH:
| ^~~~~~~~~~~~~~~~~~
NPClient_main.c:55:14: note: each undeclared identifier is reported only once for each function it appears in
My winegcc --version
output is
gcc (SUSE Linux) 11.2.1 20210816 [revision 056e324ce46a7924b5cf10f61010cf9dd2ca10e9]
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
However, I have a fairly new version of Wine installed, namely 6.17-1.2
(which roughly translates to the newest build of 6.17). It seems as though the Wine project has removed support for DLL_WINE_PREATTACH
throughout its codebase in version 6.3; this can be seen in the (unofficial) changelog over at LinuxCompatible.org.
I'm unsure how to resolve this as I have never created DLLs with/for Wine and can thus offer no help. This issue sadly means that most users of SteamPlay Proton will not be able to build and/or use linuxtrack because Proton currently ships with Wine 6.3 (and at least using a package manager it is not possible to install an older version of Wine in order to build the DLL)