tce-load -i Xorg-7.7-3d-dev xorg-server-dev cd glamor-egl-0.6.0 CC="gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe" CXX="g++ -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe" ./configure --prefix=/usr/local --sysconfdir=/etc --localstatedir=/var --enable-glx-tls find . -name Makefile -type f -exec sed -i 's/-O2/ /g' {} \; make sudo make install CC libglamoregl_la-glamor_egl.lo glamor_egl.c: In function 'glamor_egl_dri3_pixmap_from_fd': glamor_egl.c:513:3: error: 'EGL_LINUX_DRM_FOURCC_EXT' undeclared (first use in this function) glamor_egl.c:513:3: note: each undeclared identifier is reported only once for each function it appears in glamor_egl.c:514:3: error: 'EGL_DMA_BUF_PLANE0_FD_EXT' undeclared (first use in this function) glamor_egl.c:515:3: error: 'EGL_DMA_BUF_PLANE0_OFFSET_EXT' undeclared (first use in this function) glamor_egl.c:516:3: error: 'EGL_DMA_BUF_PLANE0_PITCH_EXT' undeclared (first use in this function) glamor_egl.c:534:8: error: 'EGL_LINUX_DMA_BUF_EXT' undeclared (first use in this function) glamor_egl.c:535:8: warning: passing argument 3 of 'glamor_egl->egl_create_image_khr' makes integer from pointer without a cast [enabled by default] glamor_egl.c:535:8: note: expected 'EGLenum' but argument is of type 'EGLint *' make[2]: *** [libglamoregl_la-glamor_egl.lo] Error 1