[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
David E . Still
[Qemu-devel] [PATCH] Sparc target build fix on OS X (was Re: 0.6.1 compile error on Mac OS X
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
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.
Description: Binary data
David E. Still
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() is in the 'mx' library on MacOS/X, so you will need to add
`-lmx' to the link statement (in addition to `-lm').