Advertisement
Guest User

compile error

a guest
Oct 27th, 2022
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.30 KB | None | 0 0
  1. (buster)test@localhost:~$ git clone https://git.do.srb2.org/KartKrew/Kart-Public.git
  2. Cloning into 'Kart-Public'...
  3. remote: Enumerating objects: 41420, done.
  4. remote: Counting objects: 100% (2688/2688), done.
  5. remote: Compressing objects: 100% (579/579), done.
  6. remote: Total 41420 (delta 2116), reused 2669 (delta 2099), pack-reused 38732
  7. Receiving objects: 100% (41420/41420), 87.36 MiB | 5.79 MiB/s, done.
  8. Resolving deltas: 100% (31293/31293), done.
  9. Checking out files: 100% (2159/2159), done.
  10. (buster)test@localhost:~$ cd Kart-Public
  11. (buster)test@localhost:~/Kart-Public$ LIBGME_CFLAGS= LIBGME_LDFLAGS=-lgme make -C src/ LINUX64=1 -j3
  12. make: Entering directory '/home/test/Kart-Public/src'
  13. Creating dependency file, depend.dep
  14. Created dependency file, depend.dep
  15. d_main.c: In function ‘D_SRB2Main’:
  16. d_main.c:1623:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
  17. strncpy(connectedservername, cv_servername.string, MAXSERVERNAME);
  18. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  19. d_clisrv.c: In function ‘CL_ConnectToServer’:
  20. d_clisrv.c:2615:3: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
  21. strncpy(connectedservername, serverlist[i].info.servername, MAXSERVERNAME);
  22. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  23. In function ‘CL_ServerConnectionSearchTicker’,
  24. inlined from ‘CL_ServerConnectionTicker’ at d_clisrv.c:2352:9,
  25. inlined from ‘CL_ConnectToServer’ at d_clisrv.c:2632:8:
  26. d_clisrv.c:2289:5: warning: ‘strncpy’ specified bound 256 equals destination size [-Wstringop-truncation]
  27. strncpy(http_source, serverlist[i].info.httpsource, MAX_MIRROR_LENGTH);
  28. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  29. dehacked.c: In function ‘readmaincfg’:
  30. dehacked.c:3037:5: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
  31. strncpy(timeattackfolder, gamedatafilename, filenamelen);
  32. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  33. dehacked.c:3035:19: note: length computed here
  34. filenamelen = strlen(gamedatafilename)-4; // Strip off the extension
  35. ^~~~~~~~~~~~~~~~~~~~~~~~
  36. dehacked.c: In function ‘readlevelheader’:
  37. dehacked.c:1084:6: warning: ‘strncpy’ specified bound 7 equals destination size [-Wstringop-truncation]
  38. strncpy(mapheaderinfo[num-1]->musname, compat_special_music_slots[i - 1036], 7);
  39. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  40. dehacked.c:1109:5: warning: ‘strncpy’ specified bound 8 equals destination size [-Wstringop-truncation]
  41. strncpy(mapheaderinfo[num-1]->interscreen, word2, 8);
  42. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  43. g_game.c: In function ‘G_BuildMapName’:
  44. g_game.c:834:25: warning: ‘%.2d’ directive writing between 2 and 11 bytes into a region of size 7 [-Wformat-overflow=]
  45. sprintf(&mapname[3], "%.2d", map);
  46. ^~~~
  47. g_game.c:834:24: note: directive argument in the range [-2147483648, 99]
  48. sprintf(&mapname[3], "%.2d", map);
  49. ^~~~~~
  50. g_game.c:834:3: note: ‘sprintf’ output between 3 and 12 bytes into a destination of size 7
  51. sprintf(&mapname[3], "%.2d", map);
  52. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  53. g_game.c: In function ‘G_WriteDemoExtraData’:
  54. g_game.c:5154:5: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
  55. strncpy(name, skins[players[i].skin].name, 16);
  56. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  57. g_game.c:5165:5: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
  58. strncpy(name, KartColor_Names[players[i].skincolor], 16);
  59. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  60. g_game.c:5173:5: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
  61. strncpy(name, player_names[i], 16);
  62. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  63. g_game.c: In function ‘G_BeginRecording’:
  64. g_game.c:6565:4: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
  65. strncpy(name, player_names[p], 16);
  66. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  67. g_game.c:6571:4: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
  68. strncpy(name, skins[player->skin].name, 16);
  69. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  70. g_game.c:6577:4: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
  71. strncpy(name, KartColor_Names[player->skincolor], 16);
  72. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  73. g_game.c: In function ‘G_WriteStanding’:
  74. g_game.c:6665:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
  75. strncpy(temp, name, 16);
  76. ^~~~~~~~~~~~~~~~~~~~~~~
  77. g_game.c:6671:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
  78. strncpy(temp, skins[skinnum].name, 16);
  79. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  80. g_game.c:6677:2: warning: ‘strncpy’ specified bound 16 equals destination size [-Wstringop-truncation]
  81. strncpy(temp, KartColor_Names[color], 16);
  82. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  83. In function ‘HU_DoCEcho’,
  84. inlined from ‘Got_Saycmd’ at hu_stuff.c:739:3:
  85. hu_stuff.c:2832:2: warning: ‘strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation]
  86. strncpy(cechotext, msg, sizeof(cechotext));
  87. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  88. hu_stuff.c: In function ‘HU_DoCEcho’:
  89. hu_stuff.c:2832:2: warning: ‘strncpy’ specified bound 1024 equals destination size [-Wstringop-truncation]
  90. strncpy(cechotext, msg, sizeof(cechotext));
  91. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  92. m_menu.c: In function ‘PrepReplayList’:
  93. m_menu.c:5329:41: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 255 [-Wformat-truncation=]
  94. snprintf(demolist[i].filepath, 255, "%s%s", menupath, dirmenu[i] + DIR_STRING);
  95. ^~ ~~~~~~~~
  96. m_menu.c:5329:4: note: ‘snprintf’ output 1 or more bytes (assuming 1024) into a destination of size 255
  97. snprintf(demolist[i].filepath, 255, "%s%s", menupath, dirmenu[i] + DIR_STRING);
  98. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  99. m_menu.c: In function ‘M_StartServer’:
  100. m_menu.c:8969:2: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation]
  101. strncpy(connectedservername, cv_servername.string, MAXSERVERNAME);
  102. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  103. p_tick.c: In function ‘P_Ticker’:
  104. p_tick.c:822:4: error: unknown type name ‘BOOL’ <--- error right here
  105. BOOL skyVisible = skyVisiblePerPlayer[i];
  106. ^~~~
  107. make: *** [Makefile:875: ../objs/Linux64/SDL/Release/p_tick.o] Error 1
  108. make: *** Waiting for unfinished jobs....
  109. p_spec.c: In function ‘P_ParseAnimationDefintion’:
  110. p_spec.c:479:3: warning: ‘strncpy’ specified bound 9 equals destination size [-Wstringop-truncation]
  111. strncpy(animdefs[i].startname, animdefsToken, 9);
  112. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  113. make: Leaving directory '/home/test/Kart-Public/src'
  114. (buster)test@localhost:~/Kart-Public$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement