Skip to contentSkip to conversation

Qemu-devel Digest, Vol 61, Issue 99

Qemu-devel [email protected] 3 participants 3 messages Apr 23, 2008 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi
I am installing the qemu with --enable-dsound.But it is has error.The error :

audio/dsoundaudio.c:36:21: warning: windows.h: No such file or directory audio/dsoundaudio.c:37:22: warning: mmsystem.h: No such file or directory audio/dsoundaudio.c:38:21: warning: objbase.h: No such file or directory audio/dsoundaudio.c:39:20: warning: dsound.h: No such file or directory audio/dsoundaudio.c:68: error: syntax error before "LPDIRECTSOUND" audio/dsoundaudio.c:68: warning: no semicolon at end of struct or union audio/dsoundaudio.c:69: warning: type defaults to int' in declaration of dsound_capture' audio/dsoundaudio.c:69: warning: data definition has no type or storage class audio/dsoundaudio.c:70: error: syntax error before "dsound_primary_buffer" audio/dsoundaudio.c:70: warning: type defaults to int' in declaration of dsound_primary_buffer' audio/dsoundaudio.c:70: warning: data definition has no type or storage class audio/dsoundaudio.c:72: error: syntax error before '}' token
audio/dsoundaudio.c:72: warning: type defaults to int' in declaration of dsound'
...............
audio/dsoundaudio.c:1011: warning: implicit declaration of function IDirectSoundCapture_Initialize' audio/dsoundaudio.c: In function dsound_logerr':
audio/dsoundaudio.c:243: error: va_start' used in function with fixed args audio/dsoundaudio.c: In function dsound_logerr2':
audio/dsoundaudio.c:260: error: `va_start' used in function with fixed args
make: *** [audio/dsoundaudio.o] Error 1

Please help me.Thanks !

#2 lore raw
Quoted 28 lines · On Tuesday 22 April 2008 08:47:35 pm [email protected] wrote:

Hi
I am installing the qemu with --enable-dsound.But it is has error.The
error :

audio/dsoundaudio.c:36:21: warning: windows.h: No such file or directory audio/dsoundaudio.c:37:22: warning: mmsystem.h: No such file or directory audio/dsoundaudio.c:38:21: warning: objbase.h: No such file or directory audio/dsoundaudio.c:39:20: warning: dsound.h: No such file or directory audio/dsoundaudio.c:68: error: syntax error before "LPDIRECTSOUND" audio/dsoundaudio.c:68: warning: no semicolon at end of struct or union audio/dsoundaudio.c:69: warning: type defaults to int' in declaration of dsound_capture' audio/dsoundaudio.c:69: warning: data definition has no type or storage class audio/dsoundaudio.c:70: error: syntax error before "dsound_primary_buffer" audio/dsoundaudio.c:70: warning: type defaults to int' in declaration of dsound_primary_buffer' audio/dsoundaudio.c:70:
warning: data definition has no type or storage class audio/dsoundaudio.c:72: error: syntax error before '}' token audio/dsoundaudio.c:72: warning: type defaults to int' in declaration of dsound' ...............
audio/dsoundaudio.c:1011: warning: implicit declaration of function IDirectSoundCapture_Initialize' audio/dsoundaudio.c: In function dsound_logerr':
audio/dsoundaudio.c:243: error: va_start' used in function with fixed args audio/dsoundaudio.c: In function dsound_logerr2':
audio/dsoundaudio.c:260: error: `va_start' used in function with fixed args
make: *** [audio/dsoundaudio.o] Error 1

Quoted 1 line

Please help me.Thanks !

--enable-dsound only works on Windows, and only if you have the DirectX headers installed.

#3 lore raw
Quoted 30 lines · C.W. Betts
Quoted 28 lines · On Tuesday 22 April 2008 08:47:35 pm [email protected] wrote:

Hi
I am installing the qemu with --enable-dsound.But it is has error.The
error :

audio/dsoundaudio.c:36:21: warning: windows.h: No such file or directory audio/dsoundaudio.c:37:22: warning: mmsystem.h: No such file or directory audio/dsoundaudio.c:38:21: warning: objbase.h: No such file or directory audio/dsoundaudio.c:39:20: warning: dsound.h: No such file or directory audio/dsoundaudio.c:68: error: syntax error before "LPDIRECTSOUND" audio/dsoundaudio.c:68: warning: no semicolon at end of struct or union audio/dsoundaudio.c:69: warning: type defaults to int' in declaration of dsound_capture' audio/dsoundaudio.c:69: warning: data definition has no type or storage class audio/dsoundaudio.c:70: error: syntax error before "dsound_primary_buffer" audio/dsoundaudio.c:70: warning: type defaults to int' in declaration of dsound_primary_buffer' audio/dsoundaudio.c:70:
warning: data definition has no type or storage class audio/dsoundaudio.c:72: error: syntax error before '}' token audio/dsoundaudio.c:72: warning: type defaults to int' in declaration of dsound' ...............
audio/dsoundaudio.c:1011: warning: implicit declaration of function IDirectSoundCapture_Initialize' audio/dsoundaudio.c: In function dsound_logerr':
audio/dsoundaudio.c:243: error: va_start' used in function with fixed args audio/dsoundaudio.c: In function dsound_logerr2':
audio/dsoundaudio.c:260: error: `va_start' used in function with fixed args
make: *** [audio/dsoundaudio.o] Error 1

Quoted 4 lines
Quoted 1 line

Please help me.Thanks !

--enable-dsound only works on Windows, and only if you have the DirectX headers installed.

I never knew what it was before. Perhaps enable-dsound should only get enabled when on windows?

Ben