Good afternoon everyone! I'm trying to compile wine as a package for a Linux distro, but run into problems at the same stage of the compile process where it ends saying:
./acledit.spec:4: function 'DllMain' not defined
./acledit.spec:5: function 'FMExtensionProcW' not defined
winegcc ../../tools/winebuild/winebuild failed
Makefile:332: recipe for target 'acledit.dll.so' failed
make[1]: *** [acledit.dll.so] Error 2
...snip...
I'm using the following to compile:
export CC="gcc -flto -fuse-linker-plugin -mtune=generic -Os -pipe"
export CXX="g++ -flto -fuse-linker-plugin -mtune=generic -Os -pipe -fno-exceptions -fno-rtti"
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
cd "wine-staging"
./configure --prefix=/usr/local --enable-win64 || exit 1
make || exit 1
Any idea what could be causing this issue?
Thanks,
Dave