From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JodNH-0004CD-0d for qemu-devel@nongnu.org; Wed, 23 Apr 2008 07:42:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JodNF-0004Bn-D5 for qemu-devel@nongnu.org; Wed, 23 Apr 2008 07:42:54 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JodNF-0004Bk-5P for qemu-devel@nongnu.org; Wed, 23 Apr 2008 07:42:53 -0400 Received: from wa-out-1112.google.com ([209.85.146.178]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JodNE-0007xL-O3 for qemu-devel@nongnu.org; Wed, 23 Apr 2008 07:42:52 -0400 Received: by wa-out-1112.google.com with SMTP id k22so5297635waf.18 for ; Wed, 23 Apr 2008 04:42:49 -0700 (PDT) Message-ID: Date: Wed, 23 Apr 2008 07:42:49 -0400 From: "Ben Taylor" Subject: Re: [Qemu-devel] Qemu-devel Digest, Vol 61, Issue 99 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <480E8F40.4CAA93.21463@m12-53.163.com> <22982244.250991208918855562.JavaMail.coremail@bj163app115.163.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Wed, Apr 23, 2008 at 12:33 AM, C.W. Betts wrote: > > On Tuesday 22 April 2008 08:47:35 pm polaris_20060504@163.com 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 > > > > 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