Am 12.12.2007 um 13:08 schrieb Alexander Graf:
On Dec 12, 2007, at 12:39 PM, Andreas Färber wrote:Am 11.11.2007 um 13:40 schrieb Andreas Färber:Building CVS HEAD on OS X (here sparc-softmmu) currently results in unresolved symbols:gcc-3.3 -g -o qemu-img qemu-img.o qemu-img-block.o qemu-img- block-raw.o cutils.o block-cow.o block-qcow.o aes.o block-vmdk.o block-cloop.o block-dmg.o block-bochs.o block-vpc.o block-vvfat.o block-qcow2.o block-parallels.o -lzld: Undefined symbols: _CFDictionarySetValue _CFRelease _CFStringGetCString _IOIteratorNext _IOMasterPort _IOObjectRelease _IORegistryEntryCreateCFProperty _IOServiceGetMatchingServices _IOServiceMatching ___CFStringMakeConstantString _kCFAllocatorDefault _kCFBooleanTrue make: *** [qemu-img] Error 1Does it work if you specify "-framework CoreFoundation -framework IOKit" in your LDFLAGS? That's what was needed on my Leopard x86_64 build.
The attached patch fixes the above build problem by adding -framework CoreFoundation -framework IOKit to LDFLAGS, as suggested by Alexander.
Andreas
qemu-img-CF+IO.diff
Description: Binary data