[Bug 721869] New: dvbsrc fails to build for old enough dvb headers

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jan 9 07:19:14 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=721869
  GStreamer | gst-plugins-bad | git

           Summary: dvbsrc fails to build for old enough dvb headers
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: vincent.penquerch at collabora.co.uk
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Latest git fails in sys/dvbsrc, see errors at the end.
These SYS_* defines seem to be from /usr/include/linux/dvb/frontend.h, but I do
not have all of them. My version's 3.2.0-58.88 from Ubuntu, presumably before
the addition of these. I'm unsure if it'd be best to check for those missing
ones in configure, or just disable dvbsrc for such old versions. I don't have a
dvb hardware to test any changes.


  CC     libgstdvb_la-gstdvbsrc.lo
gstdvbsrc.c: In function 'gst_dvbsrc_delsys_get_type':
gstdvbsrc.c:286:6: error: 'SYS_DVBC_ANNEX_A' undeclared (first use in this
function)
gstdvbsrc.c:286:6: note: each undeclared identifier is reported only once for
each function it appears in
gstdvbsrc.c:298:6: error: 'SYS_DTMB' undeclared (first use in this function)
gstdvbsrc.c:303:6: error: 'SYS_DVBC_ANNEX_C' undeclared (first use in this
function)
gstdvbsrc.c: In function 'gst_dvbsrc_class_init':
gstdvbsrc.c:558:22: error: 'NO_STREAM_ID_FILTER' undeclared (first use in this
function)
gstdvbsrc.c:558:11: error: passing argument 6 of 'g_param_spec_int' makes
integer from pointer without a cast [-Werror]
/usr/include/glib-2.0/gobject/gparamspecs.h:999:13: note: expected 'gint' but
argument is of type 'struct GEnumValue *'
gstdvbsrc.c: In function 'gst_dvbsrc_init':
gstdvbsrc.c:607:23: error: 'NO_STREAM_ID_FILTER' undeclared (first use in this
function)
gstdvbsrc.c:607:21: error: assignment makes integer from pointer without a cast
[-Werror]
gstdvbsrc.c: In function 'gst_dvbsrc_open_frontend':
gstdvbsrc.c:930:21: error: 'DTV_ENUM_DELSYS' undeclared (first use in this
function)
gstdvbsrc.c:930:19: error: assignment makes integer from pointer without a cast
[-Werror]
gstdvbsrc.c:960:46: error: 'SYS_DVBC_ANNEX_A' undeclared (first use in this
function)
gstdvbsrc.c:960:3: error: passing argument 2 of 'gst_dvbsrc_check_delsys' makes
integer from pointer without a cast [-Werror]
gstdvbsrc.c:870:1: note: expected 'guchar' but argument is of type 'struct
GEnumValue *'
gstdvbsrc.c:1006:46: error: 'SYS_DTMB' undeclared (first use in this function)
gstdvbsrc.c:1006:3: error: passing argument 2 of 'gst_dvbsrc_check_delsys'
makes integer from pointer without a cast [-Werror]
gstdvbsrc.c:870:1: note: expected 'guchar' but argument is of type 'struct
GEnumValue *'
gstdvbsrc.c:1023:46: error: 'SYS_DVBC_ANNEX_C' undeclared (first use in this
function)
gstdvbsrc.c:1023:3: error: passing argument 2 of 'gst_dvbsrc_check_delsys'
makes integer from pointer without a cast [-Werror]
gstdvbsrc.c:870:1: note: expected 'guchar' but argument is of type 'struct
GEnumValue *'
gstdvbsrc.c: In function 'gst_dvbsrc_tune':
gstdvbsrc.c:1502:21: error: 'DTV_ENUM_DELSYS' undeclared (first use in this
function)
gstdvbsrc.c:1502:19: error: assignment makes integer from pointer without a
cast [-Werror]
gstdvbsrc.c:1575:35: error: 'DTV_STREAM_ID' undeclared (first use in this
function)
gstdvbsrc.c:1575:11: error: passing argument 3 of 'set_prop' makes integer from
pointer without a cast [-Werror]
gstdvbsrc.c:1457:1: note: expected 'guint32' but argument is of type 'struct
GEnumValue *'
gstdvbsrc.c:1610:11: error: passing argument 3 of 'set_prop' makes integer from
pointer without a cast [-Werror]
gstdvbsrc.c:1457:1: note: expected 'guint32' but argument is of type 'struct
GEnumValue *'
gstdvbsrc.c:1615:12: error: 'SYS_DVBC_ANNEX_A' undeclared (first use in this
function)
gstdvbsrc.c:1617:12: error: 'SYS_DVBC_ANNEX_C' undeclared (first use in this
function)
cc1: all warnings being treated as errors
make: *** [libgstdvb_la-gstdvbsrc.lo] Error 1

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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