qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] Sparc target build fix on OS X (was Re: 0.6.1 compi


From: David E . Still
Subject: [Qemu-devel] [PATCH] Sparc target build fix on OS X (was Re: 0.6.1 compile error on Mac OS X
Date: Mon, 15 Nov 2004 11:17:29 -0800

Yep, this has been discussed before. There are two ways to get Qemu to compile on OS X:

1. Apply the attached patch, which adds "LIBS+=-lmx" to OS X and other Darwin builds
or
2. Don't include sparc emulation in your build by adding --target-list="i386-softmmu ppc-softmmu" to your ./configure line. This will remove sparc-softmmu from the build, which is the option that requires the mx library from OS X.

Either option will work.

- Dave

Attachment: qemu-osx-sparc-build.patch
Description: Binary data


--
David E. Still
Writer/Producer
TripleCat Productions
http://www.triplecatproductions.com

On Nov 15, 2004, at 3:59 AM, Eric Sunshine wrote:

René Korthaus wrote:
gcc -o qemu-system-sparc vl.o osdep.o block.o readline.o monitor.o slirp/bootp.o slirp/debug.o slirp/tftp.o libqemu.a -lm -lz -L/opt/local/lib -lSDLmain -lSDL -framework Cocoa -framework OpenGL
ld: Undefined symbols:
_sqrtf

sqrtf() is in the 'mx' library on MacOS/X, so you will need to add `-lmx' to the link statement (in addition to `-lm').

-- ES


reply via email to

[Prev in Thread] Current Thread [Next in Thread]