Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
gst-plugins-base
gst-plugins-base
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 626
    • Issues 626
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 102
    • Merge Requests 102
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • GStreamer
  • gst-plugins-basegst-plugins-base
  • Issues
  • #549

Closed
Open
Opened Jan 25, 2019 by realies@realies

gsteglimage: Build fails due to missing defines in the included drm_fourcc.h header files

Installing on an RPi 3 via https://gist.github.com/sphaero/02717b0b35501ad94863

Output: http://ix.io/1zeb

  CC       libgstgl_egl_la-gsteglimage.lo
gsteglimage.c: In function ‘_gst_egl_image_check_dmabuf_direct’:
gsteglimage.c:672:25: error: ‘DRM_FORMAT_MOD_LINEAR’ undeclared (first use in this function)
     if (modifiers[i] == DRM_FORMAT_MOD_LINEAR) {
                         ^~~~~~~~~~~~~~~~~~~~~
gsteglimage.c:672:25: note: each undeclared identifier is reported only once for each function it appears in
gsteglimage.c: In function ‘gst_egl_image_from_dmabuf_direct’:
gsteglimage.c:759:25: error: ‘EGL_DMA_BUF_PLANE0_MODIFIER_LO_EXT’ undeclared (first use in this function)
       attribs[atti++] = EGL_DMA_BUF_PLANE0_MODIFIER_LO_EXT;
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gsteglimage.c:760:25: error: ‘DRM_FORMAT_MOD_LINEAR’ undeclared (first use in this function)
       attribs[atti++] = DRM_FORMAT_MOD_LINEAR & 0xffffffff;
                         ^~~~~~~~~~~~~~~~~~~~~
gsteglimage.c:761:25: error: ‘EGL_DMA_BUF_PLANE0_MODIFIER_HI_EXT’ undeclared (first use in this function)
       attribs[atti++] = EGL_DMA_BUF_PLANE0_MODIFIER_HI_EXT;
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gsteglimage.c:775:25: error: ‘EGL_DMA_BUF_PLANE1_MODIFIER_LO_EXT’ undeclared (first use in this function)
       attribs[atti++] = EGL_DMA_BUF_PLANE1_MODIFIER_LO_EXT;
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gsteglimage.c:777:25: error: ‘EGL_DMA_BUF_PLANE1_MODIFIER_HI_EXT’ undeclared (first use in this function)
       attribs[atti++] = EGL_DMA_BUF_PLANE1_MODIFIER_HI_EXT;
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gsteglimage.c:791:25: error: ‘EGL_DMA_BUF_PLANE2_MODIFIER_LO_EXT’ undeclared (first use in this function)
       attribs[atti++] = EGL_DMA_BUF_PLANE2_MODIFIER_LO_EXT;
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gsteglimage.c:793:25: error: ‘EGL_DMA_BUF_PLANE2_MODIFIER_HI_EXT’ undeclared (first use in this function)
       attribs[atti++] = EGL_DMA_BUF_PLANE2_MODIFIER_HI_EXT;
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Edited Jan 25, 2019 by Nicolas Dufresne
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: gstreamer/gst-plugins-base#549