qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Robin Randhawa <robin.randhawa@gmail.com>
To: "J. B. Rainsberger" <jbrainsberger@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Please help, building from HEAD on Mac OS 10.6.1
Date: Thu, 17 Sep 2009 08:27:20 +0100	[thread overview]
Message-ID: <70C18FFB-237C-48B3-B5CF-0971CA270BA7@gmail.com> (raw)
In-Reply-To: <f12373d0909150437k7fa1277ewfb2b21c278ea3bfb@mail.gmail.com>

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: ‘struct st_sample’ declared inside  
> 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: ‘struct st_sample’ declared inside  
> parameter list
> audio/mixeng.h:45: warning: ‘struct st_sample’ declared inside  
> parameter list
> audio/mixeng.h:47: warning: ‘struct st_sample’ declared inside  
> parameter list
> audio/mixeng.h:49: warning: ‘struct st_sample’ declared inside  
> parameter list
> audio/audio.c: In function ‘audio_attach_capture’:
> audio/audio.c:806: warning: assignment from incompatible pointer type
> audio/audio.c: In function ‘audio_pcm_sw_read’:
> audio/audio.c:900: error: invalid use of undefined type ‘struct  
> st_sample’


I had the same problem while trying to build qemu on OSX 10.6.1. Since  
I was only interested in basic arm-softmmu support without audio, the  
following horrible work around allowed me to move on :

$ ./configure --audio-drv-list= --target-list=arm-softmmu
$ make

That's right - no argument to '--audio-drv-list'.

Another thing that is a bit off is the mandatory cocoa support. Unless  
I'm mistaken (always possible), there is no way to build qemu on OSX  
without cocoa support, unless you hack the top level Makefile and  
remove the appropriate lines from the section for Darwin support.  
Since there is an '--enable-cocoa' option, one would assume that it  
should be possible to override this support.

HTH,
Robin

      parent reply	other threads:[~2009-09-17  7:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-15 11:37 [Qemu-devel] Please help, building from HEAD on Mac OS 10.6.1 J. B. Rainsberger
2009-09-16  1:23 ` malc
2009-09-17  7:27 ` Robin Randhawa [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=70C18FFB-237C-48B3-B5CF-0971CA270BA7@gmail.com \
    --to=robin.randhawa@gmail.com \
    --cc=jbrainsberger@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).