After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 760960 - eglimage: Fail to build with older libdrm
eglimage: Fail to build with older libdrm
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 1.8.0
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 760992 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2016-01-21 18:43 UTC by Nicolas Dufresne (ndufresne)
Modified: 2016-05-15 12:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Nicolas Dufresne (ndufresne) 2016-01-21 18:43:37 UTC
We are most likely missing a version check on that library. The fact is that we don't strictly depend on the library but on only the drm_fourcc.h file. So two options, we copy over that file (a recent enough version for our use case) or we add a version check.

The error:
gsteglimagememory.c:430:21: error: 'EGL_LINUX_DRM_FOURCC_EXT' undeclared (first use in this function)
gsteglimagememory.c:430:21: note: each undeclared identifier is reported only once for each function it appears in
gsteglimagememory.c:433:21: error: 'EGL_DMA_BUF_PLANE0_FD_EXT' undeclared (first use in this function)
gsteglimagememory.c:436:21: error: 'EGL_DMA_BUF_PLANE0_OFFSET_EXT' undeclared (first use in this function)
gsteglimagememory.c:438:21: error: 'EGL_DMA_BUF_PLANE0_PITCH_EXT' undeclared (first use in this function)
gsteglimagememory.c:449:7: error: 'EGL_LINUX_DMA_BUF_EXT' undeclared (first use in this function)
Comment 1 Sebastian Dröge (slomo) 2016-01-22 16:16:03 UTC
*** Bug 760992 has been marked as a duplicate of this bug. ***
Comment 2 Matthew Waters (ystreet00) 2016-05-15 12:20:37 UTC
commit 37ff267ff5543c52c3eb88019c0ee5f3b1516cfc
Author: Matthew Waters <matthew@centricular.com>
Date:   Wed Feb 17 20:13:21 2016 +1100

    eglimagememory: add compatibility definitions for EGL dmabuf
    
    e.g. the RPi doesn't have them defined