[gstreamer-bugs] [Bug 392112] [rfbsrc] doesn't build with MinGW

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Jan 5 06:07:40 PST 2007


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=392112

  GStreamer | gst-plugins-bad | Ver: HEAD CVS


Tim-Philipp Müller changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #79234|none                        |needs-work
               Flag|                            |
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
            Summary|[patch] fix for compilation |[rfbsrc] doesn't build with
                   |of rfbdecoder with MinGW    |MinGW
   Target Milestone|HEAD                        |0.10.5




------- Comment #3 from Tim-Philipp Müller  2007-01-05 14:06 UTC -------
> See below for a patch that make rfbdecoder.c compile with MinGW

It's good that it compiles, but have you actually tested whether it works? :)

For one, there seems to be WSAStartup() missing - is that not required for
WSAStringToAddress() and connect() etc.?



> For the link, -lwsock32 -lws2_32 are needed. I don't really know what is the
> best way to to that in configure.ac

The configure.ac in gst-plugins-good does this for example.


For now I've only disabled compilation of rfbsrc if it can't find sys/socket.h.
Hope that unbreaks compilation of gst-plugins-bad on MingW:


 2007-01-05  Tim-Philipp Müller  <tim at centricular dot net>

       * configure.ac:
         Don't compile rfbsource if we don't have sys/socket.h.
         Should fix compilation on MingW.



If you have a patch to port rfbdecoder.c to winsock2 that you've tested and
that works, please open a new bug report for that (or re-open this one).


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list