[Bug 39165] dlls/xaudio2_7 fails to compile (unconditional dependency on OpenAL)

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Aug 26 23:30:12 CDT 2015


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

--- Comment #4 from Dmitry Timoshkov <dmitry at baikal.ru> ---
Here is the compilation failure:
xaudio_dll.c: In function al_get_loopback_format:
xaudio_dll.c:1462:20: error: ALC_UNSIGNED_BYTE_SOFT undeclared (first use in
this function)
xaudio_dll.c:1462:20: note: each undeclared identifier is reported only once
for each function it appears in
xaudio_dll.c:1464:20: error: ALC_SHORT_SOFT undeclared (first use in this
function)
xaudio_dll.c:1466:20: error: ALC_INT_SOFT undeclared (first use in this
function)
xaudio_dll.c:1472:20: error: ALC_FLOAT_SOFT undeclared (first use in this
function)
xaudio_dll.c: In function IXAudio2Impl_CreateMasteringVoice:
xaudio_dll.c:1592:16: error: ALC_FORMAT_CHANNELS_SOFT undeclared (first use in
this function)
xaudio_dll.c:1595:20: error: ALC_MONO_SOFT undeclared (first use in this
function)
xaudio_dll.c:1598:20: error: ALC_STEREO_SOFT undeclared (first use in this
function)
xaudio_dll.c:1601:20: error: ALC_QUAD_SOFT undeclared (first use in this
function)
xaudio_dll.c:1604:20: error: ALC_5POINT1_SOFT undeclared (first use in this
function)
xaudio_dll.c:1607:20: error: ALC_6POINT1_SOFT undeclared (first use in this
function)
xaudio_dll.c:1610:20: error: ALC_7POINT1_SOFT undeclared (first use in this
function)
xaudio_dll.c:1619:16: error: ALC_FORMAT_TYPE_SOFT undeclared (first use in this
function)
make: *** [xaudio_dll.o] Error 1

and the config.log snippets:

configure:6747: checking OpenAL/al.h usability
configure:6747: gcc -m32 -c -g -O2  conftest.c >&5
conftest.c:55:23: fatal error: OpenAL/al.h: No such file or directory
...
configure:6747: checking OpenAL/al.h presence
configure:6747: gcc -m32 -E  conftest.c
conftest.c:22:23: fatal error: OpenAL/al.h: No such file or directory
...
configure:13544: checking for -lopenal
configure:13569: gcc -m32 -o conftest -g -O2   conftest.c -lopenal   >&5
configure:13569: $? = 0
configure:13588: result: libopenal.so.1
...
| #define SONAME_LIBOPENAL "libopenal.so.1"
| #define HAVE_OPENAL 1

-- 
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