Libsdl and libsdl2 built with sound use flag on host?

On Thu, Dec 24, 2015, 16:04  <waltd...@waltdnes.org> wrote:

>   Any ideas?  The error message is...
>
> sdl: SDL failed to initialize audio subsystem
> sdl: Reason: No available audio device
> audio: Could not init `sdl' audio driver
>
>   I get this both with a Gentoo guest...
>
> #!/bin/bash
> qemu-system-i386 -enable-kvm \
>    -cpu host -display gtk \
>    -drive file=gentoo32.img,format=raw \
>    -drive file=linuxswap.img,format=raw \
>    -net nic,model=virtio \
>    -rtc base=localtime,clock=host \
>    -net user,hostname=gentoovm,hostfwd=tcp::2022-:22 \
>    -m 3G -name "Gentoo VM" \
>    -soundhw sb16 -parallel none \
>    ${@}
>
> ...and an OS/2 Warp 4 guest...
>
> #!/bin/bash
> qemu-system-i386 -enable-kvm \
>    -cpu coreduo -monitor vc \
>    -drive file=os2.img,format=raw \
>    -net nic,model=pcnet \
>    -m size=64 -name "OS/2 VM" \
>    -soundhw sb16 -vga std \
>    ${@}
>
>   On the host, from "emerge -pv qemu"...
>
> app-emulation/qemu-2.4.1-r2::gentoo USE="aio alsa curl fdt gtk gtk2 jpeg
> ncurses opengl pin-upstream-blobs png sdl sdl2 ssh threads usb vhost-net
> vnc -accessibility -bluetooth -caps -debug -filecaps (-glusterfs)
> -infiniband -iscsi -lzo -nfs -nls -numa -pulseaudio -python -rbd -sasl
> -seccomp (-selinux) -smartcard -snappy -spice -static -static-softmmu
> -static-user -systemtap -tci {-test} -tls -usbredir -uuid -vde -virtfs -vte
> -xattr -xen -xfs"
> PYTHON_TARGETS="python2_7"
> QEMU_SOFTMMU_TARGETS="i386 x86_64"
> QEMU_USER_TARGETS="i386 x86_64"
>
> --
> Walter Dnes <waltd...@waltdnes.org>
> I don't run "desktop environments"; I run useful applications
>
>

Reply via email to