[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 21:37:46 CDT 2020
https://bugs.winehq.org/show_bug.cgi?id=48824
--- Comment #7 from Adam Bolte <abolte at systemsaviour.com> ---
I just tried running a single-threaded build with no ccache, and just ran up to
this part of the script:
mkdir -p "${out_prefix}"
# 64-bit build.
clean_repo
mkdir -p "${wine64_path}"
cd "${wine64_path}"
autoreconf -vfi ${git_path}
${git_path}/configure \
--prefix="${out_prefix}" \
--enable-win64 \
${configure_args}
make -j${threads}
exit 0
Still getting a failure.
gcc -m64 -c -o xact_dll.o
/mnt/gaming/applications/wine/git/dlls/xactengine3_0/../xaudio2_7/xact_dll.c
-I. \
-I/mnt/gaming/applications/wine/git/dlls/xactengine3_0 \
-I/mnt/gaming/applications/wine/git/dlls/xactengine3_0/../xaudio2_7
-I../../include \
-I/mnt/gaming/applications/wine/git/include -D__WINESRC__ -DXACT3_VER=0x0300
-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:
^~~~
/mnt/gaming/applications/wine/git/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:1198:9:
error: case label does not reduce to an integer constant
case (int)XACTNOTIFICATIONTYPE_CUEPREPARED:
^~~~
/mnt/gaming/applications/wine/git/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:1199:9:
error: case label does not reduce to an integer constant
case (int)XACTNOTIFICATIONTYPE_CUEPLAY:
^~~~
/mnt/gaming/applications/wine/git/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:1200:9:
error: case label does not reduce to an integer constant
case (int)XACTNOTIFICATIONTYPE_CUESTOP:
^~~~
/mnt/gaming/applications/wine/git/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:1201:9:
error: case label does not reduce to an integer constant
case (int)XACTNOTIFICATIONTYPE_CUEDESTROYED:
^~~~
/mnt/gaming/applications/wine/git/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:1202:9:
error: case label does not reduce to an integer constant
case (int)XACTNOTIFICATIONTYPE_MARKER:
^~~~
/mnt/gaming/applications/wine/git/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:1203:9:
error: case label does not reduce to an integer constant
case (int)XACTNOTIFICATIONTYPE_LOCALVARIABLECHANGED:
^~~~
/mnt/gaming/applications/wine/git/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:1208:9:
error: case label does not reduce to an integer constant
case (int)XACTNOTIFICATIONTYPE_WAVEBANKDESTROYED:
^~~~
/mnt/gaming/applications/wine/git/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:1209:9:
error: case label does not reduce to an integer constant
case (int)XACTNOTIFICATIONTYPE_WAVEBANKPREPARED:
^~~~
/mnt/gaming/applications/wine/git/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:1210:9:
error: case label does not reduce to an integer constant
case (int)XACTNOTIFICATIONTYPE_WAVEBANKSTREAMING_INVALIDCONTENT:
^~~~
/mnt/gaming/applications/wine/git/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:1215:9:
error: case label does not reduce to an integer constant
case (int)XACTNOTIFICATIONTYPE_SOUNDBANKDESTROYED:
^~~~
/mnt/gaming/applications/wine/git/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:1220:9:
error: case label does not reduce to an integer constant
case (int)XACTNOTIFICATIONTYPE_WAVEPREPARED:
^~~~
/mnt/gaming/applications/wine/git/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:1221:9:
error: case label does not reduce to an integer constant
case (int)XACTNOTIFICATIONTYPE_WAVEDESTROYED:
^~~~
/mnt/gaming/applications/wine/git/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:1226:9:
error: case label does not reduce to an integer constant
case (int)XACTNOTIFICATIONTYPE_WAVEPLAY:
^~~~
/mnt/gaming/applications/wine/git/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:1227:9:
error: case label does not reduce to an integer constant
case (int)XACTNOTIFICATIONTYPE_WAVESTOP:
^~~~
/mnt/gaming/applications/wine/git/dlls/xactengine3_0/../xaudio2_7/xact_dll.c:1228:9:
error: case label does not reduce to an integer constant
case (int)XACTNOTIFICATIONTYPE_WAVELOOPED:
^~~~
make[1]: *** [Makefile:188: xact_dll.o] エラー 1
make[1]: ディレクトリ '/mnt/gaming/applications/wine/build/wine64/dlls/xactengine3_0'
から出ます
make: *** [Makefile:9935: dlls/xactengine3_0] エラー 2
Build of shared WoW64 failed.
Here is the version information:
$ which gcc
/usr/bin/gcc
$ ll /usr/bin/gcc
lrwxrwxrwx 1 root root 5 Feb 25 2019 /usr/bin/gcc -> gcc-8
$ dpkg -S /usr/bin/gcc-8
gcc-8: /usr/bin/gcc-8
$ apt-cache policy gcc-8
gcc-8:
インストールされているバージョン: 8.3.0-6
候補: 8.3.0-6
バージョンテーブル:
8.4.0-1 50
50 http://cyclops.monsters:3142/debian unstable/main amd64 Packages
*** 8.3.0-6 500
500 http://cyclops.monsters:3142/debian buster/main amd64 Packages
100 /var/lib/dpkg/status
$ gcc --version
gcc (Debian 8.3.0-6) 8.3.0
Copyright (C) 2018 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.
$ dpkg -l | grep mingw
ii binutils-mingw-w64-i686 2.31.1-11+8.3
amd64 Cross-binutils for Win32 (x86) using MinGW-w64
ii binutils-mingw-w64-x86-64 2.31.1-11+8.3
amd64 Cross-binutils for Win64 (x64) using MinGW-w64
ii g++-mingw-w64 8.3.0-6+21.3~deb10u1
all GNU C++ compiler for MinGW-w64
ii g++-mingw-w64-i686 8.3.0-6+21.3~deb10u1
amd64 GNU C++ compiler for MinGW-w64 targeting Win32
ii g++-mingw-w64-x86-64 8.3.0-6+21.3~deb10u1
amd64 GNU C++ compiler for MinGW-w64 targeting Win64
ii gcc-mingw-w64 8.3.0-6+21.3~deb10u1
all GNU C compiler for MinGW-w64
ii gcc-mingw-w64-base 8.3.0-6+21.3~deb10u1
amd64 GNU Compiler Collection for MinGW-w64 (base package)
ii gcc-mingw-w64-i686 8.3.0-6+21.3~deb10u1
amd64 GNU C compiler for MinGW-w64 targeting Win32
ii gcc-mingw-w64-x86-64 8.3.0-6+21.3~deb10u1
amd64 GNU C compiler for MinGW-w64 targeting Win64
ii libnpth-mingw-w64-dev 1.6-1
all replacement for GNU Pth using system threads
(Windows dev)
ii mingw-w64 6.0.0-3
all Development environment targeting 32- and 64-bit
Windows
ii mingw-w64-common 6.0.0-3
all Common files for Mingw-w64
ii mingw-w64-i686-dev 6.0.0-3
all Development files for MinGW-w64 targeting Win32
ii mingw-w64-tools 6.0.0-3
amd64 Development tools for 32- and 64-bit Windows
ii mingw-w64-x86-64-dev 6.0.0-3
all Development files for MinGW-w64 targeting Win64
$
--
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