Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lsd@lsd-K56CB:~/r1q2-archive/binaries$ make
- make -C r1q2ded
- make[1]: Entering directory '/home/lsd/r1q2-archive/binaries/r1q2ded'
- make[1]: Nothing to be done for 'default'.
- make[1]: Leaving directory '/home/lsd/r1q2-archive/binaries/r1q2ded'
- make -C client
- make[1]: Entering directory '/home/lsd/r1q2-archive/binaries/client'
- make[1]: Nothing to be done for 'default'.
- make[1]: Leaving directory '/home/lsd/r1q2-archive/binaries/client'
- make -C game
- make[1]: Entering directory '/home/lsd/r1q2-archive/binaries/game'
- make[1]: Nothing to be done for 'default'.
- make[1]: Leaving directory '/home/lsd/r1q2-archive/binaries/game'
- make -C ref_gl
- make[1]: Entering directory '/home/lsd/r1q2-archive/binaries/ref_gl'
- cc -fPIC -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DNDEBUG -DLINUX -O2 -fno-strict-aliasing -Wall -ffloat-store -pipe -g -MF .depends/gl_image.d -MMD -c -o gl_image.o ../../ref_gl/gl_image.c
- In file included from ../../ref_gl/qgl.h:32,
- from ../../ref_gl/gl_local.h:39,
- from ../../ref_gl/gl_image.c:21:
- ../../ref_gl/glext.h:57: warning: "GL_GLEXT_VERSION" redefined
- #define GL_GLEXT_VERSION 24
- In file included from /usr/include/GL/gl.h:2055,
- from ../../ref_gl/gl_local.h:27,
- from ../../ref_gl/gl_image.c:21:
- /usr/include/GL/glext.h:54: note: this is the location of the previous definition
- #define GL_GLEXT_VERSION 20180725
- ../../ref_gl/gl_image.c: In function 'LoadPNG':
- ../../ref_gl/gl_image.c:724:14: error: dereferencing pointer to incomplete type 'png_info' {aka 'struct png_info_def'}
- if (info_ptr->height > MAX_TEXTURE_DIMENSIONS)
- ^~
- ../../ref_gl/gl_image.c:742:3: warning: implicit declaration of function 'png_set_gray_1_2_4_to_8'; did you mean 'png_set_expand_gray_1_2_4_to_8'? [-Wimplicit-function-declaration]
- png_set_gray_1_2_4_to_8(png_ptr);
- ^~~~~~~~~~~~~~~~~~~~~~~
- png_set_expand_gray_1_2_4_to_8
- ../../ref_gl/gl_image.c: At top level:
- ../../ref_gl/gl_image.c:1523:6: error: conflicting types for 'jpeg_mem_src'
- void jpeg_mem_src (j_decompress_ptr cinfo, byte *mem, int len)
- ^~~~~~~~~~~~
- In file included from ../../ref_gl/gl_image.c:23:
- /usr/include/jpeglib.h:923:14: note: previous declaration of 'jpeg_mem_src' was here
- EXTERN(void) jpeg_mem_src(j_decompress_ptr cinfo,
- ^~~~~~~~~~~~
- ../../ref_gl/gl_image.c: In function 'GL_FindImage':
- ../../ref_gl/gl_image.c:3085:35: warning: multi-character character constant [-Wmultichar]
- *(int *)(png_name + (len-3)) = '\0agt';
- ^~~~~~~
- ../../ref_gl/gl_image.c:3096:36: warning: multi-character character constant [-Wmultichar]
- *(int *)(png_name + (len-3)) = '\0gnp';
- ^~~~~~~
- ../../ref_gl/gl_image.c:3105:37: warning: multi-character character constant [-Wmultichar]
- *(int *)(png_name + (len-3)) = '\0gpj';
- ^~~~~~~
- ../../ref_gl/gl_image.c: In function 'GL_ImageList_f':
- ../../ref_gl/gl_image.c:3244:48: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat=]
- ri.Con_Printf (PRINT_ALL, " %3i x %3i: %s (%d bytes)\n",
- ~^
- %ld
- image->upload_width, image->upload_height, image->name, image->upload_width * image->upload_height * sizeof(int));
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ../../ref_gl/gl_image.c: In function 'GL_FreeUnusedImages':
- ../../ref_gl/gl_image.c:3338:25: warning: passing argument 2 of 'qglDeleteTextures' from incompatible pointer type [-Wincompatible-pointer-types]
- qglDeleteTextures (1, &image->texnum);
- ^~~~~~~~~~~~~~
- ../../ref_gl/gl_image.c:3338:25: note: expected 'const GLuint *' {aka 'const unsigned int *'} but argument is of type 'long unsigned int *'
- ../../ref_gl/gl_image.c: In function 'GL_ShutdownImages':
- ../../ref_gl/gl_image.c:3492:25: warning: passing argument 2 of 'qglDeleteTextures' from incompatible pointer type [-Wincompatible-pointer-types]
- qglDeleteTextures (1, &image->texnum);
- ^~~~~~~~~~~~~~
- ../../ref_gl/gl_image.c:3492:25: note: expected 'const GLuint *' {aka 'const unsigned int *'} but argument is of type 'long unsigned int *'
- make[1]: *** [<builtin>: gl_image.o] Error 1
- make[1]: Leaving directory '/home/lsd/r1q2-archive/binaries/ref_gl'
- make: *** [Makefile:17: ref_gl] Error 2
- lsd@lsd-K56CB:~/r1q2-archive/binaries$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement