Comment 1 for bug 907330

Revision history for this message
Avik Sil (aviksil) wrote :

Another FTBFS was there after merging Rob's gstreamer support patches:

CPP xbmc/cores/VideoRenderers/LinuxRendererGLES.o
In file included from
/home/linaro/xbmc/git/xbmc/xbmc/guilib/GraphicContext.h:47:0,
                 from LinuxRendererGLES.h:36,
                 from LinuxRendererGLES.cpp:30:
/home/linaro/xbmc/git/xbmc/xbmc/utils/StdString.h:1605:14: note: the
mangling of ‘va_list’ has changed in GCC 4.4
LinuxRendererGLES.cpp: In member function ‘void
CLinuxRendererGLES::CalculateTextureSourceRects(int, int)’:
LinuxRendererGLES.cpp:371:31: error: ‘GL_TEXTURE_EXTERNAL_OES’ was not
declared in this scope
LinuxRendererGLES.cpp: In member function ‘bool
CLinuxRendererGLES::CreateEGLIMAGETexture(int)’:
LinuxRendererGLES.cpp:1479:21: error: ‘GL_TEXTURE_EXTERNAL_OES’ was not
declared in this scope
make[1]: *** [LinuxRendererGLES.o] Error 1
make: *** [xbmc/cores/VideoRenderers/VideoRenderer.a] Error 2

It seems the /usr/include/GLES2/gl2ext.h header from libgles2-sgx-omap4-dev package defines GL_TEXTURE_EXTERNAL_OES, but that is specific to sgx driver. To make the XBMC working on all platforms, this define should be available in generic mesa header.