* [Qemu-devel] compile failure: undefined reference to `__mingw_vfprintf' @ 2009-06-28 21:24 Sebastian Herbszt 2009-06-28 22:25 ` Filip Navara 0 siblings, 1 reply; 5+ messages in thread From: Sebastian Herbszt @ 2009-06-28 21:24 UTC (permalink / raw) To: qemu-devel $ 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 <aliguori@us.ibm.com> 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 <aliguori@us.ibm.com> - Sebastian ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] compile failure: undefined reference to `__mingw_vfprintf' 2009-06-28 21:24 [Qemu-devel] compile failure: undefined reference to `__mingw_vfprintf' Sebastian Herbszt @ 2009-06-28 22:25 ` Filip Navara 2009-07-04 21:21 ` Sebastian Herbszt 2009-07-05 19:12 ` Sebastian Herbszt 0 siblings, 2 replies; 5+ messages in thread From: Filip Navara @ 2009-06-28 22:25 UTC (permalink / raw) To: Sebastian Herbszt; +Cc: qemu-devel On Sun, Jun 28, 2009 at 11:24 PM, Sebastian Herbszt<herbszt@gmx.de> 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 <aliguori@us.ibm.com> > 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 <aliguori@us.ibm.com> > > - 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. Best regards, Filip Navara ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] compile failure: undefined reference to `__mingw_vfprintf' 2009-06-28 22:25 ` Filip Navara @ 2009-07-04 21:21 ` Sebastian Herbszt 2009-07-05 19:12 ` Sebastian Herbszt 1 sibling, 0 replies; 5+ messages in thread From: Sebastian Herbszt @ 2009-07-04 21:21 UTC (permalink / raw) To: Filip Navara; +Cc: qemu-devel 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 <aliguori@us.ibm.com> >> 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 <aliguori@us.ibm.com> >> >> - 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. Looks like my older MinGW doesn't implement it - will upgrade. Thanks. - Sebastian ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] compile failure: undefined reference to `__mingw_vfprintf' 2009-06-28 22:25 ` Filip Navara 2009-07-04 21:21 ` Sebastian Herbszt @ 2009-07-05 19:12 ` Sebastian Herbszt 2009-07-05 19:56 ` Filip Navara 1 sibling, 1 reply; 5+ messages in thread From: Sebastian Herbszt @ 2009-07-05 19:12 UTC (permalink / raw) To: Filip Navara; +Cc: qemu-devel 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 <aliguori@us.ibm.com> >> 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 <aliguori@us.ibm.com> >> >> - 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Qemu-devel] compile failure: undefined reference to `__mingw_vfprintf' 2009-07-05 19:12 ` Sebastian Herbszt @ 2009-07-05 19:56 ` Filip Navara 0 siblings, 0 replies; 5+ messages in thread From: Filip Navara @ 2009-07-05 19:56 UTC (permalink / raw) To: Sebastian Herbszt; +Cc: qemu-devel On Sun, Jul 5, 2009 at 9:12 PM, Sebastian Herbszt<herbszt@gmx.de> 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 <aliguori@us.ibm.com> >>> 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 <aliguori@us.ibm.com> >>> >>> - 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-07-05 19:56 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-06-28 21:24 [Qemu-devel] compile failure: undefined reference to `__mingw_vfprintf' Sebastian Herbszt 2009-06-28 22:25 ` Filip Navara 2009-07-04 21:21 ` Sebastian Herbszt 2009-07-05 19:12 ` Sebastian Herbszt 2009-07-05 19:56 ` Filip Navara
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).