All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] compiling trunk on mac os x 10.5.6
@ 2009-03-05 14:34 Philipp Schmid
  2009-03-05 16:00 ` Alexander Graf
  0 siblings, 1 reply; 3+ messages in thread
From: Philipp Schmid @ 2009-03-05 14:34 UTC (permalink / raw)
  To: qemu-devel

Hi,

I'm trying to compile the qemu trunk on mac os x leopard, but I get  
the attached error.
This is the configure line I'm using:

./configure --enable-darwin-user --disable-sdl --enable-cocoa -- 
disable-kvm --disable-kqemu

What is the status of trunk on os x, is it supposed to work?
It looks like there is a qemu-types.h supposed to be in darwin-user.

greets Philipp

> make[1]: Nothing to be done for `all'.
>   CC    i386-darwin-user/main.o
> In file included from /Users/schmidp/Development/External_Software/ 
> qemu/trunk/target-i386/cpu.h:866,
>                  from /Users/schmidp/Development/External_Software/ 
> qemu/trunk/darwin-user/qemu.h:7,
>                  from /Users/schmidp/Development/External_Software/ 
> qemu/trunk/darwin-user/main.c:32:
> ../cpu-all.h:627:24: error: qemu-types.h: No such file or directory
> In file included from /Users/schmidp/Development/External_Software/ 
> qemu/trunk/darwin-user/qemu.h:9,
>                  from /Users/schmidp/Development/External_Software/ 
> qemu/trunk/darwin-user/main.c:32:
> ../thunk.h: In function 'thunk_type_size':
> ../thunk.h:105: error: 'TARGET_ABI_BITS' undeclared (first use in  
> this function)
> ../thunk.h:105: error: (Each undeclared identifier is reported only  
> once
> ../thunk.h:105: error: for each function it appears in.)
> ../thunk.h: In function 'thunk_type_align':
> ../thunk.h:142: error: 'TARGET_ABI_BITS' undeclared (first use in  
> this function)
> In file included from /Users/schmidp/Development/External_Software/ 
> qemu/trunk/darwin-user/main.c:32:
> /Users/schmidp/Development/External_Software/qemu/trunk/darwin-user/ 
> qemu.h: At top level:
> /Users/schmidp/Development/External_Software/qemu/trunk/darwin-user/ 
> qemu.h:100: warning: 'struct sigaltstack' declared inside parameter  
> list
> /Users/schmidp/Development/External_Software/qemu/trunk/darwin-user/ 
> qemu.h:100: warning: its scope is only this definition or  
> declaration, which is probably not what you want
> /Users/schmidp/Development/External_Software/qemu/trunk/darwin-user/ 
> qemu.h: In function 'get_int_arg':
> /Users/schmidp/Development/External_Software/qemu/trunk/darwin-user/ 
> qemu.h:151: warning: cast to pointer from integer of different size
> /Users/schmidp/Development/External_Software/qemu/trunk/darwin-user/ 
> qemu.h: In function 'get_int64_arg':
> /Users/schmidp/Development/External_Software/qemu/trunk/darwin-user/ 
> qemu.h:157: warning: cast to pointer from integer of different size
> /Users/schmidp/Development/External_Software/qemu/trunk/darwin-user/ 
> main.c: In function 'cpu_loop':
> /Users/schmidp/Development/External_Software/qemu/trunk/darwin-user/ 
> main.c:597: warning: cast to pointer from integer of different size
> /Users/schmidp/Development/External_Software/qemu/trunk/darwin-user/ 
> main.c:673: warning: cast to pointer from integer of different size
> /Users/schmidp/Development/External_Software/qemu/trunk/darwin-user/ 
> main.c:682: warning: cast to pointer from integer of different size
> /Users/schmidp/Development/External_Software/qemu/trunk/darwin-user/ 
> main.c:686: error: 'EXCP01_SSTP' undeclared (first use in this  
> function)
> /Users/schmidp/Development/External_Software/qemu/trunk/darwin-user/ 
> main.c:691: warning: cast to pointer from integer of different size
> /Users/schmidp/Development/External_Software/qemu/trunk/darwin-user/ 
> main.c:708: warning: cast to pointer from integer of different size
> /Users/schmidp/Development/External_Software/qemu/trunk/darwin-user/ 
> main.c:730: warning: cast to pointer from integer of different size
> /Users/schmidp/Development/External_Software/qemu/trunk/darwin-user/ 
> main.c: At top level:
> /Users/schmidp/Development/External_Software/qemu/trunk/darwin-user/ 
> main.c:741: warning: no previous prototype for 'usage'
> /Users/schmidp/Development/External_Software/qemu/trunk/darwin-user/ 
> main.c: In function 'main':
> /Users/schmidp/Development/External_Software/qemu/trunk/darwin-user/ 
> main.c:809: warning: assignment discards qualifiers from pointer  
> target type
> /Users/schmidp/Development/External_Software/qemu/trunk/darwin-user/ 
> main.c:950: warning: cast from pointer to integer of different size
> /Users/schmidp/Development/External_Software/qemu/trunk/darwin-user/ 
> main.c:950: warning: cast from pointer to integer of different size
> /Users/schmidp/Development/External_Software/qemu/trunk/darwin-user/ 
> main.c:960: warning: cast from pointer to integer of different size
> /Users/schmidp/Development/External_Software/qemu/trunk/darwin-user/ 
> main.c:961: warning: cast from pointer to integer of different size
> make[1]: *** [main.o] Error 1
> make: *** [subdir-i386-darwin-user] Error 2
> pns-202-118:trunk schmidp$

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] compiling trunk on mac os x 10.5.6
  2009-03-05 14:34 [Qemu-devel] compiling trunk on mac os x 10.5.6 Philipp Schmid
@ 2009-03-05 16:00 ` Alexander Graf
  2009-03-05 19:00     ` C.W. Betts
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Graf @ 2009-03-05 16:00 UTC (permalink / raw)
  To: qemu-devel; +Cc: lists

Philipp Schmid wrote:
> Hi,
>
> I'm trying to compile the qemu trunk on mac os x leopard, but I get
> the attached error.
> This is the configure line I'm using:
>
> ./configure --enable-darwin-user --disable-sdl --enable-cocoa
> --disable-kvm --disable-kqemu
>
> What is the status of trunk on os x, is it supposed to work?
> It looks like there is a qemu-types.h supposed to be in darwin-user.

I haven't seen darwin user being maintained for quite some time now.
Unless you really need it, it's probably best to not use it or fix it
:-). The system emulation should work.

Alex

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Qemu-devel] compiling trunk on mac os x 10.5.6
@ 2009-03-05 19:00     ` C.W. Betts
  0 siblings, 0 replies; 3+ messages in thread
From: C.W. Betts @ 2009-03-05 19:00 UTC (permalink / raw)
  To: qemu-devel


On Mar 5, 2009, at 9:00 AM, Alexander Graf wrote:

> Philipp Schmid wrote:
>> Hi,
>>
>> I'm trying to compile the qemu trunk on mac os x leopard, but I get
>> the attached error.
>> This is the configure line I'm using:
>>
>> ./configure --enable-darwin-user --disable-sdl --enable-cocoa
>> --disable-kvm --disable-kqemu
>>
>> What is the status of trunk on os x, is it supposed to work?
>> It looks like there is a qemu-types.h supposed to be in darwin-user.
>
> I haven't seen darwin user being maintained for quite some time now.
> Unless you really need it, it's probably best to not use it or fix it
> :-). The system emulation should work.
>
> Alex
>
Also, remember to disable bsd user as well, otherwise you'll get (for  
some odd reason) sparc-bsd

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-03-05 19:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-05 14:34 [Qemu-devel] compiling trunk on mac os x 10.5.6 Philipp Schmid
2009-03-05 16:00 ` Alexander Graf
2009-03-05 19:00   ` C.W. Betts
2009-03-05 19:00     ` C.W. Betts

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.