You are not logged in.

#1 2022-11-14 23:48:08

Ketrel
Member
Registered: 2022-11-14
Posts: 41

Error when trying to compile Wine 7.21

What I've done

1. Fully updated my system
2. Grabbed the latest source from the github mirror: https://github.com/wine-mirror/wine and checked out the tagged 7.21
3. Got a copy of the PKGBUILD file that Arch uses and ensured I had every possible dependency listed installed (64 and 32 bit) (optional and mandatory)
4. Configured with this command

../configure \                                                                                                                                                                                                                           
    --prefix=/built \                                                                                                                                                                                                                   
    --libdir=/usr/lib \                                                                                                                                                                                                                  
    --with-x \                                                                                                                                                                                                                           
    --with-gstreamer \                                                                                                                                                                                                                   
    --enable-win64        

5. ran make when eventually fails with

../dlls/mshtml/dispex.c:120:22: error: ‘IID_IWineMSHTMLMediaQueryList’ undeclared here (not in a function); did you mean ‘IWineMSHTMLMediaQueryList_tid’?
  120 | #define XIID(iface) &IID_ ## iface,
      |                      ^~~~
../dlls/mshtml/dispex.c:120:22: note: in definition of macro ‘XIID’
  120 | #define XIID(iface) &IID_ ## iface,
      |                      ^~~~
../dlls/mshtml/dispex.c:124:1: note: in expansion of macro ‘PRIVATE_TID_LIST’
  124 | PRIVATE_TID_LIST
      | ^~~~~~~~~~~~~~~~
make: *** [Makefile:83409: dlls/mshtml/x86_64-windows/dispex.o] Error 1

I'm not sure how to interpret this error nor what it's telling me is wrong.

(I definitely wish to compile this, and once I get it working, I intend to compile it with some less than usual config, so I definitely want to get it right with a baseline first.)

Last edited by Ketrel (2022-11-14 23:48:55)

Offline

#2 2022-11-18 14:52:13

xantares
Member
Registered: 2013-02-14
Posts: 17

Re: Error when trying to compile Wine 7.21

it works if I download the sources of the packages, update PKGBUILD to 7.21 and then build it with makepkg, maybe due to the different compile flags makepkg uses

Offline

#3 2023-06-22 19:50:37

Ketrel
Member
Registered: 2022-11-14
Posts: 41

Re: Error when trying to compile Wine 7.21

I'm not sure what eventually solved it, but I eventually threw up my hands, nuked the entire directory and cloned a fresh copy.

Since then I've been able to compile.  I'm not sure what got messed up, and what wasn't reset with commands like "git clean -dxf", but something must have persisted.

Offline

Board footer

Powered by FluxBB