[Bug 48824] build error - xaudio2_7/xact_dll.c:1192:9: error: case label does not reduce to an integer constant

WineHQ Bugzilla wine-bugs at winehq.org
Thu Mar 26 20:41:44 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=48824

--- Comment #5 from Adam Bolte <abolte at systemsaviour.com> ---
(In reply to Alistair Leslie-Hughes from comment #4)
> Could ccache be returning a bad result?  I've had issues recently with
> ucrtbase being updated which causing linker error at other points because
> the objects files weren't being recompiled. (not the same error, just
> suggesting possible caueses).

Thanks for the suggestion. Unfortunately it didn't help.

$ diff winebuilder.orig winebuilder
26c26,27
< export CC="ccache gcc"
---
> #export CC="ccache gcc"
> echo "CC: $CC"
$ 
$ winebuilder 
CC: 
Checking packages...
 * autoconf
 * dctrl-tools

...

gcc -m64 -c -o xact_dll.o
/mnt/gaming/applications/wine/git/dlls/xactengine3_4/../xaudio2_7/xact_dll.c
-I. \
  -I/mnt/gaming/applications/wine/git/dlls/xactengine3_4 \
  -I/mnt/gaming/applications/wine/git/dlls/xactengine3_4/../xaudio2_7
-I../../include \
  -I/mnt/gaming/applications/wine/git/include -D__WINESRC__ -DXACT3_VER=0x0304
-D_REENTRANT -fPIC \
  -Wall -pipe -fcf-protection=none -fno-stack-protector -fno-strict-aliasing \
  -Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers
-Wno-packed-not-aligned \
  -Wshift-overflow=2 -Wstrict-prototypes -Wtype-limits
-Wunused-but-set-parameter -Wvla \
  -Wwrite-strings -Wpointer-arith -Wlogical-op -gdwarf-2 -gstrict-dwarf -g -O0
/mnt/gaming/applications/wine/git/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:
In function ‘unwrap_notificationdesc’:
/mnt/gaming/applications/wine/git/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:1192:9:
error: case label does not reduce to an integer constant
         case (int)XACTNOTIFICATIONTYPE_GLOBALVARIABLECHANGED:
         ^~~~
/mnt/gaming/applications/wine/git/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:1193:9:
error: case label does not reduce to an integer constant
         case (int)XACTNOTIFICATIONTYPE_GUICONNECTED:
         ^~~~
/mnt/gaming/applications/wine/git/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:1194:9:
error: case label does not reduce to an integer constant
         case (int)XACTNOTIFICATIONTYPE_GUIDISCONNECTED:
         ^~~~
...

make[1]: *** [Makefile:188: xact_dll.o] エラー 1
make[1]: ディレクトリ '/mnt/gaming/applications/wine/build/wine64/dlls/xactengine3_5'
から出ます
make: *** [Makefile:9935: dlls/xactengine3_5] エラー 2
make[1]: *** [Makefile:188: xact_dll.o] エラー 1
make[1]: ディレクトリ '/mnt/gaming/applications/wine/build/wine64/dlls/xactengine3_6'
から出ます
make: *** [Makefile:9935: dlls/xactengine3_6] エラー 2
../../../tools/winegcc/winegcc -o ws2_32_test-stripped.exe --wine-objdir
../../.. -b x86_64-w64-mingw32 \
  --lib-suffix=.cross.a -s -Wb,-F,ws2_32_test.exe -mno-cygwin protocol.cross.o
sock.cross.o \
  testlist.cross.o ../../../dlls/ws2_32/libws2_32.cross.a
../../../dlls/user32/libuser32.cross.a \

../../../tools/winegcc/winegcc -o ws2_32_test.exe --wine-objdir ../../.. -b
x86_64-w64-mingw32 \
  --lib-suffix=.cross.a -mno-cygwin protocol.cross.o sock.cross.o
testlist.cross.o \
  ../../../dlls/ws2_32/libws2_32.cross.a ../../../dlls/user32/libuser32.cross.a 
echo "ws2_32_test.exe TESTRES \"ws2_32_test-stripped.exe\"" |
../../../tools/wrc/wrc -u -o ../../../programs/winetest/ws2_32_test.res
make[1]: ディレクトリ '/mnt/gaming/applications/wine/build/wine64/dlls/ws2_32/tests'
から出ます
Build of shared WoW64 failed.
$

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list