[Bug 756136] New: gstreamer-1.6.0 doesn't compile on OS X 10.6: header file issue in gst-ptp-helper.c

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Oct 6 12:10:16 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=756136

            Bug ID: 756136
           Summary: gstreamer-1.6.0 doesn't compile on OS X 10.6: header
                    file issue in gst-ptp-helper.c
    Classification: Platform
           Product: GStreamer
           Version: 1.6.0
                OS: Mac OS
            Status: NEW
          Severity: major
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: ryan.hendrickson at alum.mit.edu
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

>From make:

    In file included from gst-ptp-helper.c:40:0:
    /usr/include/net/if.h:265:19: error: field 'ifru_addr' has incomplete type
       struct sockaddr ifru_addr;

Inserting

    #include <sys/socket.h>

before line 40 of lib/gst/helpers/gst-ptp-helper.c fixes it.

I'm compiling the source from
https://download.gnome.org/sources/gstreamer/1.6/gstreamer-1.6.0.tar.xz, on OS
X 10.6.8, using Homebrew and gcc 5.2.0. It seems somewhat likely that this is
an issue specific to older versions of OS X, since other Homebrew users don't
seem to have encountered this issue yet.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list