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
<qemu-osx-sparc-build.patch>
--
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
_______________________________________________
Qemu-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/qemu-devel