Hello,
Is you problem is this one :
/tmp/qemu-1.7.1/linux-user/ioctls.h:188:1: error: ‘SNDCTL_DSP_MAPINBUF’ undeclared here (not in a function)
/tmp/qemu-1.7.1/linux-user/ioctls.h:189:1: error: ‘SNDCTL_DSP_MAPOUTBUF’ undeclared here (not in a function)
/tmp/qemu-1.7.1/linux-user/ioctls.h:244:1: error: ‘SOUND_MIXER_ACCESS’ undeclared here (not in a function)
In such case, it exists a solution :
Replace this line :
#include <linux/soundcard.h>
by :
#include <linux/soundcard.h.oss3>
in the linux-user/syscall.c file.
And the compilation will go fine. This problem seems to be related to Debian and I am not sure who should fix this one.
I hope it will help you to get QEMU compiled.
Best regards,