After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 541522 - cross mingw32 gcc: festival plugin compilation fix
cross mingw32 gcc: festival plugin compilation fix
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 0.10.8
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-07-04 09:30 UTC by Damien Lespiau
Modified: 2008-07-04 16:05 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
when compiling for windows: include winsock headers and link with -lws2_32 (2.39 KB, patch)
2008-07-04 09:31 UTC, Damien Lespiau
committed Details | Review

Description Damien Lespiau 2008-07-04 09:30:15 UTC
The festival plugin does not compile with mingw32 and is not disabled (as the librfb plugin), some simple fixes are needed: 
        * include the right headers
        * link with -lws2_32
so here they are.

The resulting DLL is not tested though.
Comment 1 Damien Lespiau 2008-07-04 09:31:51 UTC
Created attachment 113965 [details] [review]
when compiling for windows: include winsock headers and link with -lws2_32
Comment 2 Sebastian Dröge (slomo) 2008-07-04 16:05:54 UTC
2008-07-04  Sebastian Dröge  <sebastian.droege@collabora.co.uk>

        Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>

        * configure.ac:
        * gst/festival/Makefile.am:
        * gst/festival/gstfestival.c:
        Fix built of the festival plugin with mingw32 by linking to ws2_32.dll
        and including winsock headers. Fixes bug #541522.