GNOME Bugzilla – Bug 760992
gstgl does not compile anymore on Pi2
Last modified: 2016-01-25 15:06:06 UTC
Using a fresh uninstalled setup ./configure CFLAGS="-I/opt/vc/include -I /opt/vc/include/interface/vcos/pthreads -I /opt/vc/include/interface/vmcs_host/linux/" LDFLAGS="-L/opt/vc/lib" --disable-gtk-doc --disable-opengl --enable-gles2 --enable-egl --disable-glx --disable-x11 --disable-wayland --enable-dispmanx --with-gles2-module-name=/opt/vc/lib/libGLESv2.so --with-egl-module-name=/opt/vc/lib/libEGL.so make -j4 make[5]: Entering directory '/home/alarm/gst/master/gst-plugins-bad/gst-libs/gst/gl/egl' CC libgstgl_egl_la-gsteglimagememory.lo gsteglimagememory.c: In function 'gst_egl_image_memory_from_dmabuf': gsteglimagememory.c:430:21: error: 'EGL_LINUX_DRM_FOURCC_EXT' undeclared (first use in this function) attribs[atti++] = EGL_LINUX_DRM_FOURCC_EXT; ^ 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) attribs[atti++] = EGL_DMA_BUF_PLANE0_FD_EXT; ^ gsteglimagememory.c:436:21: error: 'EGL_DMA_BUF_PLANE0_OFFSET_EXT' undeclared (first use in this function) attribs[atti++] = EGL_DMA_BUF_PLANE0_OFFSET_EXT; ^ gsteglimagememory.c:438:21: error: 'EGL_DMA_BUF_PLANE0_PITCH_EXT' undeclared (first use in this function) attribs[atti++] = EGL_DMA_BUF_PLANE0_PITCH_EXT; ^ gsteglimagememory.c:449:7: error: 'EGL_LINUX_DMA_BUF_EXT' undeclared (first use in this function) EGL_LINUX_DMA_BUF_EXT, NULL, attribs); ^ Makefile:908: recipe for target 'libgstgl_egl_la-gsteglimagememory.lo' failed
Thanks for taking the time to report this. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 760960 ***
(make sure you use raspbian jessy not the old wheezy-based raspbian, if that's the reason)
Should build on Jessy, we'll need to fix for wheezy, follow #760960 for progress, if you have a patch ready, feel free to post.
(In reply to Tim-Philipp Müller from comment #2) > (make sure you use raspbian jessy not the old wheezy-based raspbian, if > that's the reason) Using Arch, so that's pretty recent i guess (20160124-1 https://github.com/archlinuxarm/PKGBUILDs/tree/master/alarm/raspberrypi-firmware)