No rule to make target ../libhw32/virtio.o
Hi,
I'm building current Git master (SHA1:facf1a60) using latest MingW32 on Windows Vista and compilation fails with the following error:
g:/src/qemu/_git/master/disas.c: In function 'generic_print_address':
g:/src/qemu/_git/master/disas.c:65:5: warning: 'I' flag used with '%x' gnu_printf format
g:/src/qemu/_git/master/disas.c:65:5: warning: format '%I64x' expects type 'unsigned int', but argument 3 has type 'bfd_vma' make[1]: *** No rule to make target ../libhw32/virtio.o', needed by qemu.exe'. Stop.
make: *** [subdir-i386-softmmu] Error 2
Here is my ./configure summary
$ ./configure --prefix=/g/src/qemu/_git/install --enable-sdl Install prefix /g/src//qemu/_git/install BIOS directory /g/src//qemu/_git/install binary directory /g/src//qemu/_git/install config directory /g/src//qemu/_git/install Source path /g/src/qemu/_git/master C compiler gcc Host C compiler gcc CFLAGS -O2 -g QEMU_CFLAGS -m32 -D__USE_MINGW_ANSI_STDIO=1 -DWIN32_LEAN_AND_MEAN -DWINVER=0x501 -I. -I$(SRC_PATH) -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wendif-labels -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing -fstack-protector-all -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits LDFLAGS -Wl,--nxcompat -Wl,--no-seh -Wl,--dynamicbase -Wl,--warn-common -m32 -g make make install install host CPU i386 host big endian no target list i386-softmmu x86_64-softmmu arm-softmmu cris-softmmu m68k-softmmu microblaze-softmmu mips-softmmu mipsel-softmmu mips64-softmmu mips64el-softmmu ppc-softmmu ppcemb-softmmu ppc64-softmmu sh4-softmmu sh4eb-softmmu sparc-softmmu sparc64-softmmu tcg debug enabled no Mon debug enabled no gprof enabled no sparse enabled no strip binaries yes profiler no static build no -Werror enabled no SDL support yes curses support no curl support no check support no mingw32 support yes Audio drivers winwave Extra audio cards ac97 es1370 sb16 hda Block whitelist Mixer emulation no VNC TLS support no VNC SASL support no VNC JPEG support no VNC PNG support no VNC thread no xen support no brlapi support no bluez support no Documentation no NPTL support no GUEST_BASE yes PIE user targets no vde support no IO thread no Linux AIO support no ATTR/XATTR support no Install blobs yes KVM support no fdt support no preadv support no fdatasync no madvise no posix_madvise no uuid support no vhost-net support no Trace backend nop Trace output file trace-<pid> spice support no rbd support no xfsctl support no
Best regards,
Signature · 3 lines
Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org Member of ACCU, http://accu.org
Quoted 5 lines · Mateusz Loskot
Hi,
I'm building current Git master (SHA1:facf1a60) using latest MingW32 on Windows Vista and compilation fails with the following error:
Quoted 8 lines
g:/src/qemu/_git/master/disas.c: In function '
generic_print_address':
g:/src/qemu/_git/master/disas.c:65:5: warning: 'I' flag used with '%x'gnu_printfformat
g:/src/qemu/_git/master/disas.c:65:5: warning: format '%I64x' expects type 'unsigned int', but argument 3 has type 'bfd_vma' make[1]: *** No rule to make target../libhw32/virtio.o', needed byqemu.exe'. Stop.
make: *** [subdir-i386-softmmu] Error 2
Hi Mateusz,
Good to hear from you again. On a separate note, as a Windows user have you tried using the mingw-w64 compiler (http://mingw-w64.sourceforge.net/) to build qemu instead?
While the name suggests only a 64-bit compiler, the basic installation consists of both 32 and 64 bit compilers, plus the team there are currently very active and in my experience a lot more responsive when it comes to fixing any problems that may arise.
HTH,
Mark.
Signature · 7 lines
Mark Cave-Ayland - Senior Technical Architect PostgreSQL - PostGIS Sirius Corporation plc - control through freedom http://www.siriusit.co.uk t: +44 870 608 0063 Sirius Labs: http://www.siriusit.co.uk/labs
Quoted 16 lines · Mark Cave-Ayland
Quoted 5 lines · Mateusz Loskot
Hi,
I'm building current Git master (SHA1:facf1a60) using latest MingW32 on Windows Vista and compilation fails with the following error:
Quoted 8 lines
g:/src/qemu/_git/master/disas.c: In function '
generic_print_address':
g:/src/qemu/_git/master/disas.c:65:5: warning: 'I' flag used with '%x'gnu_printfformat
g:/src/qemu/_git/master/disas.c:65:5: warning: format '%I64x' expects type 'unsigned int', but argument 3 has type 'bfd_vma' make[1]: *** No rule to make target../libhw32/virtio.o', needed byqemu.exe'. Stop.
make: *** [subdir-i386-softmmu] Error 2
Quoted 3 lines
Hi Mateusz,
Good to hear from you again.
Hi Mark,
Hehe, nice to see you here.
The world is small and the virtual world too :-)
Quoted 3 lines
On a separate note, as a Windows user have
you tried using the mingw-w64 compiler
(http://mingw-w64.sourceforge.net/) to build qemu instead?
No, I haven't tried. Actually, the need to build QEMU made me using MinGW for the very first time. I thought the mingw-w64 is still experimental or not production ready.
Quoted 4 lines
While the name suggests only a 64-bit compiler, the basic installation consists of both 32 and 64 bit compilers, plus the team there are currently very active and in my experience a lot more responsive when it comes to fixing any problems that may arise.
You mean mingw-w64 team, right?
I think the problem I reported here is not really MinGW related, but to QEMU build configuration.
Best regards,
Signature · 3 lines
Mateusz Loskot, http://mateusz.loskot.net Charter Member of OSGeo, http://osgeo.org Member of ACCU, http://accu.org