Skip to contentSkip to conversation

Compiling qemu-0.6.1 on Mac OS X

Qemu-devel Masahiro Knittel 4 participants 5 messages Mar 17, 2005 – Mar 19, 2005

lore
Share & tools
lore
#0 lore raw

I'm having one hell of a time trying to get QEmu 0.6.1 to work on my iBook. I'm currently running Mac OS 10.2.8 and am using the dev tools downloaded from Apple's developer's forum for OS 10.2 released in Dec 2002 which has gcc 3.1. I compiled the latest release of SDL from source.

When I run the configure script for qemu 0.6.1, the script tells me that it doesn't have SDL support even though I just compiled it. When I run make, it exits with an error saying it can't find 'sys/poll.h'. I'm completely stuck and have no clue what to do. The reason I'm compiling from source is because the binary installer at freeoszoo will install fine but the binary will crash because it can't resolve some symbols in a library. I'm assuming this is because the binary was compiled in a newer version of Mac OS X and the differences in the libraries is causing this.

Does anyone have any advice? I really would appreciate it. Thanks.

#1 lore raw
Quoted 1 line · Masahiro Knittel

When I run the configure script for qemu 0.6.1, the script tells me that it doesn't have SDL support even though I just compiled it.

Did you also install it ("sudo make install" in the SDL directory)

Quoted 1 line

When I run make, it exits with an error saying it can't find 'sys/poll.h'.

This file exists under Mac OS X 10.3.x, but there it simply says:

---
#ifndef SYS_POLL_NO_WARN
#warning "Including <sys/poll.h> directly is not recommended. The POSIX standard suggests that poll.h be installed as <poll.h>. This header is only provided for compatibility with other systems." #endif

#include <poll.h>
---

So simply include "poll.h" instead of "sys/poll.h". Given that under Linux (at least Fedora Core 2) /usr/include/poll.h also exists, maybe this could be changed in cvs as well?

Jonas

#2 lore raw

Selon Jonas Maebe <[email protected]>:

Quoted 7 lines · Masahiro Knittel
Quoted 3 lines

When I run the configure script for qemu 0.6.1, the script tells me that it doesn't have SDL support even though I just compiled it.

Did you also install it ("sudo make install" in the SDL directory)

You can also try the basic cocoa driver with ./configure --enable-cocoa with the latest cvs version.

Quoted 2 lines
Quoted 2 lines

When I run make, it exits with an error saying it can't find 'sys/poll.h'.

Download libpoll here:
http://www.clapper.org/software/poll/

Pierre.

#3 lore raw

One issue that I've found with the cocoa driver is that the mouse won't grab. Is this a known issue or a bug? Or is it just me? :)

- Dave

Quoted 30 lines · Pierre d'Herbemont

Selon Jonas Maebe <[email protected]>:

Quoted 7 lines · Masahiro Knittel
Quoted 3 lines

When I run the configure script for qemu 0.6.1, the script tells me that it doesn't have SDL support even though I just compiled it.

Did you also install it ("sudo make install" in the SDL directory)

You can also try the basic cocoa driver with ./configure --enable-cocoa with the
latest cvs version.

Quoted 2 lines
Quoted 2 lines

When I run make, it exits with an error saying it can't find 'sys/poll.h'.

Download libpoll here:
http://www.clapper.org/software/poll/

Pierre.

_______________________________________________
Qemu-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/qemu-devel

#4 lore raw
Quoted 1 line · David Still

One issue that I've found with the cocoa driver is that the mouse won't grab. Is this a known issue or a bug? Or is it just me? :)

There is simply no support for it... Feel free to add it ;) (shouldn't be that hard if you look at the sdl driver and sdl 1.2 code)

Pierre.