qemu-devel
[Top][All Lists]
Advanced

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

[PATCH] Re: [Qemu-devel] Mac OS X build failure (qemu-img)


From: Andreas Färber
Subject: [PATCH] Re: [Qemu-devel] Mac OS X build failure (qemu-img)
Date: Tue, 8 Jan 2008 00:20:46 +0100


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 -lz
ld: Undefined symbols:
_CFDictionarySetValue
_CFRelease
_CFStringGetCString
_IOIteratorNext
_IOMasterPort
_IOObjectRelease
_IORegistryEntryCreateCFProperty
_IOServiceGetMatchingServices
_IOServiceMatching
___CFStringMakeConstantString
_kCFAllocatorDefault
_kCFBooleanTrue
make: *** [qemu-img] Error 1


Does 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

Attachment: qemu-img-CF+IO.diff
Description: Binary data



reply via email to

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