Advertisement
Guest User

vgmtools_compiling_log_201602181210

a guest
Feb 18th, 2016
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.11 KB | None | 0 0
  1. guest@macbook:/mnt/sda4/trabalhos/musica/recolha/vgm/tools/vgmtools_compilar/VGMTools_src_2015-07-25$ make
  2. mkdir obj
  3. gcc -c dro2vgm.c -o obj/dro2vgm.o
  4. dro2vgm.c: In function ‘main’:
  5. dro2vgm.c:77:3: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration]
  6. gets(FileName);
  7. ^
  8. dro2vgm.c: In function ‘ConvertDRO2VGM’:
  9. dro2vgm.c:441:10: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  10. printf("DRO ms Header: %lu, counted: %lu\n", DROInf.iLengthMS, CurMS);
  11. ^
  12. dro2vgm.c:441:10: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  13. gcc obj/dro2vgm.o -o dro2vgm -lm -lz
  14. obj/dro2vgm.o: In function `main':
  15. dro2vgm.c:(.text+0x5c): warning: the `gets' function is dangerous and should not be used.
  16. gcc -c optdac.c -o obj/optdac.o
  17. optdac.c: In function ‘main’:
  18. optdac.c:62:3: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration]
  19. gets(FileName);
  20. ^
  21. gcc obj/optdac.o -o optdac -lm -lz
  22. obj/optdac.o: In function `main':
  23. optdac.c:(.text+0x7c): warning: the `gets' function is dangerous and should not be used.
  24. gcc -c optvgm32.c -o obj/optvgm32.o
  25. optvgm32.c: In function ‘main’:
  26. optvgm32.c:110:3: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration]
  27. gets(FileName);
  28. ^
  29. optvgm32.c: In function ‘EnumeratePWMWrite’:
  30. optvgm32.c:446:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  31. printf("%lu PWM writes found.\n", WriteCount);
  32. ^
  33. optvgm32.c: In function ‘DataReducer’:
  34. optvgm32.c:539:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  35. printf("Data Reduction x%lu ...", SmplGCD);
  36. ^
  37. optvgm32.c: In function ‘MakeDataStream’:
  38. optvgm32.c:662:10: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  39. printf("PWM Frequency %s Chn: %lu\n", CHN_STR[TempChn->Command], TempChn->Fre
  40. ^
  41. gcc obj/optvgm32.o -o optvgm32 -lm -lz
  42. obj/optvgm32.o: In function `main':
  43. optvgm32.c:(.text+0x7c): warning: the `gets' function is dangerous and should not be used.
  44. gcc -c optvgmrf.c -o obj/optvgmrf.o
  45. optvgmrf.c: In function ‘main’:
  46. optvgmrf.c:112:3: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration]
  47. gets(FileName);
  48. ^
  49. optvgmrf.c:133:10: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  50. printf("VGM Version %lX.%02hX!? Are kidding me??\n",
  51. ^
  52. optvgmrf.c:173:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  53. printf("Data Compression: %lu -> %lu (%.1f %%)\n",
  54. ^
  55. optvgmrf.c:173:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  56. optvgmrf.c: In function ‘EnumeratePCMData’:
  57. optvgmrf.c:1243:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  58. printf("%lu Blocks created (%.2f MB, %lux used, %lux single use).\n",
  59. ^
  60. optvgmrf.c:1243:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  61. optvgmrf.c:1243:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  62. gcc obj/optvgmrf.o -o optvgmrf -lm -lz
  63. obj/optvgmrf.o: In function `main':
  64. optvgmrf.c:(.text+0x66): warning: the `gets' function is dangerous and should not be used.
  65. gcc -c vgm2txt.c -o obj/vgm2txt.o
  66. vgm2txt.c: In function ‘main’:
  67. vgm2txt.c:94:3: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration]
  68. gets(FileName);
  69. ^
  70. vgm2txt.c:118:19: warning: format ‘%lu’ expects argument of type ‘long unsigned int *’, but argument 3 has type ‘UINT32 * {aka unsigned int *}’ [-Wformat=]
  71. sscanf(FileName, "%02lu:%02lu.%02lu", &TimeMin, &TimeSec, &TimeMS);
  72. ^
  73. vgm2txt.c:118:19: warning: format ‘%lu’ expects argument of type ‘long unsigned int *’, but argument 4 has type ‘UINT32 * {aka unsigned int *}’ [-Wformat=]
  74. vgm2txt.c:118:19: warning: format ‘%lu’ expects argument of type ‘long unsigned int *’, but argument 5 has type ‘UINT32 * {aka unsigned int *}’ [-Wformat=]
  75. vgm2txt.c:127:19: warning: format ‘%lu’ expects argument of type ‘long unsigned int *’, but argument 3 has type ‘UINT32 * {aka unsigned int *}’ [-Wformat=]
  76. sscanf(FileName, "%02lu:%02lu.%02lu", &TimeMin, &TimeSec, &TimeMS);
  77. ^
  78. vgm2txt.c:127:19: warning: format ‘%lu’ expects argument of type ‘long unsigned int *’, but argument 4 has type ‘UINT32 * {aka unsigned int *}’ [-Wformat=]
  79. vgm2txt.c:127:19: warning: format ‘%lu’ expects argument of type ‘long unsigned int *’, but argument 5 has type ‘UINT32 * {aka unsigned int *}’ [-Wformat=]
  80. vgm2txt.c: In function ‘WriteVGM2Txt’:
  81. vgm2txt.c:258:17: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  82. fprintf(hFile, "File Version:\t\t0x%08lX (%lu.%02lX)\n", VGMHead.lngVersion,
  83. ^
  84. vgm2txt.c:258:17: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  85. vgm2txt.c:258:17: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  86. vgm2txt.c:260:17: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  87. fprintf(hFile, "EOF Offset:\t\t0x%08lX (absolute)\n", VGMHead.lngEOFOffset);
  88. ^
  89. vgm2txt.c:261:17: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  90. fprintf(hFile, "GD3 Tag Offset:\t\t0x%08lX (absolute)\n", VGMHead.lngGD3Offset
  91. ^
  92. vgm2txt.c:262:17: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  93. fprintf(hFile, "Data Offset:\t\t0x%08lX (absolute)\n", VGMHead.lngDataOffset);
  94. ^
  95. vgm2txt.c:265:17: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  96. fprintf(hFile, "Total Length:\t\t%lu samples (%s s)\n", VGMHead.lngTotalSample
  97. ^
  98. vgm2txt.c:266:17: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  99. fprintf(hFile, "Loop Point Offset:\t0x%08lX (absolute)\n", VGMHead.lngLoopOffs
  100. ^
  101. vgm2txt.c:272:17: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  102. fprintf(hFile, "Loop Start:\t\t%lu samples (%s s)\n", TempLng, TempStr);
  103. ^
  104. vgm2txt.c:274:17: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  105. fprintf(hFile, "Loop Length:\t\t%lu samples (%s s)\n", VGMHead.lngLoopSamples,
  106. ^
  107. vgm2txt.c:275:17: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  108. fprintf(hFile, "Recording Rate:\t\t%lu Hz\n", VGMHead.lngRate);
  109. ^
  110. vgm2txt.c:277:19: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  111. sprintf(TempStr, "%lu Hz", VGMHead.lngHzPSG & 0x3FFFFFF);
  112. ^
  113. vgm2txt.c:305:17: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  114. fprintf(hFile, "SegaPCM Interface:\t0x%08lX\n", VGMHead.lngSPCMIntf);
  115. ^
  116. vgm2txt.c:318:19: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  117. sprintf(TempStr, "%lu Hz", VGMHead.lngHzYM2610 & 0x3FFFFFF);
  118. ^
  119. vgm2txt.c: In function ‘WriteClockText’:
  120. vgm2txt.c:486:18: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  121. sprintf(Buffer, "%lu Hz", Clock & 0x3FFFFFF);
  122. ^
  123. vgm2txt.c: In function ‘WriteVGMData2Txt’:
  124. vgm2txt.c:649:23: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘INT32 {aka int}’ [-Wformat=]
  125. sprintf(TempStr, "Wait:\t%2hu sample(s) ( %03.2f ms)\t(total\t%lu (%s))"
  126. ^
  127. vgm2txt.c:660:23: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘INT32 {aka int}’ [-Wformat=]
  128. sprintf(TempStr, "Wait:\t%2hu sample(s) ( %03.2f ms)\t(total\t%lu (%s))"
  129. ^
  130. vgm2txt.c:788:23: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘INT32 {aka int}’ [-Wformat=]
  131. sprintf(TempStr, "Wait:\t%hu samples (1/60 s)\t(total\t%lu (%s))",
  132. ^
  133. vgm2txt.c:800:23: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘INT32 {aka int}’ [-Wformat=]
  134. sprintf(TempStr, "Wait:\t%hu samples (1/50 s)\t(total\t%lu (%s))",
  135. ^
  136. vgm2txt.c:812:23: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘INT32 {aka int}’ [-Wformat=]
  137. sprintf(TempStr, "Wait:\t%hu samples ( %03.2f ms)\t(total\t%lu (%s))",
  138. ^
  139. vgm2txt.c:969:23: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  140. sprintf(TempStr, "%s\t\t\tData Length: 0x%08lX", TempStr, DataLen);
  141. ^
  142. vgm2txt.c:978:24: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  143. sprintf(TempStr, "%s\n\t\t\tROM Size: 0x%08lX\tData Start: 0x%08lX",
  144. ^
  145. vgm2txt.c:978:24: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  146. vgm2txt.c:993:23: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  147. sprintf(TempStr, "Seek to PCM Data Bank Pos: %08lX", TempLng);
  148. ^
  149. vgm2txt.c:1144:23: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  150. sprintf(TempStr, "PCM RAM write:\t%s\n"
  151. ^
  152. vgm2txt.c:1144:23: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  153. vgm2txt.c:1144:23: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  154. vgm2txt.c:1449:19: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  155. fprintf(hFile, "0x%08lX: %s %s\n", VGMPos, MinSecStr, TempStr);
  156. ^
  157. gcc -c chiptext.c -o obj/chiptext.o
  158. chiptext.c: In function ‘sn76496_write’:
  159. chiptext.c:623:21: warning: format ‘%lX’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘int’ [-Wformat=]
  160. sprintf(TempStr, "%sLatch/Data: Tone Ch %hu -> 0x%03lX", ChipStr, CurChn, Cu
  161. ^
  162. chiptext.c: In function ‘ym2151_write’:
  163. chiptext.c:1049:24: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 5 has type ‘int’ [-Wformat=]
  164. sprintf(WriteStr, "Key Code: 0x%02X = %s%ld", Data,
  165. ^
  166. chiptext.c:1183:22: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka const unsigned int}’ [-Wformat=]
  167. sprintf(WriteStr, "Detune 2: %lu, Decay Rate 2: 0x%02X",
  168. ^
  169. chiptext.c: In function ‘ymz280b_write’:
  170. chiptext.c:1671:22: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘int’ [-Wformat=]
  171. sprintf(WriteStr, "Pan 0x%02X = %ld%%", Data, 200 * (Data - 0x08) / 0x0F);
  172. ^
  173. gcc obj/vgm2txt.o obj/chiptext.o -o vgm2txt -lm -lz
  174. obj/vgm2txt.o: In function `main':
  175. vgm2txt.c:(.text+0x66): warning: the `gets' function is dangerous and should not be used.
  176. gcc -c vgm_cmp.c -o obj/vgm_cmp.o
  177. vgm_cmp.c: In function ‘main’:
  178. vgm_cmp.c:126:3: warning: implicit declaration of function ‘gets’ [-Wimplicit-function-declaration]
  179. gets(FileName);
  180. ^
  181. vgm_cmp.c:151:10: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  182. printf(" Data Compression: %lu -> %lu (%.1f %%)\n",
  183. ^
  184. vgm_cmp.c:151:10: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  185. vgm_cmp.c:163:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  186. printf("Data Compression Total: %lu -> %lu (%.1f %%)\n",
  187. ^
  188. vgm_cmp.c:163:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘UINT32 {aka unsigned int}’ [-Wformat=]
  189. gcc -c chip_cmp.c -o obj/chip_cmp.o
  190. chip_cmp.c: In function ‘okim6258_write’:
  191. chip_cmp.c:2575:3: warning: implicit declaration of function ‘_getch’ [-Wimplicit-function-declaration]
  192. _getch();
  193. ^
  194. gcc obj/vgm_cmp.o obj/chip_cmp.o -o vgm_cmp -lm -lz
  195. obj/vgm_cmp.o: In function `main':
  196. vgm_cmp.c:(.text+0x3b3): warning: the `gets' function is dangerous and should not be used.
  197. obj/chip_cmp.o: In function `okim6258_write':
  198. chip_cmp.c:(.text+0x3c94): undefined reference to `_getch'
  199. collect2: error: ld returned 1 exit status
  200. Makefile:71: recipe for target 'vgm_cmp' failed
  201. make: *** [vgm_cmp] Error 1
  202. guest@macbook:/mnt/sda4/trabalhos/musica/recolha/vgm/tools/vgmtools_compilar/VGMTools_src_2015-07-25$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement