From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MoBOu-0004KN-OY for qemu-devel@nongnu.org; Thu, 17 Sep 2009 03:27:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MoBOo-0004Fn-S1 for qemu-devel@nongnu.org; Thu, 17 Sep 2009 03:27:31 -0400 Received: from [199.232.76.173] (port=38734 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoBOn-0004FN-Di for qemu-devel@nongnu.org; Thu, 17 Sep 2009 03:27:25 -0400 Received: from mx20.gnu.org ([199.232.41.8]:35797) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MoBOm-0004Kv-Nd for qemu-devel@nongnu.org; Thu, 17 Sep 2009 03:27:24 -0400 Received: from mail-ew0-f221.google.com ([209.85.219.221]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MoBOl-0007cq-Ts for qemu-devel@nongnu.org; Thu, 17 Sep 2009 03:27:24 -0400 Received: by ewy21 with SMTP id 21so127143ewy.8 for ; Thu, 17 Sep 2009 00:27:22 -0700 (PDT) Subject: Re: [Qemu-devel] Please help, building from HEAD on Mac OS 10.6.1 Mime-Version: 1.0 (Apple Message framework v1076) Content-Type: text/plain; charset=windows-1252; format=flowed; delsp=yes From: Robin Randhawa In-Reply-To: Date: Thu, 17 Sep 2009 08:27:20 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <70C18FFB-237C-48B3-B5CF-0971CA270BA7@gmail.com> References: List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "J. B. Rainsberger" Cc: qemu-devel@nongnu.org Hi Joe. On 15 Sep 2009, at 12:37, J. B. Rainsberger wrote: > In file included from audio/audio_int.h:31, > from audio/audio.c:31: > audio/mixeng.h:37: warning: =91struct st_sample=92 declared inside =20 > parameter list > audio/mixeng.h:37: warning: its scope is only this definition or > declaration, which is probably not what you want > audio/mixeng.h:38: warning: =91struct st_sample=92 declared inside =20 > parameter list > audio/mixeng.h:45: warning: =91struct st_sample=92 declared inside =20 > parameter list > audio/mixeng.h:47: warning: =91struct st_sample=92 declared inside =20 > parameter list > audio/mixeng.h:49: warning: =91struct st_sample=92 declared inside =20 > parameter list > audio/audio.c: In function =91audio_attach_capture=92: > audio/audio.c:806: warning: assignment from incompatible pointer type > audio/audio.c: In function =91audio_pcm_sw_read=92: > audio/audio.c:900: error: invalid use of undefined type =91struct =20 > st_sample=92 I had the same problem while trying to build qemu on OSX 10.6.1. Since =20= I was only interested in basic arm-softmmu support without audio, the =20= following horrible work around allowed me to move on : $ ./configure --audio-drv-list=3D --target-list=3Darm-softmmu $ make That's right - no argument to '--audio-drv-list'. Another thing that is a bit off is the mandatory cocoa support. Unless =20= I'm mistaken (always possible), there is no way to build qemu on OSX =20 without cocoa support, unless you hack the top level Makefile and =20 remove the appropriate lines from the section for Darwin support. =20 Since there is an '--enable-cocoa' option, one would assume that it =20 should be possible to override this support. HTH, Robin=