Hi Jacob,

Am 06.02.2013 14:12, schrieb Jacob Kroon:
> I'm trying to cross-build qemu for win64 on a Fedora 18/x86_64 system,
> using all the necessary mingw64 packages from Fedora. Using latest
> qemu from git (5f876756c57c15f5e14d4136fc432b74f05f082b), I get an
> error when linking "qemu-img.exe":
> 
> block.o: In function `bdrv_set_dirty_tracking':
> /home/sejakr/Projects/flexemu/qemu/block.c:4316: undefined reference to `ffs'
> block/qcow2.o: In function `qcow2_create2':
> /home/sejakr/Projects/flexemu/qemu/block/qcow2.c:1184: undefined
> reference to `ffs'
> block/qed.o: In function `bdrv_qed_open':
> /home/sejakr/Projects/flexemu/qemu/block/qed.c:429: undefined reference to 
> `ffs'
> /home/sejakr/Projects/flexemu/qemu/block/qed.c:431: undefined reference to 
> `ffs'
> collect2: error: ld returned 1 exit status
> make[1]: *** [qemu-img.exe] Error 1
> make[1]: Leaving directory `/home/sejakr/Projects/flexemu/qemu'
> make: *** [qemu-build] Error 2
> 
> Same problem happens when linking qemu-io.exe and qemu-system-i386w.exe.

Has this been resolved in the meantime? MinGW64 cross-build of my patch
queue works fine.

Regards,
Andreas

-- 
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746 AG Nürnberg

Reply via email to