[Bug 770146] New: kmssink won't compile

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Aug 19 13:36:19 UTC 2016


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

            Bug ID: 770146
           Summary: kmssink won't compile
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: gnome at zingmars.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 333626
  --> https://bugzilla.gnome.org/attachment.cgi?id=333626&action=edit
make log

When compiling gst-plugins-bad from master the make will fail because of
undeclared values errors. Relevant part of the log (full make log is attached)
-

make[3]: Entering directory
`/home/zingmars/git_projects/Gstreamer/git/gst-plugins-bad/sys/uvch264'
  CC       libgstdvb_la-gstdvb.lo
  CC       libgstuvch264_la-gstuvch264.lo
gstkmssink.c: In function 'get_drm_caps':
gstkmssink.c:292:30: error: 'DRM_CAP_ASYNC_PAGE_FLIP' undeclared (first use in
this function)
   ret = drmGetCap (self->fd, DRM_CAP_ASYNC_PAGE_FLIP, &has_async_page_flip);
                              ^
gstkmssink.c:292:30: note: each undeclared identifier is reported only once for
each function it appears in
gstkmssink.c: In function 'gst_kms_sink_start':
gstkmssink.c:396:7: error: implicit declaration of function 'drmSetClientCap'
[-Werror=implicit-function-declaration]
       drmSetClientCap (self->fd, DRM_CLIENT_CAP_UNIVERSAL_PLANES, 1))
       ^
gstkmssink.c:396:7: error: nested extern declaration of 'drmSetClientCap'
[-Werror=nested-externs]
gstkmssink.c:396:34: error: 'DRM_CLIENT_CAP_UNIVERSAL_PLANES' undeclared (first
use in this function)
       drmSetClientCap (self->fd, DRM_CLIENT_CAP_UNIVERSAL_PLANES, 1))
                                  ^
cc1: all warnings being treated as errors
make[3]: *** [libgstkmssink_la-gstkmssink.lo] Error 1
make[3]: Leaving directory
`/home/zingmars/git_projects/Gstreamer/git/gst-plugins-bad/sys/kms'
make[2]: *** [kms] Error 2


Additional info:
$ pkg-config --modversion libdrm libkms
2.4.39
1.0.0

-- 
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