Hi, I try to build libsdl2-32 and hit following problem (libsdl2 is fine). Wawrzek CC build/SDL_video.lo In file included from include/SDL_opengles.h:33, from /home/build/libsdl2-32/src/SDL2-2.0.10/src/video/SDL_video.c:41: /usr/include/GLES/gl.h:63:25: error: conflicting types for 'GLsizeiptr' typedef khronos_ssize_t GLsizeiptr; ^~~~~~~~~~ In file included from include/SDL_opengl.h:2105, from /home/build/libsdl2-32/src/SDL2-2.0.10/src/video/SDL_video.c:37: include/SDL_opengl_glext.h:472:19: note: previous declaration of 'GLsizeiptr' was here typedef ptrdiff_t GLsizeiptr; ^~~~~~~~~~ In file included from include/SDL_opengles.h:33, from /home/build/libsdl2-32/src/SDL2-2.0.10/src/video/SDL_video.c:41: /usr/include/GLES/gl.h:64:26: error: conflicting types for 'GLintptr' typedef khronos_intptr_t GLintptr; ^~~~~~~~ In file included from include/SDL_opengl.h:2105, from /home/build/libsdl2-32/src/SDL2-2.0.10/src/video/SDL_video.c:37: include/SDL_opengl_glext.h:473:19: note: previous declaration of 'GLintptr' was here typedef ptrdiff_t GLintptr; ^~~~~~~~ make: *** [Makefile:551: build/SDL_video.lo] Error 1 =======> ERROR: Building '/usr/ports/compat-32/libsdl2-32/libsdl2-32#2.0.10-1.pkg.tar.gz' failed. prt-get: error while install -- Dr Wawrzyniec Niewodniczański or Wawrzek for short PhD in Quantum Chemistry & MSc in Molecular Engineering WWW: http://wawrzek.name E-MAIL: jobs@wawrzek.name Linux User #177124
Hi, Yesterday sent to compat-32@crux.nu a patch which fix the build, I attach it to you if you want to try it. Sent with ProtonMail Secure Email. ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Sunday, November 3, 2019 12:49 AM, Wawrzek Niewodniczanski <main@wawrzek.name> wrote:
Hi, I try to build libsdl2-32 and hit following problem (libsdl2 is fine).
Wawrzek
CC build/SDL_video.lo In file included from include/SDL_opengles.h:33, from /home/build/libsdl2-32/src/SDL2-2.0.10/src/video/SDL_video.c:41: /usr/include/GLES/gl.h:63:25: error: conflicting types for 'GLsizeiptr' typedef khronos_ssize_t GLsizeiptr; ^~~~~~~~~~ In file included from include/SDL_opengl.h:2105, from /home/build/libsdl2-32/src/SDL2-2.0.10/src/video/SDL_video.c:37: include/SDL_opengl_glext.h:472:19: note: previous declaration of 'GLsizeiptr' was here typedef ptrdiff_t GLsizeiptr; ^~~~~~~~~~ In file included from include/SDL_opengles.h:33, from /home/build/libsdl2-32/src/SDL2-2.0.10/src/video/SDL_video.c:41: /usr/include/GLES/gl.h:64:26: error: conflicting types for 'GLintptr' typedef khronos_intptr_t GLintptr; ^~~~~~~~ In file included from include/SDL_opengl.h:2105, from /home/build/libsdl2-32/src/SDL2-2.0.10/src/video/SDL_video.c:37: include/SDL_opengl_glext.h:473:19: note: previous declaration of 'GLintptr' was here typedef ptrdiff_t GLintptr; ^~~~~~~~ make: *** [Makefile:551: build/SDL_video.lo] Error 1 =======> ERROR: Building
'/usr/ports/compat-32/libsdl2-32/libsdl2-32#2.0.10-1.pkg.tar.gz' failed. prt-get: error while install
-------------------------------------------------------------------------------------------------------
Dr Wawrzyniec Niewodniczański or Wawrzek for short PhD in Quantum Chemistry & MSc in Molecular Engineering WWW: http://wawrzek.name E-MAIL: jobs@wawrzek.name Linux User #177124
CRUX mailing list CRUX@lists.crux.nu https://lists.crux.nu/mailman/listinfo/crux
Hi again, The patch has already merged into the port and it is work now. Sent with ProtonMail Secure Email. ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Sunday, November 3, 2019 8:33 AM, Dark_Bakura <dark_bakura@protonmail.com> wrote:
Hi,
Yesterday sent to compat-32@crux.nu a patch which fix the build, I attach it to you if you want to try it.
Sent with ProtonMail Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Sunday, November 3, 2019 12:49 AM, Wawrzek Niewodniczanski main@wawrzek.name wrote:
Hi, I try to build libsdl2-32 and hit following problem (libsdl2 is fine). Wawrzek CC build/SDL_video.lo In file included from include/SDL_opengles.h:33, from /home/build/libsdl2-32/src/SDL2-2.0.10/src/video/SDL_video.c:41: /usr/include/GLES/gl.h:63:25: error: conflicting types for 'GLsizeiptr' typedef khronos_ssize_t GLsizeiptr; ^~~~~~~~~~ In file included from include/SDL_opengl.h:2105, from /home/build/libsdl2-32/src/SDL2-2.0.10/src/video/SDL_video.c:37: include/SDL_opengl_glext.h:472:19: note: previous declaration of 'GLsizeiptr' was here typedef ptrdiff_t GLsizeiptr; ^~~~~~~~~~ In file included from include/SDL_opengles.h:33, from /home/build/libsdl2-32/src/SDL2-2.0.10/src/video/SDL_video.c:41: /usr/include/GLES/gl.h:64:26: error: conflicting types for 'GLintptr' typedef khronos_intptr_t GLintptr; ^~~~~~~~ In file included from include/SDL_opengl.h:2105, from /home/build/libsdl2-32/src/SDL2-2.0.10/src/video/SDL_video.c:37: include/SDL_opengl_glext.h:473:19: note: previous declaration of 'GLintptr' was here typedef ptrdiff_t GLintptr; ^~~~~~~~ make: *** [Makefile:551: build/SDL_video.lo] Error 1 =======> ERROR: Building '/usr/ports/compat-32/libsdl2-32/libsdl2-32#2.0.10-1.pkg.tar.gz' failed. prt-get: error while install
Dr Wawrzyniec Niewodniczański or Wawrzek for short PhD in Quantum Chemistry & MSc in Molecular Engineering WWW: http://wawrzek.name E-MAIL: jobs@wawrzek.name Linux User #177124 CRUX mailing list CRUX@lists.crux.nu https://lists.crux.nu/mailman/listinfo/crux
Great, thanks! On Sun, 3 Nov 2019 at 07:53, Dark_Bakura <dark_bakura@protonmail.com> wrote:
Hi again,
The patch has already merged into the port and it is work now.
Sent with ProtonMail Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Sunday, November 3, 2019 8:33 AM, Dark_Bakura <dark_bakura@protonmail.com> wrote:
Hi,
Yesterday sent to compat-32@crux.nu a patch which fix the build, I attach it to you if you want to try it.
Sent with ProtonMail Secure Email.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ On Sunday, November 3, 2019 12:49 AM, Wawrzek Niewodniczanski main@wawrzek.name wrote:
Hi, I try to build libsdl2-32 and hit following problem (libsdl2 is fine). Wawrzek CC build/SDL_video.lo In file included from include/SDL_opengles.h:33, from /home/build/libsdl2-32/src/SDL2-2.0.10/src/video/SDL_video.c:41: /usr/include/GLES/gl.h:63:25: error: conflicting types for 'GLsizeiptr' typedef khronos_ssize_t GLsizeiptr; ^~~~~~~~~~ In file included from include/SDL_opengl.h:2105, from /home/build/libsdl2-32/src/SDL2-2.0.10/src/video/SDL_video.c:37: include/SDL_opengl_glext.h:472:19: note: previous declaration of 'GLsizeiptr' was here typedef ptrdiff_t GLsizeiptr; ^~~~~~~~~~ In file included from include/SDL_opengles.h:33, from /home/build/libsdl2-32/src/SDL2-2.0.10/src/video/SDL_video.c:41: /usr/include/GLES/gl.h:64:26: error: conflicting types for 'GLintptr' typedef khronos_intptr_t GLintptr; ^~~~~~~~ In file included from include/SDL_opengl.h:2105, from /home/build/libsdl2-32/src/SDL2-2.0.10/src/video/SDL_video.c:37: include/SDL_opengl_glext.h:473:19: note: previous declaration of 'GLintptr' was here typedef ptrdiff_t GLintptr; ^~~~~~~~ make: *** [Makefile:551: build/SDL_video.lo] Error 1 =======> ERROR: Building '/usr/ports/compat-32/libsdl2-32/libsdl2-32#2.0.10-1.pkg.tar.gz' failed. prt-get: error while install
Dr Wawrzyniec Niewodniczański or Wawrzek for short PhD in Quantum Chemistry & MSc in Molecular Engineering WWW: http://wawrzek.name E-MAIL: jobs@wawrzek.name Linux User #177124 CRUX mailing list CRUX@lists.crux.nu https://lists.crux.nu/mailman/listinfo/crux
-- Dr Wawrzyniec Niewodniczański or Wawrzek for short PhD in Quantum Chemistry & MSc in Molecular Engineering WWW: http://wawrzek.name E-MAIL: jobs@wawrzek.name Linux User #177124
participants (2)
-
Dark_Bakura
-
Wawrzek Niewodniczanski