Advertisement
Guest User

Untitled

a guest
Aug 2nd, 2019
511
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.54 KB | None | 0 0
  1. lsd@lsd-K56CB:~/r1q2-archive/binaries$ make
  2. make -C r1q2ded
  3. make[1]: Entering directory '/home/lsd/r1q2-archive/binaries/r1q2ded'
  4. make[1]: Nothing to be done for 'default'.
  5. make[1]: Leaving directory '/home/lsd/r1q2-archive/binaries/r1q2ded'
  6. make -C client
  7. make[1]: Entering directory '/home/lsd/r1q2-archive/binaries/client'
  8. make[1]: Nothing to be done for 'default'.
  9. make[1]: Leaving directory '/home/lsd/r1q2-archive/binaries/client'
  10. make -C game
  11. make[1]: Entering directory '/home/lsd/r1q2-archive/binaries/game'
  12. make[1]: Nothing to be done for 'default'.
  13. make[1]: Leaving directory '/home/lsd/r1q2-archive/binaries/game'
  14. make -C ref_gl
  15. make[1]: Entering directory '/home/lsd/r1q2-archive/binaries/ref_gl'
  16. 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
  17. In file included from ../../ref_gl/qgl.h:32,
  18. from ../../ref_gl/gl_local.h:39,
  19. from ../../ref_gl/gl_image.c:21:
  20. ../../ref_gl/glext.h:57: warning: "GL_GLEXT_VERSION" redefined
  21. #define GL_GLEXT_VERSION 24
  22.  
  23. In file included from /usr/include/GL/gl.h:2055,
  24. from ../../ref_gl/gl_local.h:27,
  25. from ../../ref_gl/gl_image.c:21:
  26. /usr/include/GL/glext.h:54: note: this is the location of the previous definition
  27. #define GL_GLEXT_VERSION 20180725
  28.  
  29. ../../ref_gl/gl_image.c: In function 'LoadPNG':
  30. ../../ref_gl/gl_image.c:724:14: error: dereferencing pointer to incomplete type 'png_info' {aka 'struct png_info_def'}
  31. if (info_ptr->height > MAX_TEXTURE_DIMENSIONS)
  32. ^~
  33. ../../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]
  34. png_set_gray_1_2_4_to_8(png_ptr);
  35. ^~~~~~~~~~~~~~~~~~~~~~~
  36. png_set_expand_gray_1_2_4_to_8
  37. ../../ref_gl/gl_image.c: At top level:
  38. ../../ref_gl/gl_image.c:1523:6: error: conflicting types for 'jpeg_mem_src'
  39. void jpeg_mem_src (j_decompress_ptr cinfo, byte *mem, int len)
  40. ^~~~~~~~~~~~
  41. In file included from ../../ref_gl/gl_image.c:23:
  42. /usr/include/jpeglib.h:923:14: note: previous declaration of 'jpeg_mem_src' was here
  43. EXTERN(void) jpeg_mem_src(j_decompress_ptr cinfo,
  44. ^~~~~~~~~~~~
  45. ../../ref_gl/gl_image.c: In function 'GL_FindImage':
  46. ../../ref_gl/gl_image.c:3085:35: warning: multi-character character constant [-Wmultichar]
  47. *(int *)(png_name + (len-3)) = '\0agt';
  48. ^~~~~~~
  49. ../../ref_gl/gl_image.c:3096:36: warning: multi-character character constant [-Wmultichar]
  50. *(int *)(png_name + (len-3)) = '\0gnp';
  51. ^~~~~~~
  52. ../../ref_gl/gl_image.c:3105:37: warning: multi-character character constant [-Wmultichar]
  53. *(int *)(png_name + (len-3)) = '\0gpj';
  54. ^~~~~~~
  55. ../../ref_gl/gl_image.c: In function 'GL_ImageList_f':
  56. ../../ref_gl/gl_image.c:3244:48: warning: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' [-Wformat=]
  57. ri.Con_Printf (PRINT_ALL, " %3i x %3i: %s (%d bytes)\n",
  58. ~^
  59. %ld
  60. image->upload_width, image->upload_height, image->name, image->upload_width * image->upload_height * sizeof(int));
  61. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  62. ../../ref_gl/gl_image.c: In function 'GL_FreeUnusedImages':
  63. ../../ref_gl/gl_image.c:3338:25: warning: passing argument 2 of 'qglDeleteTextures' from incompatible pointer type [-Wincompatible-pointer-types]
  64. qglDeleteTextures (1, &image->texnum);
  65. ^~~~~~~~~~~~~~
  66. ../../ref_gl/gl_image.c:3338:25: note: expected 'const GLuint *' {aka 'const unsigned int *'} but argument is of type 'long unsigned int *'
  67. ../../ref_gl/gl_image.c: In function 'GL_ShutdownImages':
  68. ../../ref_gl/gl_image.c:3492:25: warning: passing argument 2 of 'qglDeleteTextures' from incompatible pointer type [-Wincompatible-pointer-types]
  69. qglDeleteTextures (1, &image->texnum);
  70. ^~~~~~~~~~~~~~
  71. ../../ref_gl/gl_image.c:3492:25: note: expected 'const GLuint *' {aka 'const unsigned int *'} but argument is of type 'long unsigned int *'
  72. make[1]: *** [<builtin>: gl_image.o] Error 1
  73. make[1]: Leaving directory '/home/lsd/r1q2-archive/binaries/ref_gl'
  74. make: *** [Makefile:17: ref_gl] Error 2
  75. lsd@lsd-K56CB:~/r1q2-archive/binaries$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement