configure: Fix build with ALSA audio driver
PATCH 1/1 configure: Fix build with ALSA audio driver
Since commit 417c9d72d48275d19c60861896efd4962d21aca2, all configure tests normally run with -Werror.
Some of these tests now fail because they raised a compiler warning.
Here a build breakage for ALSA (configure --audio-drv-list=alsa) is fixed.
---
One of the buildbot jobs should be configured with all sound options:
--audio-card-list=ac97,es1370,sb16,cs4231a,adlib,gus,hda --audio-drv-list=alsa,sdl,oss,esd,pa --enable-mixemu
That would have detected this bug (and more potential bugs in the future).
Regards
Stefan W.
configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
configure +1 -1
@@ -1888,7 +1888,7 @@ for drv in $audio_drv_list; do case $drv in alsa) audio_drv_probe $drv alsa/asoundlib.h -lasound \ - "snd_pcm_t **handle; return snd_pcm_close(*handle);" + "return snd_pcm_close((snd_pcm_t *)0);" libs_softmmu="-lasound $libs_softmmu" ;;
Signature · 1 line
1.7.10
Quoted 7 lines · Stefan Weil
One of the buildbot jobs should be configured with all sound options:
--audio-card-list=ac97,es1370,sb16,cs4231a,adlib,gus,hda --audio-drv-list=alsa,sdl,oss,esd,pa --enable-mixemu
That would have detected this bug (and more potential bugs in the future).
Daniel, please could you add these ./configure options to the qemu.git buildbot?
I have tested on the yuzuki buildbot with Stefan Weil's patch applied. Yuzuki has the library headers installed so we can build it all and get better coverage.
Thanks,
Stefan
Hi,
Quoted 11 lines · Stefan Hajnoczi
Quoted 8 lines · Stefan Weil
One of the buildbot jobs should be configured with all sound options:
--audio-card-list=ac97,es1370,sb16,cs4231a,adlib,gus,hda --audio-drv-list=alsa,sdl,oss,esd,pa --enable-mixemu
That would have detected this bug (and more potential bugs in the future).
Daniel, please could you add these ./configure options to the qemu.git buildbot?
I'll apply that tomorrow or the day after tomorrow once the build regression from last night got fixed. Otherwise we would not get notified if other build factories break due to this change ...
Quoted 4 lines
I have tested on the yuzuki buildbot with Stefan Weil's patch applied. Yuzuki has the library headers installed so we can build it all and get better coverage.
Best Regards,
Daniel
Signature · 8 lines
Daniel Gollub Linux Consultant & Developer Tel.: +49-160 47 73 970 Mail: [email protected] B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537