[gstreamer-bugs] [Bug 575937] New: udp/gstudpnetutils.c: ip_mreqn unavailable on Solaris (and others)

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Mar 19 04:57:08 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=575937

  GStreamer | gst-plugins-good | Ver: git
           Summary: udp/gstudpnetutils.c: ip_mreqn unavailable on Solaris
                    (and others)
           Product: GStreamer
           Version: git
          Platform: Other
        OS/Version: opensolaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: zanchey at ucc.gu.uwa.edu.au
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


gstudpnetutils.c uses the ip_mreqn struct unless building on Windows, where it
uses the ip_mreq struct instead; on Solaris, this struct does not exist.

I have a patch to fix this issue on Solaris, but either checking for Linux in
the 
'#if' or a configure check might be better as this struct is not available on
(Free)BSD either.

Build fails with:
Making all in udp
  CC    gstudpnetutils.o
gstudpnetutils.c: In function `gst_udp_join_group':
gstudpnetutils.c:178: error: storage size of 'mreq4' isn't known
gstudpnetutils.c:178: warning: unused variable `mreq4'
make[4]: *** [libgstudp_la-gstudpnetutils.lo] Error 1

uname: SunOS manduba 5.11 snv_101 sun4u sparc SUNW,Ultra-Enterprise Solaris


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=575937.




More information about the Gstreamer-bugs mailing list