7.17 compilation issues on Arch

Questions about Wine on Linux
Locked
Ketrel
Level 1
Level 1
Posts: 6
Joined: Thu Oct 27, 2022 4:41 pm

7.17 compilation issues on Arch

Post by Ketrel »

I'm having compilation issues on Arch. It appears that I have all the dependcies met, but make fails. I'm not quite sure what to look for next. I've tried a few different versions and get different issues on each, but I'll just address 7.17 as it was the highest tagged version at the time of my post.

Code: Select all

../dlls/rpcrt4/tests/server.c: In function ‘set_interp_interface’:
../dlls/rpcrt4/tests/server.c:257:24: error: ‘interp_test_I_RpcBindingInqLocalClientPID’ undeclared (first use in this function); did you mean ‘test_I_RpcBindingInqLocalClientPID’?
  257 | #define X(name) name = interp_##name;
      |                        ^~~~~~~
../dlls/rpcrt4/tests/server.c:257:24: note: in definition of macro ‘X’
  257 | #define X(name) name = interp_##name;
      |                        ^~~~~~~
../dlls/rpcrt4/tests/server.c:258:5: note: in expansion of macro ‘SERVER_FUNCTIONS’
  258 |     SERVER_FUNCTIONS
      |     ^~~~~~~~~~~~~~~~
../dlls/rpcrt4/tests/server.c:257:24: note: each undeclared identifier is reported only once for each function it appears in
  257 | #define X(name) name = interp_##name;
      |                        ^~~~~~~
../dlls/rpcrt4/tests/server.c:257:24: note: in definition of macro ‘X’
  257 | #define X(name) name = interp_##name;
      |                        ^~~~~~~
../dlls/rpcrt4/tests/server.c:258:5: note: in expansion of macro ‘SERVER_FUNCTIONS’
  258 |     SERVER_FUNCTIONS
      |     ^~~~~~~~~~~~~~~~
../dlls/rpcrt4/tests/server.c: In function ‘set_mixed_interface’:
../dlls/rpcrt4/tests/server.c:266:24: error: ‘mixed_test_I_RpcBindingInqLocalClientPID’ undeclared (first use in this function); did you mean ‘test_I_RpcBindingInqLocalClientPID’?
  266 | #define X(name) name = mixed_##name;
      |                        ^~~~~~
../dlls/rpcrt4/tests/server.c:266:24: note: in definition of macro ‘X’
  266 | #define X(name) name = mixed_##name;
      |                        ^~~~~~
../dlls/rpcrt4/tests/server.c:267:5: note: in expansion of macro ‘SERVER_FUNCTIONS’
  267 |     SERVER_FUNCTIONS
      |     ^~~~~~~~~~~~~~~~
make: *** [Makefile:118903: dlls/rpcrt4/tests/server.cross.o] Error 1
This is what I'm getting. I'm not sure if there's a dependency that's not mentioned on the wiki that I need or if it's a version issue with one of them, or something else entirely.

Anyone have any suggestions on what to try/where to look?
invisible kid
Level 5
Level 5
Posts: 368
Joined: Tue Dec 24, 2019 3:23 pm

Re: 7.17 compilation issues on Arch

Post by invisible kid »

Hi, just a fellow user here. That error is a bit weird. I think the ## is a preprocessor concatenation type command. What version of gcc are you using?

Code: Select all

gcc --version
Not much help, but something to do while you wait for a real answer.
Ketrel
Level 1
Level 1
Posts: 6
Joined: Thu Oct 27, 2022 4:41 pm

Re: 7.17 compilation issues on Arch

Post by Ketrel »

gcc (GCC) 12.2.0
x86_64-w64-mingw32-gcc (GCC) 12.2.0
automake (GNU automake) 1.16.5
invisible kid
Level 5
Level 5
Posts: 368
Joined: Tue Dec 24, 2019 3:23 pm

Re: 7.17 compilation issues on Arch

Post by invisible kid »

Thanks. Don't know if this is the cause but that's the most recent release of gcc:
GCC 12.2 August 19, 2022
Just as an example, my version is
GCC 8.2 July 26, 2018
Sorry, I can't "help" you any further. I might try to change the code so it's compilable, but probably not. The only other thing I would suggest doing is looking very carefully at the output(s) to the "./configure" commands and like you say, see if it is complaining about anything important missing. Good luck.
Ketrel
Level 1
Level 1
Posts: 6
Joined: Thu Oct 27, 2022 4:41 pm

Re: 7.17 compilation issues on Arch

Post by Ketrel »

Hmm, I updated everything. I'm getting the same error.

My arch install is full up to date as of this post.

The compile fails with the same exact error. I'm completely at a loss.
Locked