From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MNXp7-0001Uh-2C for qemu-devel@nongnu.org; Sun, 05 Jul 2009 15:56:29 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MNXp1-0001T2-ER for qemu-devel@nongnu.org; Sun, 05 Jul 2009 15:56:27 -0400 Received: from [199.232.76.173] (port=46866 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MNXp1-0001So-Ak for qemu-devel@nongnu.org; Sun, 05 Jul 2009 15:56:23 -0400 Received: from mail-ew0-f211.google.com ([209.85.219.211]:49838) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MNXp0-00019W-UP for qemu-devel@nongnu.org; Sun, 05 Jul 2009 15:56:23 -0400 Received: by ewy7 with SMTP id 7so3711805ewy.34 for ; Sun, 05 Jul 2009 12:56:21 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <5b31733c0906281525u2b248409me0ad0190b7e00cec@mail.gmail.com> Date: Sun, 5 Jul 2009 21:56:19 +0200 Message-ID: <5b31733c0907051256i6e12a1d7y97929b8a8aeee95b@mail.gmail.com> Subject: Re: [Qemu-devel] compile failure: undefined reference to `__mingw_vfprintf' From: Filip Navara Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Sebastian Herbszt Cc: qemu-devel On Sun, Jul 5, 2009 at 9:12 PM, Sebastian Herbszt wrote: > Filip Navara wrote: >> >> Sebastian Herbszt wrote: >>> >>> $ make >>> LINK i386-softmmu/qemu.exe >>> c:/Programme/MinGW/lib/libSDLmain.a(SDL_win32_main.o):(.text+0x1b): >>> undefined reference to `__mingw_vfprintf' >>> collect2: ld returned 1 exit status >>> make[1]: *** [qemu.exe] Error 1 >>> make: *** [subdir-i386-softmmu] Error 2 >>> >>> 537fe2d63f744e7c96ff45b60d09486a81958e06 is first bad commit >>> commit 537fe2d63f744e7c96ff45b60d09486a81958e06 >>> Author: Anthony Liguori >>> Date: Tue Jun 16 15:17:22 2009 -0500 >>> >>> Make sure to use SDL_CFLAGS everywhere we include SDL headers >>> >>> Signed-off-by: Anthony Liguori >>> >>> - Sebastian >>> >> >> Seems to be a bug in your MinGW installation, the function should be >> implemented in libmingwex.a. I'm using mingw runtime 3.15.2 and >> everything links just fine. > > After the upgrade to 3.15.2 it does indeed link fine. But it seems the > commit > broke output to console: > >> qemu-3f9a.exe -net nic,model=blub > > Warning: vlan 0 is not connected to host network > Could not open '\\.\kqemu' - QEMU acceleration layer not activated: 2 > qemu: Unsupported NIC model: blub > qemu: Supported NIC models: > ne2k_pci,i82551,i82557b,i82559er,rtl8139,e1000,pcnet,virtio > >> qemu-537f.exe -net nic,model=blub > > (no output here) > > - Sebastian I've already reported this earlier on the mailing list. Technically it's SDL "feature". http://www.emclient.com/temp/libSDLmain.zip - here you can get precompiled library with disabled console redirection. Best regards, Filip Navara