GNOME Bugzilla – Bug 760960
eglimage: Fail to build with older libdrm
Last modified: 2016-05-15 12:20: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)
*** Bug 760992 has been marked as a duplicate of this bug. ***
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