On 9.1.2020 18.18, Timo Aaltonen wrote: > Source: libsdl2 > Severity: normal > > Hi, > > libsdl2 fails to build on armhf: > > CC build/SDL_video.lo > In file included from include/SDL_opengles.h:33, > from > /home/tjaalton/libsdl2-2.0.10+dfsg1/src/video/SDL_video.c:41: > /usr/include/GLES/gl.h:63:25: error: conflicting types for 'GLsizeiptr' > 63 | typedef khronos_ssize_t GLsizeiptr; > | ^~~~~~~~~~ > In file included from include/SDL_opengl.h:2105, > from > /home/tjaalton/libsdl2-2.0.10+dfsg1/src/video/SDL_video.c:37: > include/SDL_opengl_glext.h:472:19: note: previous declaration of 'GLsizeiptr' > was here > 472 | typedef ptrdiff_t GLsizeiptr; > | ^~~~~~~~~~ > In file included from include/SDL_opengles.h:33, > from > /home/tjaalton/libsdl2-2.0.10+dfsg1/src/video/SDL_video.c:41: > /usr/include/GLES/gl.h:64:26: error: conflicting types for 'GLintptr' > 64 | typedef khronos_intptr_t GLintptr; > | ^~~~~~~~ > In file included from include/SDL_opengl.h:2105, > from > /home/tjaalton/libsdl2-2.0.10+dfsg1/src/video/SDL_video.c:37: > include/SDL_opengl_glext.h:473:19: note: previous declaration of 'GLintptr' > was here > 473 | typedef ptrdiff_t GLintptr; > > this is because the mesa/libglvnd header files got updated and libsdl needs > to sync it's own copy.
nope, that's not why.. GLES1 headers are shipped now, and it tries to build with GLES1 support enabled and then this happens. So add --disable-video-opengles1 to configure flags to get it built again. -- t