Advertisement
Anime4000

Iodine frekky mod

Nov 29th, 2015
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 31.46 KB | None | 0 0
  1. make[1]: Entering directory `/home/Ritsuko/iodine/src'
  2. OS is WINDOWS32, arch is i686
  3. CC tun.c
  4. /bin/sh: git: command not found
  5. CC dns.c
  6. /bin/sh: git: command not found
  7. CC read.c
  8. /bin/sh: git: command not found
  9. CC encoding.c
  10. /bin/sh: git: command not found
  11. CC login.c
  12. /bin/sh: git: command not found
  13. CC base32.c
  14. /bin/sh: git: command not found
  15. CC base64.c
  16. /bin/sh: git: command not found
  17. Making base64u.c
  18. Making base64u.h
  19. CC base64u.c
  20. /bin/sh: git: command not found
  21. CC base128.c
  22. /bin/sh: git: command not found
  23. CC md5.c
  24. /bin/sh: git: command not found
  25. CC window.c
  26. /bin/sh: git: command not found
  27. CC common.c
  28. /bin/sh: git: command not found
  29. CC util.c
  30. /bin/sh: git: command not found
  31. CC iodine.c
  32. /bin/sh: git: command not found
  33. CC client.c
  34. /bin/sh: git: command not found
  35. client.c: In function 'update_server_timeout':
  36. client.c:378:20: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t {aka long long int}' [-Wformat=]
  37. fprintf(stderr, "Target interval of %ld ms less than average round-trip of "
  38. ^
  39. client.c:378:20: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t {aka long long int}' [-Wformat=]
  40. client.c:385:21: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t {aka long long int}' [-Wformat=]
  41. fprintf(stderr, "Adjusting server timeout to %ld ms, target interval %ld ms. Try -I%.1f next time with this network.\n",
  42. ^
  43. client.c:385:21: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t {aka long long int}' [-Wformat=]
  44. In file included from client.c:49:0:
  45. client.c: In function 'send_query':
  46. client.c:537:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  47. DEBUG(3, "TX: pkt len %lu: hostname '%s'", strlen((char *)hostname), hostname);
  48. ^
  49. common.h:106:20: note: in definition of macro 'DEBUG'
  50. fprintf(stderr, __VA_ARGS__);\
  51. ^
  52. client.c:555:13: warning: pointer targets in passing argument 2 of 'sendto' differ in signedness [-Wpointer-sign]
  53. sendto(fd, packet, len, 0, (struct sockaddr*) &nameserv_addrs[current_nameserver],
  54. ^
  55. In file included from windows.h:24:0,
  56. from client.c:34:
  57. c:\msys\mingw\x86_64-w64-mingw32\include\winsock2.h:998:34: note: expected 'const char *' but argument is of type 'uint8_t * {aka unsigned char *}'
  58. WINSOCK_API_LINKAGE int WSAAPI sendto(SOCKET s,const char *buf,int len,int flags,const struct sockaddr *to,int tolen);
  59. ^
  60. In file included from client.c:49:0:
  61. client.c: In function 'send_ping':
  62. client.c:669:12: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t {aka long long int}' [-Wformat=]
  63. DEBUG(3, " SEND PING: respond %d, ack %d, %s(server %ld ms, downfrag %ld ms), flags %02X",
  64. ^
  65. common.h:106:20: note: in definition of macro 'DEBUG'
  66. fprintf(stderr, __VA_ARGS__);\
  67. ^
  68. client.c:669:12: warning: format '%ld' expects argument of type 'long int', but argument 7 has type 'time_t {aka long long int}' [-Wformat=]
  69. DEBUG(3, " SEND PING: respond %d, ack %d, %s(server %ld ms, downfrag %ld ms), flags %02X",
  70. ^
  71. common.h:106:20: note: in definition of macro 'DEBUG'
  72. fprintf(stderr, __VA_ARGS__);\
  73. ^
  74. client.c: In function 'send_next_frag':
  75. client.c:733:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  76. DEBUG(3, " SEND DATA: seq %d, ack %d, len %lu, s%d e%d c%d flags %1X",
  77. ^
  78. common.h:106:20: note: in definition of macro 'DEBUG'
  79. fprintf(stderr, __VA_ARGS__);\
  80. ^
  81. client.c: In function 'read_dns_withq':
  82. client.c:901:28: warning: pointer targets in passing argument 2 of 'recvfrom' differ in signedness [-Wpointer-sign]
  83. if ((r = recvfrom(dns_fd, data, sizeof(data), 0,
  84. ^
  85. In file included from windows.h:24:0,
  86. from client.c:34:
  87. c:\msys\mingw\x86_64-w64-mingw32\include\winsock2.h:993:34: note: expected 'char *' but argument is of type 'uint8_t * {aka unsigned char *}'
  88. WINSOCK_API_LINKAGE int WSAAPI recvfrom(SOCKET s,char *buf,int len,int flags,struct sockaddr *from,int *fromlen);
  89. ^
  90. client.c:990:23: warning: passing argument 2 of 'uncompress' from incompatible pointer type [-Wincompatible-pointer-types]
  91. if (uncompress(buf, &datalen, data + RAW_HDR_LEN, r) == Z_OK) {
  92. ^
  93. In file included from client.c:29:0:
  94. c:\msys\mingw\x86_64-w64-mingw32\include\zlib.h:1197:21: note: expected 'uLongf * {aka long unsigned int *}' but argument is of type 'size_t * {aka long long unsigned int *}'
  95. ZEXTERN int ZEXPORT uncompress OF((Bytef *dest, uLongf *destLen,
  96. ^
  97. In file included from client.c:49:0:
  98. client.c: In function 'parse_data':
  99. client.c:1114:12: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  100. DEBUG(3, "PING pkt data=%lu WS: up=%u, dn=%u; Start: up=%u, dn=%u",
  101. ^
  102. common.h:106:20: note: in definition of macro 'DEBUG'
  103. fprintf(stderr, __VA_ARGS__);\
  104. ^
  105. client.c: In function 'tunnel_tun':
  106. client.c:1135:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'ssize_t {aka long long int}' [-Wformat=]
  107. DEBUG(2, " IN: %lu bytes on tunnel, to be compressed: %d", read, compression_up);
  108. ^
  109. common.h:106:20: note: in definition of macro 'DEBUG'
  110. fprintf(stderr, __VA_ARGS__);\
  111. ^
  112. client.c:1139:18: warning: passing argument 2 of 'compress2' from incompatible pointer type [-Wincompatible-pointer-types]
  113. compress2(out, &datalen, in, read, 9);
  114. ^
  115. In file included from client.c:29:0:
  116. c:\msys\mingw\x86_64-w64-mingw32\include\zlib.h:1174:21: note: expected 'uLongf * {aka long unsigned int *}' but argument is of type 'size_t * {aka long long unsigned int *}'
  117. ZEXTERN int ZEXPORT compress2 OF((Bytef *dest, uLongf *destLen,
  118. ^
  119. In file included from client.c:49:0:
  120. client.c:1149:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  121. DEBUG(1, " Outgoing buffer full (%lu/%lu), not adding data!",
  122. ^
  123. common.h:106:20: note: in definition of macro 'DEBUG'
  124. fprintf(stderr, __VA_ARGS__);\
  125. ^
  126. client.c:1149:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  127. DEBUG(1, " Outgoing buffer full (%lu/%lu), not adding data!",
  128. ^
  129. common.h:106:20: note: in definition of macro 'DEBUG'
  130. fprintf(stderr, __VA_ARGS__);\
  131. ^
  132. client.c: In function 'tunnel_dns':
  133. client.c:1206:22: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  134. fprintf(stderr, "Hmm, that's %ld SERVFAILs. Your data should still go through...\n", num_servfail);
  135. ^
  136. client.c:1213:22: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  137. fprintf(stderr, "Too many SERVFAILs (%ld), reducing timeout to"
  138. ^
  139. client.c:1245:20: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  140. fprintf(stderr, "BADIP (%ld): Server rejected sender IP address (maybe iodined -c will help), or server "
  141. ^
  142. client.c:1263:19: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  143. fprintf(stderr, " RX %s; frag ID %3u, ACK %3d, compression %d, datalen %lu, s%d e%d\n",
  144. ^
  145. client.c:1303:31: warning: passing argument 2 of 'uncompress' from incompatible pointer type [-Wincompatible-pointer-types]
  146. if ((res = uncompress(buf, &buflen, cbuf, datalen)) != Z_OK) {
  147. ^
  148. In file included from client.c:29:0:
  149. c:\msys\mingw\x86_64-w64-mingw32\include\zlib.h:1197:21: note: expected 'uLongf * {aka long unsigned int *}' but argument is of type 'size_t * {aka long long unsigned int *}'
  150. ZEXTERN int ZEXPORT uncompress OF((Bytef *dest, uLongf *destLen,
  151. ^
  152. In file included from client.c:49:0:
  153. client.c:1304:14: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  154. DEBUG(1, "Uncompress failed (%d) for data len %lu: reassembled data corrupted or incomplete!", res, datalen);
  155. ^
  156. common.h:106:20: note: in definition of macro 'DEBUG'
  157. fprintf(stderr, __VA_ARGS__);\
  158. ^
  159. client.c: In function 'client_tunnel':
  160. client.c:1424:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  161. fprintf(stderr, " Queries sent: %8lu" ", answered: %8lu" ", SERVFAILs: %4lu\n",
  162. ^
  163. client.c:1424:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  164. client.c:1424:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  165. client.c:1426:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  166. fprintf(stderr, " last %3d secs: %7lu" " (%4lu/s), replies: %7lu" " (%4lu/s)\n",
  167. ^
  168. client.c:1426:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  169. client.c:1426:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  170. client.c:1426:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  171. client.c:1429:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  172. fprintf(stderr, " num IP rejected: %4lu, untracked: %4lu, lazy mode: %1d\n",
  173. ^
  174. client.c:1429:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  175. client.c:1431:21: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t {aka long long int}' [-Wformat=]
  176. fprintf(stderr, " Min send: %5ld ms, Avg RTT: %5ld ms Timeout server: %4ld ms\n",
  177. ^
  178. client.c:1431:21: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'long long unsigned int' [-Wformat=]
  179. client.c:1431:21: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t {aka long long int}' [-Wformat=]
  180. client.c:1433:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  181. fprintf(stderr, " Queries immediate: %5lu, timed out: %4lu target: %4ld ms\n",
  182. ^
  183. client.c:1433:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  184. client.c:1433:21: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t {aka long long int}' [-Wformat=]
  185. client.c:1436:22: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'time_t {aka long long int}' [-Wformat=]
  186. fprintf(stderr, " Frags resent: %4u, OOS: %4u down frag: %4ld ms\n",
  187. ^
  188. client.c:1438:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  189. fprintf(stderr, " TX fragments: %8lu" ", RX: %8lu" ", pings: %8lu" "\n\n",
  190. ^
  191. client.c:1438:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  192. client.c:1438:22: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  193. In file included from client.c:49:0:
  194. client.c:1463:12: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'time_t {aka long long int}' [-Wformat=]
  195. DEBUG(4, "Waiting %ld ms before sending more... (min_send %d)", timeval_to_ms(&tv), use_min_send);
  196. ^
  197. common.h:106:20: note: in definition of macro 'DEBUG'
  198. fprintf(stderr, __VA_ARGS__);\
  199. ^
  200. client.c: In function 'handshake_set_timeout':
  201. client.c:2616:19: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  202. fprintf(stderr, "Setting window sizes to %lu frags upstream, %lu frags downstream...",
  203. ^
  204. client.c:2616:19: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  205. client.c:2644:19: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'long long unsigned int' [-Wformat=]
  206. fprintf(stderr, "\nDetermined round-trip time of %ld ms, server timeout of %ld ms.\n",
  207. ^
  208. client.c:2644:19: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t {aka long long int}' [-Wformat=]
  209. LD ../bin/iodine
  210. CC iodined.c
  211. /bin/sh: git: command not found
  212. CC user.c
  213. /bin/sh: git: command not found
  214. In file included from user.h:23:0,
  215. from user.c:36:
  216. server.h:73:14: warning: '__progname' defined but not used [-Wunused-variable]
  217. static char *__progname;
  218. ^
  219. CC fw_query.c
  220. /bin/sh: git: command not found
  221. CC server.c
  222. /bin/sh: git: command not found
  223. In file included from server.c:33:0:
  224. server.c: In function 'qmem_is_cached':
  225. server.c:147:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  226. TIMEPRINT("[QMEM u%d (%lu/%u)] ", u, users[u].qmem.num_pending, users[u].outgoing->windowsize); \
  227. ^
  228. common.h:101:19: note: in definition of macro 'TIMEPRINT'
  229. fprintf(stderr, __VA_ARGS__);
  230. ^
  231. server.c:199:3: note: in expansion of macro 'QMEM_DEBUG'
  232. QMEM_DEBUG(2, userid, "OUT from qmem for '%s', %s", q->name,
  233. ^
  234. server.c: In function 'qmem_append':
  235. server.c:147:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  236. TIMEPRINT("[QMEM u%d (%lu/%u)] ", u, users[u].qmem.num_pending, users[u].outgoing->windowsize); \
  237. ^
  238. common.h:101:19: note: in definition of macro 'TIMEPRINT'
  239. fprintf(stderr, __VA_ARGS__);
  240. ^
  241. server.c:217:3: note: in expansion of macro 'QMEM_DEBUG'
  242. QMEM_DEBUG(2, userid, "Full of pending queries! Replacing old query %d with new %d.",
  243. ^
  244. server.c:147:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  245. TIMEPRINT("[QMEM u%d (%lu/%u)] ", u, users[u].qmem.num_pending, users[u].outgoing->windowsize); \
  246. ^
  247. common.h:101:19: note: in definition of macro 'TIMEPRINT'
  248. fprintf(stderr, __VA_ARGS__);
  249. ^
  250. server.c:228:2: note: in expansion of macro 'QMEM_DEBUG'
  251. QMEM_DEBUG(5, userid, "add query ID %d, timeout %lu ms", q->id, timeval_to_ms(&users[userid].dns_timeout));
  252. ^
  253. server.c:228:24: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'time_t {aka long long int}' [-Wformat=]
  254. QMEM_DEBUG(5, userid, "add query ID %d, timeout %lu ms", q->id, timeval_to_ms(&users[userid].dns_timeout));
  255. ^
  256. server.c:148:19: note: in definition of macro 'QMEM_DEBUG'
  257. fprintf(stderr, __VA_ARGS__);\
  258. ^
  259. In file included from server.c:33:0:
  260. server.c: In function 'qmem_answered':
  261. server.c:147:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  262. TIMEPRINT("[QMEM u%d (%lu/%u)] ", u, users[u].qmem.num_pending, users[u].outgoing->windowsize); \
  263. ^
  264. common.h:101:19: note: in definition of macro 'TIMEPRINT'
  265. fprintf(stderr, __VA_ARGS__);
  266. ^
  267. server.c:250:3: note: in expansion of macro 'QMEM_DEBUG'
  268. QMEM_DEBUG(1, userid, "Query answered with 0 in qmem! Fix bugs.");
  269. ^
  270. server.c:147:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  271. TIMEPRINT("[QMEM u%d (%lu/%u)] ", u, users[u].qmem.num_pending, users[u].outgoing->windowsize); \
  272. ^
  273. common.h:101:19: note: in definition of macro 'TIMEPRINT'
  274. fprintf(stderr, __VA_ARGS__);
  275. ^
  276. server.c:261:4: note: in expansion of macro 'QMEM_DEBUG'
  277. QMEM_DEBUG(1, userid, "got answer with length >4096!");
  278. ^
  279. server.c:147:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  280. TIMEPRINT("[QMEM u%d (%lu/%u)] ", u, users[u].qmem.num_pending, users[u].outgoing->windowsize); \
  281. ^
  282. common.h:101:19: note: in definition of macro 'TIMEPRINT'
  283. fprintf(stderr, __VA_ARGS__);
  284. ^
  285. server.c:268:2: note: in expansion of macro 'QMEM_DEBUG'
  286. QMEM_DEBUG(3, userid, "query ID %d answered", buf->queries[answered].q.id);
  287. ^
  288. server.c: In function 'qmem_get_next_response':
  289. server.c:147:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  290. TIMEPRINT("[QMEM u%d (%lu/%u)] ", u, users[u].qmem.num_pending, users[u].outgoing->windowsize); \
  291. ^
  292. common.h:101:19: note: in definition of macro 'TIMEPRINT'
  293. fprintf(stderr, __VA_ARGS__);
  294. ^
  295. server.c:282:2: note: in expansion of macro 'QMEM_DEBUG'
  296. QMEM_DEBUG(3, userid, "next response using cached query: ID %d", q->id);
  297. ^
  298. server.c: In function 'qmem_max_wait':
  299. server.c:147:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  300. TIMEPRINT("[QMEM u%d (%lu/%u)] ", u, users[u].qmem.num_pending, users[u].outgoing->windowsize); \
  301. ^
  302. common.h:101:19: note: in definition of macro 'TIMEPRINT'
  303. fprintf(stderr, __VA_ARGS__);
  304. ^
  305. server.c:354:5: note: in expansion of macro 'QMEM_DEBUG'
  306. QMEM_DEBUG(3, userid, "Auto response to cached query: ID %d, %ld ms old (%s), timeout %ld ms",
  307. ^
  308. server.c:354:27: warning: format '%ld' expects argument of type 'long int', but argument 4 has type 'time_t {aka long long int}' [-Wformat=]
  309. QMEM_DEBUG(3, userid, "Auto response to cached query: ID %d, %ld ms old (%s), timeout %ld ms",
  310. ^
  311. server.c:148:19: note: in definition of macro 'QMEM_DEBUG'
  312. fprintf(stderr, __VA_ARGS__);\
  313. ^
  314. server.c:354:27: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'time_t {aka long long int}' [-Wformat=]
  315. QMEM_DEBUG(3, userid, "Auto response to cached query: ID %d, %ld ms old (%s), timeout %ld ms",
  316. ^
  317. server.c:148:19: note: in definition of macro 'QMEM_DEBUG'
  318. fprintf(stderr, __VA_ARGS__);\
  319. ^
  320. In file included from server.c:33:0:
  321. server.c:147:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  322. TIMEPRINT("[QMEM u%d (%lu/%u)] ", u, users[u].qmem.num_pending, users[u].outgoing->windowsize); \
  323. ^
  324. common.h:101:19: note: in definition of macro 'TIMEPRINT'
  325. fprintf(stderr, __VA_ARGS__);
  326. ^
  327. server.c:358:5: note: in expansion of macro 'QMEM_DEBUG'
  328. QMEM_DEBUG(4, userid, "ANSWER q id %d, ACK %d; sent %lu of %lu + sending another %lu",
  329. ^
  330. server.c:358:27: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  331. QMEM_DEBUG(4, userid, "ANSWER q id %d, ACK %d; sent %lu of %lu + sending another %lu",
  332. ^
  333. server.c:148:19: note: in definition of macro 'QMEM_DEBUG'
  334. fprintf(stderr, __VA_ARGS__);\
  335. ^
  336. server.c:358:27: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  337. QMEM_DEBUG(4, userid, "ANSWER q id %d, ACK %d; sent %lu of %lu + sending another %lu",
  338. ^
  339. server.c:148:19: note: in definition of macro 'QMEM_DEBUG'
  340. fprintf(stderr, __VA_ARGS__);\
  341. ^
  342. server.c:358:27: warning: format '%lu' expects argument of type 'long unsigned int', but argument 7 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  343. QMEM_DEBUG(4, userid, "ANSWER q id %d, ACK %d; sent %lu of %lu + sending another %lu",
  344. ^
  345. server.c:148:19: note: in definition of macro 'QMEM_DEBUG'
  346. fprintf(stderr, __VA_ARGS__);\
  347. ^
  348. In file included from server.c:33:0:
  349. server.c:147:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  350. TIMEPRINT("[QMEM u%d (%lu/%u)] ", u, users[u].qmem.num_pending, users[u].outgoing->windowsize); \
  351. ^
  352. common.h:101:19: note: in definition of macro 'TIMEPRINT'
  353. fprintf(stderr, __VA_ARGS__);
  354. ^
  355. server.c:383:4: note: in expansion of macro 'QMEM_DEBUG'
  356. QMEM_DEBUG(5, nextuser, "can wait for %lu ms, will send id %d", soonest_ms, nextq->id);
  357. ^
  358. server.c:383:28: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'time_t {aka long long int}' [-Wformat=]
  359. QMEM_DEBUG(5, nextuser, "can wait for %lu ms, will send id %d", soonest_ms, nextq->id);
  360. ^
  361. server.c:148:19: note: in definition of macro 'QMEM_DEBUG'
  362. fprintf(stderr, __VA_ARGS__);\
  363. ^
  364. In file included from server.c:33:0:
  365. server.c:147:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  366. TIMEPRINT("[QMEM u%d (%lu/%u)] ", u, users[u].qmem.num_pending, users[u].outgoing->windowsize); \
  367. ^
  368. common.h:101:19: note: in definition of macro 'TIMEPRINT'
  369. fprintf(stderr, __VA_ARGS__);
  370. ^
  371. server.c:389:5: note: in expansion of macro 'QMEM_DEBUG'
  372. QMEM_DEBUG(5, nextuser, "Resending some fragments")
  373. ^
  374. server.c:147:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  375. TIMEPRINT("[QMEM u%d (%lu/%u)] ", u, users[u].qmem.num_pending, users[u].outgoing->windowsize); \
  376. ^
  377. common.h:101:19: note: in definition of macro 'TIMEPRINT'
  378. fprintf(stderr, __VA_ARGS__);
  379. ^
  380. server.c:391:5: note: in expansion of macro 'QMEM_DEBUG'
  381. QMEM_DEBUG(2, nextuser, "Don't need to send anything to any users, waiting %lu ms", soonest_ms);
  382. ^
  383. server.c:391:29: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'time_t {aka long long int}' [-Wformat=]
  384. QMEM_DEBUG(2, nextuser, "Don't need to send anything to any users, waiting %lu ms", soonest_ms);
  385. ^
  386. server.c:148:19: note: in definition of macro 'QMEM_DEBUG'
  387. fprintf(stderr, __VA_ARGS__);\
  388. ^
  389. server.c: In function 'user_send_data':
  390. server.c:575:18: warning: passing argument 2 of 'compress2' from incompatible pointer type [-Wincompatible-pointer-types]
  391. compress2(out, &datalen, indata, len, 9);
  392. ^
  393. In file included from server.c:30:0:
  394. c:\msys\mingw\x86_64-w64-mingw32\include\zlib.h:1174:21: note: expected 'uLongf * {aka long unsigned int *}' but argument is of type 'size_t * {aka long long unsigned int *}'
  395. ZEXTERN int ZEXPORT compress2 OF((Bytef *dest, uLongf *destLen,
  396. ^
  397. server.c:579:25: warning: passing argument 2 of 'uncompress' from incompatible pointer type [-Wincompatible-pointer-types]
  398. ret = uncompress(out, &datalen, indata, len);
  399. ^
  400. In file included from server.c:30:0:
  401. c:\msys\mingw\x86_64-w64-mingw32\include\zlib.h:1197:21: note: expected 'uLongf * {aka long unsigned int *}' but argument is of type 'size_t * {aka long long unsigned int *}'
  402. ZEXTERN int ZEXPORT uncompress OF((Bytef *dest, uLongf *destLen,
  403. ^
  404. In file included from server.c:33:0:
  405. server.c:581:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  406. DEBUG(1, "FAIL: Uncompress == %d: %lu bytes to user %d!", ret, len, userid);
  407. ^
  408. common.h:106:20: note: in definition of macro 'DEBUG'
  409. fprintf(stderr, __VA_ARGS__);\
  410. ^
  411. server.c: In function 'handle_full_packet':
  412. server.c:835:25: warning: passing argument 2 of 'uncompress' from incompatible pointer type [-Wincompatible-pointer-types]
  413. ret = uncompress(out, &rawlen, data, len);
  414. ^
  415. In file included from server.c:30:0:
  416. c:\msys\mingw\x86_64-w64-mingw32\include\zlib.h:1197:21: note: expected 'uLongf * {aka long unsigned int *}' but argument is of type 'size_t * {aka long long unsigned int *}'
  417. ZEXTERN int ZEXPORT uncompress OF((Bytef *dest, uLongf *destLen,
  418. ^
  419. In file included from server.c:33:0:
  420. server.c:846:12: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  421. DEBUG(2, "FULL PKT: %lu bytes from user %d (touser %d)", len, userid, touser);
  422. ^
  423. common.h:106:20: note: in definition of macro 'DEBUG'
  424. fprintf(stderr, __VA_ARGS__);\
  425. ^
  426. server.c: In function 'handle_raw_login':
  427. server.c:869:12: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  428. DEBUG(2, "Invalid raw login packet: length %lu < 16 bytes!", len);
  429. ^
  430. common.h:106:20: note: in definition of macro 'DEBUG'
  431. fprintf(stderr, __VA_ARGS__);\
  432. ^
  433. server.c:879:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  434. DEBUG(1, "RX-raw: login, len %lu, from user %d", len, userid);
  435. ^
  436. common.h:106:20: note: in definition of macro 'DEBUG'
  437. fprintf(stderr, __VA_ARGS__);\
  438. ^
  439. server.c: In function 'handle_raw_data':
  440. server.c:913:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  441. DEBUG(3, "RX-raw: full pkt raw, length %lu, from user %d", len, userid);
  442. ^
  443. common.h:106:20: note: in definition of macro 'DEBUG'
  444. fprintf(stderr, __VA_ARGS__);\
  445. ^
  446. server.c: In function 'raw_decode':
  447. server.c:950:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 6 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  448. DEBUG(3, "RX-raw: client %s, user %d, raw command 0x%02X, length %lu",
  449. ^
  450. common.h:106:20: note: in definition of macro 'DEBUG'
  451. fprintf(stderr, __VA_ARGS__);\
  452. ^
  453. server.c: In function 'read_dns':
  454. server.c:1004:19: warning: pointer targets in passing argument 2 of 'recvfrom' differ in signedness [-Wpointer-sign]
  455. r = recvfrom(fd, packet, sizeof(packet), 0, (struct sockaddr*)&from, &addrlen);
  456. ^
  457. In file included from windows.h:24:0,
  458. from common.h:36,
  459. from server.c:33:
  460. c:\msys\mingw\x86_64-w64-mingw32\include\winsock2.h:993:34: note: expected 'char *' but argument is of type 'uint8_t * {aka unsigned char *}'
  461. WINSOCK_API_LINKAGE int WSAAPI recvfrom(SOCKET s,char *buf,int len,int flags,struct sockaddr *from,int *fromlen);
  462. ^
  463. In file included from server.c:33:0:
  464. server.c: In function 'write_dns':
  465. server.c:1169:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 5 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  466. DEBUG(3, "TX: client %s ID %5d, %lu bytes data, type %d, name '%10s'",
  467. ^
  468. common.h:106:20: note: in definition of macro 'DEBUG'
  469. fprintf(stderr, __VA_ARGS__);\
  470. ^
  471. server.c: In function 'handle_null_request':
  472. server.c:1196:11: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'long long unsigned int' [-Wformat=]
  473. DEBUG(3, "NULL request length %d/%lu, command '%c'", domain_len, sizeof(in), in[0]);
  474. ^
  475. common.h:106:20: note: in definition of macro 'DEBUG'
  476. fprintf(stderr, __VA_ARGS__);\
  477. ^
  478. server.c:1228:5: warning: implicit declaration of function 'syslog' [-Wimplicit-function-declaration]
  479. syslog(LOG_INFO, "Accepted version for user #%d from %s",
  480. ^
  481. server.c:1228:12: error: 'LOG_INFO' undeclared (first use in this function)
  482. syslog(LOG_INFO, "Accepted version for user #%d from %s",
  483. ^
  484. server.c:1228:12: note: each undeclared identifier is reported only once for each function it appears in
  485. server.c:1267:11: error: 'LOG_WARNING' undeclared (first use in this function)
  486. syslog(LOG_WARNING, "dropped login request from user #%d from %s; expected source %s",
  487. ^
  488. server.c:1288:12: error: 'LOG_NOTICE' undeclared (first use in this function)
  489. syslog(LOG_NOTICE, "accepted password from user #%d, given IP %s", userid, tmp[1]);
  490. ^
  491. In file included from server.c:33:0:
  492. server.c:1591:13: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  493. DEBUG(1, "Invalid ping! Length %lu", read);
  494. ^
  495. common.h:106:20: note: in definition of macro 'DEBUG'
  496. fprintf(stderr, __VA_ARGS__);\
  497. ^
  498. server.c:1703:12: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t {aka long long unsigned int}' [-Wformat=]
  499. DEBUG(3, "frag seq %3u, datalen %5lu, ACK %3d, compression %1d, s%1d e%1d",
  500. ^
  501. common.h:106:20: note: in definition of macro 'DEBUG'
  502. fprintf(stderr, __VA_ARGS__);\
  503. ^
  504. In file included from user.h:23:0,
  505. from server.c:42:
  506. server.c: At top level:
  507. server.h:73:14: warning: '__progname' defined but not used [-Wunused-variable]
  508. static char *__progname;
  509. ^
  510. make[1]: *** [server.o] Error 1
  511. make[1]: Leaving directory `/home/Ritsuko/iodine/src'
  512. make: *** [cross-mingw64] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement