Advertisement
Guest User

Untitled

a guest
Oct 31st, 2016
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 65.47 KB | None | 0 0
  1. make[3]: Entering directory '/Users/bluse/Desktop/Coding-Area/LEDE/tools/firmware-utils'
  2. touch /Users/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/.preparedf39ad8b05c3fcaf070a373803807749b
  3. (cd /Users/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/; if [ -x configure ]; then cp -fpR /Users/bluse/Desktop/Coding-Area/LEDE/scripts/config.{guess,sub} /Users/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils// && bash ./configure CC="gcc" CFLAGS="-O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include" CPPFLAGS="-I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include " LDFLAGS="-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib" SHELL="/usr/bin/env bash" --target=x86_64-apple-darwin15.6.0 --host=x86_64-apple-darwin15.6.0 --build=x86_64-apple-darwin15.6.0 --program-prefix="" --program-suffix="" --prefix=/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host --exec-prefix=/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host --sysconfdir=/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/etc --localstatedir=/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/var --sbindir=/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/bin ; fi )
  4. touch /Users/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/.configured
  5. mkdir -p /Users/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin
  6. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /Users/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/addpattern src/addpattern.c
  7. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  8. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /Users/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/asustrx src/asustrx.c
  9. src/asustrx.c:135:42: warning: format specifies type 'unsigned short *' but the argument has type 'uint8_t *' (aka 'unsigned char *') [-Wformat]
  10. if (sscanf(optarg, "%hu.%hu.%hu.%hu", &version[0], &version[1], &version[2], &version[3]) != 4)
  11. ~~~ ^~~~~~~~~~~
  12. %s
  13. src/asustrx.c:135:55: warning: format specifies type 'unsigned short *' but the argument has type 'uint8_t *' (aka 'unsigned char *') [-Wformat]
  14. if (sscanf(optarg, "%hu.%hu.%hu.%hu", &version[0], &version[1], &version[2], &version[3]) != 4)
  15. ~~~ ^~~~~~~~~~~
  16. %s
  17. src/asustrx.c:135:68: warning: format specifies type 'unsigned short *' but the argument has type 'uint8_t *' (aka 'unsigned char *') [-Wformat]
  18. if (sscanf(optarg, "%hu.%hu.%hu.%hu", &version[0], &version[1], &version[2], &version[3]) != 4)
  19. ~~~ ^~~~~~~~~~~
  20. %s
  21. src/asustrx.c:135:81: warning: format specifies type 'unsigned short *' but the argument has type 'uint8_t *' (aka 'unsigned char *') [-Wformat]
  22. if (sscanf(optarg, "%hu.%hu.%hu.%hu", &version[0], &version[1], &version[2], &version[3]) != 4)
  23. ~~~ ^~~~~~~~~~~
  24. %s
  25. 4 warnings generated.
  26. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  27. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /Users/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/trx src/trx.c
  28. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  29. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /Users/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/motorola-bin src/motorola-bin.c
  30. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  31. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /Users/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/dgfirmware src/dgfirmware.c
  32. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  33. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /Users/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/mksenaofw src/mksenaofw.c src/md5.c
  34. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  35. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /Users/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/trx2usr src/trx2usr.c
  36. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  37. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /Users/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/ptgen src/ptgen.c
  38. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  39. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /Users/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/srec2bin src/srec2bin.c
  40. src/srec2bin.c:407:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  41. if (itmp|=s1s2s3_total) return(SRLerrorout("Incorrect number of S3 Record processed",scp));
  42. ~~~~^~~~~~~~~~~~~~
  43. src/srec2bin.c:407:27: note: place parentheses around the assignment to silence this warning
  44. if (itmp|=s1s2s3_total) return(SRLerrorout("Incorrect number of S3 Record processed",scp));
  45. ^
  46. ( )
  47. src/srec2bin.c:407:27: note: use '!=' to turn this compound assignment into an inequality comparison
  48. if (itmp|=s1s2s3_total) return(SRLerrorout("Incorrect number of S3 Record processed",scp));
  49. ^~
  50. !=
  51. 1 warning generated.
  52. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  53. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /Users/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/mkmylofw src/mkmylofw.c
  54. src/mkmylofw.c:575:31: warning: passing 'char [16384]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
  55. if (write_out_data(outfile, buff, buflen, crc) != 0)
  56. ^~~~
  57. src/mkmylofw.c:481:40: note: passing argument to parameter 'data' here
  58. write_out_data(FILE *outfile, uint8_t *data, size_t len, uint32_t *crc)
  59. ^
  60. src/mkmylofw.c:743:11: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
  61. if ((arg == NULL)) {
  62. ~~~~^~~~~~~
  63. src/mkmylofw.c:743:11: note: remove extraneous parentheses around the comparison to silence this warning
  64. if ((arg == NULL)) {
  65. ~ ^ ~
  66. src/mkmylofw.c:743:11: note: use '=' to turn this equality comparison into an assignment
  67. if ((arg == NULL)) {
  68. ^~
  69. =
  70. 2 warnings generated.
  71. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  72. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /User
  73. s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/mkcsysimg src/mkcsysimg.c
  74. src/mkcsysimg.c:347:11: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
  75. if ((arg == NULL)) {
  76. ~~~~^~~~~~~
  77. src/mkcsysimg.c:347:11: note: remove extraneous parentheses around the comparison to silence this warning
  78. if ((arg == NULL)) {
  79. ~ ^ ~
  80. src/mkcsysimg.c:347:11: note: use '=' to turn this equality comparison into an assignment
  81. if ((arg == NULL)) {
  82. ^~
  83. =
  84. src/mkcsysimg.c:455:16: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
  85. csum16_update(&pad, 1, css);
  86. ^~~~
  87. src/mkcsysimg.c:426:24: note: passing argument to parameter 'p' here
  88. csum16_update(uint8_t *p, uint32_t len, struct csum_state *css)
  89. ^
  90. src/mkcsysimg.c:626:33: warning: passing 'char [16384]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
  91. res = write_out_data(outfile, buf, buflen, block->css);
  92. ^~~
  93. src/mkcsysimg.c:506:40: note: passing argument to parameter 'data' here
  94. write_out_data(FILE *outfile, uint8_t *data, size_t len,
  95. ^
  96. 3 warnings generated.
  97. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  98. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /User
  99. s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/mkzynfw src/mkzynfw.c
  100. src/mkzynfw.c:378:11: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
  101. if ((arg == NULL)) {
  102. ~~~~^~~~~~~
  103. src/mkzynfw.c:378:11: note: remove extraneous parentheses around the comparison to silence this warning
  104. if ((arg == NULL)) {
  105. ~ ^ ~
  106. src/mkzynfw.c:378:11: note: use '=' to turn this equality comparison into an assignment
  107. if ((arg == NULL)) {
  108. ^~
  109. =
  110. src/mkzynfw.c:483:14: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
  111. csum_update(&pad, 1, css);
  112. ^~~~
  113. src/mkzynfw.c:447:22: note: passing argument to parameter 'p' here
  114. csum_update(uint8_t *p, uint32_t len, struct csum_state *css)
  115. ^
  116. src/mkzynfw.c:574:11: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
  117. t.addr = HOST_TO_BE32(hdr->addr);
  118. ^
  119. src/mkzynfw.c:40:27: note: expanded from macro 'HOST_TO_BE32'
  120. # define HOST_TO_BE32(x) bswap_32(x)
  121. ^
  122. /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
  123. #define bswap_32(x) NXSwapInt(x)
  124. ^
  125. /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
  126. NXSwapInt(
  127. ^
  128. src/mkzynfw.c:578:12: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
  129. t.osize = HOST_TO_BE32(hdr->osize);
  130. ^
  131. src/mkzynfw.c:40:27: note: expanded from macro 'HOST_TO_BE32'
  132. # define HOST_TO_BE32(x) bswap_32(x)
  133. ^
  134. /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
  135. #define bswap_32(x) NXSwapInt(x)
  136. ^
  137. /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
  138. NXSwapInt(
  139. ^
  140. src/mkzynfw.c:579:12: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
  141. t.csize = HOST_TO_BE32(hdr->csize);
  142. ^
  143. src/mkzynfw.c:40:27: note: expanded from macro 'HOST_TO_BE32'
  144. # define HOST_TO_BE32(x) bswap_32(x)
  145. ^
  146. /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
  147. #define bswap_32(x) NXSwapInt(x)
  148. ^
  149. /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
  150. NXSwapInt(
  151. ^
  152. src/mkzynfw.c:580:12: warning: 'NXSwapShort' is deprecated [-Wdeprecated-declarations]
  153. t.ccsum = HOST_TO_BE16(hdr->ccsum); [575/11574]
  154. ^
  155. src/mkzynfw.c:39:27: note: expanded from macro 'HOST_TO_BE16'
  156. # define HOST_TO_BE16(x) bswap_16(x)
  157. ^
  158. /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:10:21: note: expanded from macro 'bswap_16'
  159. #define bswap_16(x) NXSwapShort(x)
  160. ^
  161. /usr/include/architecture/byte_order.h:45:1: note: 'NXSwapShort' has been explicitly marked deprecated here
  162. NXSwapShort(
  163. ^
  164. src/mkzynfw.c:582:16: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
  165. t.mmap_addr = HOST_TO_BE32(hdr->mmap_addr);
  166. ^
  167. src/mkzynfw.c:40:27: note: expanded from macro 'HOST_TO_BE32'
  168. # define HOST_TO_BE32(x) bswap_32(x)
  169. ^
  170. /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
  171. #define bswap_32(x) NXSwapInt(x)
  172. ^
  173. /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
  174. NXSwapInt(
  175. ^
  176. src/mkzynfw.c:614:7: warning: assigning to 'char *' from 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
  177. data = buf+sizeof(*mh);
  178. ^ ~~~~~~~~~~~~~~~
  179. src/mkzynfw.c:617:38: warning: 'NXSwapShort' is deprecated [-Wdeprecated-declarations]
  180. data += sprintf(data, "Model 1 %d", BE16_TO_HOST(board->model));
  181. ^
  182. src/mkzynfw.c:41:27: note: expanded from macro 'BE16_TO_HOST'
  183. # define BE16_TO_HOST(x) bswap_16(x)
  184. ^
  185. /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:10:21: note: expanded from macro 'bswap_16'
  186. #define bswap_16(x) NXSwapShort(x)
  187. ^
  188. /usr/include/architecture/byte_order.h:45:1: note: 'NXSwapShort' has been explicitly marked deprecated here
  189. NXSwapShort(
  190. ^
  191. src/mkzynfw.c:624:18: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
  192. mh->user_start= HOST_TO_BE32(mmap->addr+sizeof(*mh));
  193. ^
  194. src/mkzynfw.c:40:27: note: expanded from macro 'HOST_TO_BE32'
  195. # define HOST_TO_BE32(x) bswap_32(x)
  196. ^
  197. /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
  198. #define bswap_32(x) NXSwapInt(x)
  199. ^
  200. /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
  201. NXSwapInt(
  202. ^
  203. src/mkzynfw.c:625:16: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
  204. mh->user_end= HOST_TO_BE32(mmap->addr+user_size);
  205. ^
  206. src/mkzynfw.c:40:27: note: expanded from macro 'HOST_TO_BE32'
  207. # define HOST_TO_BE32(x) bswap_32(x)
  208. ^
  209. /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
  210. #define bswap_32(x) NXSwapInt(x)
  211. ^
  212. /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
  213. NXSwapInt(
  214. ^
  215. src/mkzynfw.c:626:13: warning: 'NXSwapShort' is deprecated [-Wdeprecated-declarations]
  216. mh->csum = HOST_TO_BE16(csum_buf(buf+sizeof(*mh), user_size));
  217. ^
  218. src/mkzynfw.c:39:27: note: expanded from macro 'HOST_TO_BE16'
  219. # define HOST_TO_BE16(x) bswap_16(x)
  220. ^
  221. /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:10:21: note: expanded from macro 'bswap_16'
  222. #define bswap_16(x) NXSwapShort(x)
  223. ^
  224. /usr/include/architecture/byte_order.h:45:1: note: 'NXSwapShort' has been explicitly marked deprecated here
  225. NXSwapShort(
  226. ^
  227. src/mkzynfw.c:714:33: warning: passing 'char [16384]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
  228. res = write_out_data(outfile, buf, buflen, css);
  229. ^~~
  230. src/mkzynfw.c:502:40: note: passing argument to parameter 'data' here
  231. write_out_data(FILE *outfile, uint8_t *data, size_t len,
  232. ^
  233. src/mkzynfw.c:839:14: warning: 'NXSwapShort' is deprecated [-Wdeprecated-declarations]
  234. hdr.ocsum = BE16_TO_HOST(hdr.ocsum);
  235. ^
  236. src/mkzynfw.c:41:27: note: expanded from macro 'BE16_TO_HOST'
  237. # define BE16_TO_HOST(x) bswap_16(x)
  238. ^
  239. /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:10:21: note: expanded from macro 'bswap_16'
  240. #define bswap_16(x) NXSwapShort(x)
  241. ^
  242. /usr/include/architecture/byte_order.h:45:1: note: 'NXSwapShort' has been explicitly marked deprecated here
  243. NXSwapShort(
  244. ^
  245. src/mkzynfw.c:848:6: warning: 'NXSwapShort' is deprecated [-Wdeprecated-declarations]
  246. t = HOST_TO_BE16(t);
  247. ^
  248. src/mkzynfw.c:39:27: note: expanded from macro 'HOST_TO_BE16'
  249. # define HOST_TO_BE16(x) bswap_16(x)
  250. ^
  251. /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:10:21: note: expanded from macro 'bswap_16'
  252. #define bswap_16(x) NXSwapShort(x)
  253. ^
  254. /usr/include/architecture/byte_order.h:45:1: note: 'NXSwapShort' has been explicitly marked deprecated here
  255. NXSwapShort(
  256. ^
  257. 16 warnings generated.
  258. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  259. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /User
  260. s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/lzma2eva src/lzma2eva.c -lz
  261. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  262. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /User
  263. s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/mkcasfw src/mkcasfw.c
  264. src/mkcasfw.c:387:11: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
  265. if ((arg == NULL)) {
  266. ~~~~^~~~~~~
  267. src/mkcasfw.c:387:11: note: remove extraneous parentheses around the comparison to silence this warning
  268. if ((arg == NULL)) {
  269. ~ ^ ~
  270. src/mkcasfw.c:387:11: note: use '=' to turn this equality comparison into an assignment
  271. if ((arg == NULL)) {
  272. ^~
  273. =
  274. src/mkcasfw.c:495:16: warning: passing 'char *' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
  275. csum16_update(&pad, 1, css);
  276. ^~~~
  277. src/mkcasfw.c:466:24: note: passing argument to parameter 'p' here
  278. csum16_update(uint8_t *p, uint32_t len, struct csum_state *css)
  279. ^
  280. src/mkcasfw.c:676:33: warning: passing 'char [16384]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
  281. res = write_out_data(outfile, buf, buflen, css);
  282. ^~~
  283. src/mkcasfw.c:567:40: note: passing argument to parameter 'data' here
  284. write_out_data(FILE *outfile, uint8_t *data, size_t len,
  285. ^
  286. 3 warnings generated.
  287. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  288. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /User
  289. s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/mkfwimage src/mkfwimage.c -lz -Wall
  290. src/mkfwimage.c:213:8: warning: format specifies type 'long' but the argument has type 'off_t' (aka 'long long') [-Wformat]
  291. d->stats.st_size,
  292. ^~~~~~~~~~~~~~~~
  293. src/fw.h:62:35: note: expanded from macro 'INFO'
  294. #define INFO(...) fprintf(stdout, __VA_ARGS__)
  295. ^~~~~~~~~~~
  296. src/mkfwimage.c:214:8: warning: format specifies type 'long' but the argument has type 'long long' [-Wformat]
  297. d->partition_length - d->stats.st_size);
  298. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  299. src/fw.h:62:35: note: expanded from macro 'INFO'
  300. #define INFO(...) fprintf(stdout, __VA_ARGS__)
  301. ^~~~~~~~~~~
  302. src/mkfwimage.c:316:6: warning: format specifies type 'unsigned long' but the argument has type 'long long' [-Wformat]
  303. d->stats.st_size - d->partition_length);
  304. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  305. src/fw.h:63:45: note: expanded from macro 'ERROR'
  306. #define ERROR(...) fprintf(stderr, "ERROR: "__VA_ARGS__)
  307. ^~~~~~~~~~~
  308. 3 warnings generated.
  309. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  310. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /User
  311. s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/mkfwimage2 src/mkfwimage2.c -lz
  312. src/mkfwimage2.c:165:8: warning: format specifies type 'long' but the argument has type 'off_t' (aka 'long long') [-Wformat]
  313. d->stats.st_size,
  314. ^~~~~~~~~~~~~~~~
  315. src/fw.h:62:35: note: expanded from macro 'INFO'
  316. #define INFO(...) fprintf(stdout, __VA_ARGS__)
  317. ^~~~~~~~~~~
  318. src/mkfwimage2.c:166:8: warning: format specifies type 'long' but the argument has type 'long long' [-Wformat]
  319. d->partition_length - d->stats.st_size);
  320. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  321. src/fw.h:62:35: note: expanded from macro 'INFO'
  322. #define INFO(...) fprintf(stdout, __VA_ARGS__)
  323. ^~~~~~~~~~~
  324. src/mkfwimage2.c:304:5: warning: format specifies type 'unsigned long' but the argument has type 'long long' [-Wformat]
  325. d->stats.st_size - d->partition_length);
  326. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  327. src/fw.h:63:45: note: expanded from macro 'ERROR'
  328. #define ERROR(...) fprintf(stderr, "ERROR: "__VA_ARGS__)
  329. ^~~~~~~~~~~
  330. 3 warnings generated.
  331. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  332. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /User
  333. s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/imagetag src/imagetag.c src/imagetag_cmdline.c src/cyg_crc32.c
  334. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  335. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /User
  336. s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/add_header src/add_header.c
  337. src/add_header.c:111:10: warning: passing 'unsigned char [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  338. strncpy(header.model, argv[1], sizeof(header.model));
  339. ^~~~~~~~~~~~
  340. /usr/include/secure/_string.h:119:28: note: expanded from macro 'strncpy'
  341. __builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
  342. ^~~~
  343. 1 warning generated.
  344. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  345. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /User
  346. s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/makeamitbin src/makeamitbin.c
  347. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  348. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /User
  349. s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/encode_crc src/encode_crc.c
  350. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  351. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /User
  352. s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/nand_ecc src/nand_ecc.c
  353. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  354. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /User
  355. s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/mkplanexfw src/mkplanexfw.c src/sha1.c
  356. src/mkplanexfw.c:197:31: warning: format specifies type 'unsigned long' but the argument has type 'long long' [-Wformat]
  357. ifname, board->datalen, st.st_size - board->datalen);
  358. ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  359. src/mkplanexfw.c:79:17: note: expanded from macro 'ERR'
  360. progname, ## __VA_ARGS__ ); \
  361. ^~~~~~~~~~~
  362. src/mkplanexfw.c:211:17: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
  363. hdr->datalen = HOST_TO_BE32(board->datalen);
  364. ^
  365. src/mkplanexfw.c:27:27: note: expanded from macro 'HOST_TO_BE32'
  366. # define HOST_TO_BE32(x) bswap_32(x)
  367. ^
  368. /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
  369. #define bswap_32(x) NXSwapInt(x)
  370. ^
  371. /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
  372. NXSwapInt(
  373. ^
  374. src/mkplanexfw.c:230:9: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
  375. seed = HOST_TO_BE32(board->seed);
  376. ^
  377. src/mkplanexfw.c:27:27: note: expanded from macro 'HOST_TO_BE32'
  378. # define HOST_TO_BE32(x) bswap_32(x)
  379. ^
  380. /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
  381. #define bswap_32(x) NXSwapInt(x)
  382. ^
  383. /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
  384. NXSwapInt(
  385. ^
  386. src/mkplanexfw.c:233:20: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  387. sha1_update(&ctx, buf + sizeof(*hdr), board->datalen);
  388. ^~~~~~~~~~~~~~~~~~
  389. src/sha1.h:29:45: note: passing argument to parameter 'input' here
  390. void sha1_update( sha1_context *ctx, uchar *input, uint length );
  391. ^
  392. 4 warnings generated.
  393. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  394. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /User
  395. s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/mktplinkfw src/mktplinkfw.c src/md5.c -Wall
  396. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  397. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /User
  398. s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/mktplinkfw2 src/mktplinkfw2.c src/md5.c
  399. src/mktplinkfw2.c:304:1: warning: control reaches end of non-void function [-Wreturn-type]
  400. }
  401. ^
  402. src/mktplinkfw2.c:491:23: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
  403. hdr->version = htonl(bswap_32(hdr_ver));
  404. ^
  405. /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
  406. #define bswap_32(x) NXSwapInt(x)
  407. ^
  408. /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
  409. NXSwapInt(
  410. ^
  411. src/mktplinkfw2.c:491:23: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
  412. hdr->version = htonl(bswap_32(hdr_ver));
  413. ^
  414. /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
  415. #define bswap_32(x) NXSwapInt(x)
  416. ^
  417. /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
  418. NXSwapInt(
  419. ^
  420. src/mktplinkfw2.c:491:23: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
  421. hdr->version = htonl(bswap_32(hdr_ver));
  422. ^
  423. /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
  424. #define bswap_32(x) NXSwapInt(x)
  425. ^
  426. /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
  427. NXSwapInt(
  428. ^
  429. src/mktplinkfw2.c:491:23: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
  430. hdr->version = htonl(bswap_32(hdr_ver));
  431. ^
  432. /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
  433. #define bswap_32(x) NXSwapInt(x)
  434. ^
  435. /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
  436. NXSwapInt(
  437. ^
  438. src/mktplinkfw2.c:491:23: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
  439. hdr->version = htonl(bswap_32(hdr_ver));
  440. ^
  441. /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
  442. #define bswap_32(x) NXSwapInt(x)
  443. ^
  444. /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
  445. NXSwapInt(
  446. ^
  447. src/mktplinkfw2.c:491:23: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
  448. hdr->version = htonl(bswap_32(hdr_ver));
  449. ^
  450. /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
  451. #define bswap_32(x) NXSwapInt(x)
  452. ^
  453. /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
  454. NXSwapInt(
  455. ^
  456. src/mktplinkfw2.c:539:20: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
  457. hdr->kernel_la = bswap_32(hdr->kernel_la);
  458. ^
  459. /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
  460. #define bswap_32(x) NXSwapInt(x)
  461. ^
  462. /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
  463. NXSwapInt(
  464. ^
  465. src/mktplinkfw2.c:540:20: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
  466. hdr->kernel_ep = bswap_32(hdr->kernel_ep);
  467. ^
  468. /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
  469. #define bswap_32(x) NXSwapInt(x)
  470. ^
  471. /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
  472. NXSwapInt(
  473. ^
  474. src/mktplinkfw2.c:543:20: warning: passing 'uint8_t [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  475. get_md5(buf, len, hdr->md5sum1);
  476. ^~~~~~~~~~~~
  477. src/mktplinkfw2.c:297:48: note: passing argument to parameter 'md5' here
  478. static int get_md5(char *data, int size, char *md5)
  479. ^
  480. src/mktplinkfw2.c:758:9: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
  481. switch(bswap_32(ntohl(hdr->version))) {
  482. ^
  483. /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
  484. #define bswap_32(x) NXSwapInt(x)
  485. ^
  486. /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
  487. NXSwapInt(
  488. ^
  489. src/mktplinkfw2.c:777:39: warning: passing 'uint8_t [16]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  490. get_md5(buf, inspect_info.file_size, hdr->md5sum1);
  491. ^~~~~~~~~~~~
  492. src/mktplinkfw2.c:297:48: note: passing argument to parameter 'md5' here
  493. static int get_md5(char *data, int size, char *md5)
  494. ^
  495. 12 warnings generated.
  496. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  497. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /User
  498. s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/tplink-safeloader src/tplink-safeloader.c src/md5.c -Wall
  499. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  500. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /User
  501. s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/pc1crypt src/pc1crypt.c
  502. src/pc1crypt.c:170:9: warning: passing 'unsigned char [17]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  503. strcpy(pc1->cle, "Remsaalps!123456");
  504. ^~~~~~~~
  505. /usr/include/secure/_string.h:83:27: note: expanded from macro 'strcpy'
  506. __builtin___strcpy_chk (dest, src, __darwin_obsz (dest))
  507. ^~~~
  508. src/pc1crypt.c:326:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  509. pc1_decrypt_buf(&pc1, buf, datalen);
  510. ^~~
  511. src/pc1crypt.c:173:65: note: passing argument to parameter 'buf' here
  512. static void pc1_decrypt_buf(struct pc1_ctx *pc1, unsigned char *buf,
  513. ^
  514. src/pc1crypt.c:328:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  515. pc1_encrypt_buf(&pc1, buf, datalen);
  516. ^~~
  517. src/pc1crypt.c:182:65: note: passing argument to parameter 'buf' here
  518. static void pc1_encrypt_buf(struct pc1_ctx *pc1, unsigned char *buf,
  519. ^
  520. 3 warnings generated.
  521. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  522. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /User
  523. s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/osbridge-crc src/osbridge-crc.c
  524. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  525. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /User
  526. s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/wrt400n src/wrt400n.c src/cyg_crc32.c
  527. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  528. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /User
  529. s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/mkdniimg src/mkdniimg.c
  530. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  531. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /User
  532. s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/mktitanimg src/mktitanimg.c
  533. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  534. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /User
  535. s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/mkchkimg src/mkchkimg.c
  536. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  537. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /User
  538. s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/mkzcfw src/mkzcfw.c src/cyg_crc32.c
  539. src/mkzcfw.c:317:16: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
  540. tail->hw_id = HOST_TO_BE32(board->hw_id);
  541. ^
  542. src/mkzcfw.c:29:27: note: expanded from macro 'HOST_TO_BE32'
  543. # define HOST_TO_BE32(x) bswap_32(x)
  544. ^
  545. /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
  546. #define bswap_32(x) NXSwapInt(x)
  547. ^
  548. /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
  549. NXSwapInt(
  550. ^
  551. src/mkzcfw.c:318:14: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
  552. tail->crc = HOST_TO_BE32(cyg_crc32(p, kernel_info.file_size +
  553. ^
  554. src/mkzcfw.c:29:27: note: expanded from macro 'HOST_TO_BE32'
  555. # define HOST_TO_BE32(x) bswap_32(x)
  556. ^
  557. /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
  558. #define bswap_32(x) NXSwapInt(x)
  559. ^
  560. /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
  561. NXSwapInt(
  562. ^
  563. src/mkzcfw.c:318:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  564. tail->crc = HOST_TO_BE32(cyg_crc32(p, kernel_info.file_size +
  565. ^
  566. src/mkzcfw.c:29:36: note: expanded from macro 'HOST_TO_BE32'
  567. # define HOST_TO_BE32(x) bswap_32(x)
  568. ^
  569. /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:31: note: expanded from macro 'bswap_32'
  570. #define bswap_32(x) NXSwapInt(x)
  571. ^
  572. src/cyg_crc.h:82:26: note: passing argument to parameter 's' here
  573. cyg_crc32(unsigned char *s, int len);
  574. ^
  575. src/mkzcfw.c:337:16: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
  576. tail->hw_id = HOST_TO_BE32(board->hw_id);
  577. ^
  578. src/mkzcfw.c:29:27: note: expanded from macro 'HOST_TO_BE32'
  579. # define HOST_TO_BE32(x) bswap_32(x)
  580. ^
  581. /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
  582. #define bswap_32(x) NXSwapInt(x)
  583. ^
  584. /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
  585. NXSwapInt(
  586. ^
  587. src/mkzcfw.c:338:14: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
  588. tail->crc = HOST_TO_BE32(cyg_crc32(p, rootfs_info.file_size +
  589. ^
  590. src/mkzcfw.c:29:27: note: expanded from macro 'HOST_TO_BE32'
  591. # define HOST_TO_BE32(x) bswap_32(x)
  592. /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
  593. #define bswap_32(x) NXSwapInt(x)
  594. ^
  595. /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
  596. NXSwapInt(
  597. ^
  598. src/mkzcfw.c:338:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  599. tail->crc = HOST_TO_BE32(cyg_crc32(p, rootfs_info.file_size +
  600. ^
  601. src/mkzcfw.c:29:36: note: expanded from macro 'HOST_TO_BE32'
  602. # define HOST_TO_BE32(x) bswap_32(x)
  603. ^
  604. /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:31: note: expanded from macro 'bswap_32'
  605. #define bswap_32(x) NXSwapInt(x)
  606. ^
  607. src/cyg_crc.h:82:26: note: passing argument to parameter 's' here
  608. cyg_crc32(unsigned char *s, int len);
  609. ^
  610. src/mkzcfw.c:345:16: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
  611. tail->hw_id = HOST_TO_BE32(board->hw_id);
  612. ^
  613. src/mkzcfw.c:29:27: note: expanded from macro 'HOST_TO_BE32'
  614. # define HOST_TO_BE32(x) bswap_32(x)
  615. ^
  616. /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
  617. #define bswap_32(x) NXSwapInt(x)
  618. ^
  619. /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
  620. NXSwapInt(
  621. ^
  622. src/mkzcfw.c:346:14: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
  623. tail->crc = HOST_TO_BE32(cyg_crc32(buf + sizeof(struct fw_header),
  624. ^
  625. src/mkzcfw.c:29:27: note: expanded from macro 'HOST_TO_BE32'
  626. # define HOST_TO_BE32(x) bswap_32(x)
  627. ^
  628. /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
  629. #define bswap_32(x) NXSwapInt(x)
  630. ^
  631. /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
  632. NXSwapInt(
  633. ^
  634. src/mkzcfw.c:346:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  635. tail->crc = HOST_TO_BE32(cyg_crc32(buf + sizeof(struct fw_header),
  636. ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  637. src/mkzcfw.c:29:36: note: expanded from macro 'HOST_TO_BE32'
  638. # define HOST_TO_BE32(x) bswap_32(x)
  639. ^
  640. /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:31: note: expanded from macro 'bswap_32'
  641. #define bswap_32(x) NXSwapInt(x)
  642. ^
  643. src/cyg_crc.h:82:26: note: passing argument to parameter 's' here
  644. cyg_crc32(unsigned char *s, int len);
  645. ^
  646. 9 warnings generated.
  647. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  648. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /User
  649. s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/spw303v src/spw303v.c
  650. src/spw303v.c:143:25: warning: passing 'char [64]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
  651. crc = htonl(crc32(crc, fake_data, 64));
  652. ^~~~~~~~~
  653. /usr/include/sys/_endian.h:136:39: note: expanded from macro 'htonl'
  654. #define htonl(x) __DARWIN_OSSwapInt32(x)
  655. ^
  656. /usr/include/libkern/_OSByteOrder.h:75:27: note: expanded from macro '__DARWIN_OSSwapInt32'
  657. (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
  658. ^
  659. src/spw303v.c:121:39: note: passing argument to parameter 'data' here
  660. uint32_t crc32(uint32_t crc, uint8_t *data, size_t len)
  661. ^
  662. src/spw303v.c:143:25: warning: passing 'char [64]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
  663. crc = htonl(crc32(crc, fake_data, 64));
  664. ^~~~~~~~~
  665. /usr/include/sys/_endian.h:136:39: note: expanded from macro 'htonl'
  666. #define htonl(x) __DARWIN_OSSwapInt32(x)
  667. ^
  668. /usr/include/libkern/_OSByteOrder.h:75:58: note: expanded from macro '__DARWIN_OSSwapInt32'
  669. (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
  670. ^
  671. /usr/include/libkern/_OSByteOrder.h:48:34: note: expanded from macro '__DARWIN_OSSwapConstInt32'
  672. ((__uint32_t)((((__uint32_t)(x) & 0xff000000) >> 24) | \
  673. ^
  674. src/spw303v.c:121:39: note: passing argument to parameter 'data' here
  675. uint32_t crc32(uint32_t crc, uint8_t *data, size_t len)
  676. ^
  677. src/spw303v.c:143:25: warning: passing 'char [64]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
  678. crc = htonl(crc32(crc, fake_data, 64));
  679. ^~~~~~~~~
  680. /usr/include/sys/_endian.h:136:39: note: expanded from macro 'htonl'
  681. #define htonl(x) __DARWIN_OSSwapInt32(x)
  682. ^
  683. /usr/include/libkern/_OSByteOrder.h:75:58: note: expanded from macro '__DARWIN_OSSwapInt32'
  684. (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
  685. ^
  686. /usr/include/libkern/_OSByteOrder.h:49:32: note: expanded from macro '__DARWIN_OSSwapConstInt32'
  687. (((__uint32_t)(x) & 0x00ff0000) >> 8) | \
  688. ^
  689. src/spw303v.c:121:39: note: passing argument to parameter 'data' here
  690. uint32_t crc32(uint32_t crc, uint8_t *data, size_t len)
  691. ^
  692. src/spw303v.c:143:25: warning: passing 'char [64]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
  693. crc = htonl(crc32(crc, fake_data, 64));
  694. ^~~~~~~~~
  695. /usr/include/sys/_endian.h:136:39: note: expanded from macro 'htonl'
  696. #define htonl(x) __DARWIN_OSSwapInt32(x)
  697. ^
  698. /usr/include/libkern/_OSByteOrder.h:75:58: note: expanded from macro '__DARWIN_OSSwapInt32'
  699. (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
  700. ^
  701. /usr/include/libkern/_OSByteOrder.h:50:32: note: expanded from macro '__DARWIN_OSSwapConstInt32'
  702. (((__uint32_t)(x) & 0x0000ff00) << 8) | \
  703. ^
  704. src/spw303v.c:121:39: note: passing argument to parameter 'data' here
  705. uint32_t crc32(uint32_t crc, uint8_t *data, size_t len)
  706. ^
  707. src/spw303v.c:143:25: warning: passing 'char [64]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
  708. crc = htonl(crc32(crc, fake_data, 64));
  709. ^~~~~~~~~
  710. /usr/include/sys/_endian.h:136:39: note: expanded from macro 'htonl'
  711. #define htonl(x) __DARWIN_OSSwapInt32(x)
  712. ^
  713. /usr/include/libkern/_OSByteOrder.h:75:58: note: expanded from macro '__DARWIN_OSSwapInt32'
  714. (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
  715. ^
  716. /usr/include/libkern/_OSByteOrder.h:51:32: note: expanded from macro '__DARWIN_OSSwapConstInt32'
  717. (((__uint32_t)(x) & 0x000000ff) << 24)))
  718. ^
  719. src/spw303v.c:121:39: note: passing argument to parameter 'data' here
  720. uint32_t crc32(uint32_t crc, uint8_t *data, size_t len)
  721. ^
  722. src/spw303v.c:143:25: warning: passing 'char [64]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
  723. crc = htonl(crc32(crc, fake_data, 64));
  724. ^~~~~~~~~
  725. /usr/include/sys/_endian.h:136:39: note: expanded from macro 'htonl'
  726. #define htonl(x) __DARWIN_OSSwapInt32(x)
  727. ^
  728. /usr/include/libkern/_OSByteOrder.h:75:76: note: expanded from macro '__DARWIN_OSSwapInt32'
  729. (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
  730. ^
  731. src/spw303v.c:121:39: note: passing argument to parameter 'data' here
  732. uint32_t crc32(uint32_t crc, uint8_t *data, size_t len)
  733. ^
  734. src/spw303v.c:222:32: warning: passing 'char [1024]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
  735. image_crc = crc32(image_crc, buf, n);
  736. ^~~
  737. src/spw303v.c:121:39: note: passing argument to parameter 'data' here
  738. uint32_t crc32(uint32_t crc, uint8_t *data, size_t len)
  739. ^
  740. 7 warnings generated.
  741. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  742. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /User
  743. s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/zyxbcm src/zyxbcm.c
  744. src/zyxbcm.c:174:40: warning: format specifies type 'unsigned long' but the argument has type 'unsigned long long' [-Wformat]
  745. sprintf(zyxtag->flashImageEnd, "%lu", flash_start + rootfs_len + kernel_len);
  746. ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  747. %llu
  748. /usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
  749. __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
  750. ^~~~~~~~~~~
  751. 1 warning generated.
  752. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  753. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /User
  754. s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/trx2edips src/trx2edips.c
  755. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  756. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /User
  757. s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/xorimage src/xorimage.c
  758. src/xorimage.c:114:20: warning: passing 'char [1024]' to parameter of type 'uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
  759. p_off = xor_data(buf, n, pattern, p_len, p_off);
  760. ^~~
  761. src/xorimage.c:31:23: note: passing argument to parameter 'data' here
  762. int xor_data(uint8_t *data, size_t len, const uint8_t *pattern, int p_len, int p_off)
  763. ^
  764. src/xorimage.c:114:28: warning: passing 'const char *' to parameter of type 'const uint8_t *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
  765. p_off = xor_data(buf, n, pattern, p_len, p_off);
  766. ^~~~~~~
  767. src/xorimage.c:31:56: note: passing argument to parameter 'pattern' here
  768. int xor_data(uint8_t *data, size_t len, const uint8_t *pattern, int p_len, int p_off)
  769. ^
  770. 2 warnings generated.
  771. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  772. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /User
  773. s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/buffalo-enc src/buffalo-enc.c src/buffalo-lib.c -Wall
  774. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  775. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /User
  776. s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/buffalo-tag src/buffalo-tag.c src/buffalo-lib.c -Wall
  777. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  778. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /User
  779. s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/buffalo-tftp src/buffalo-tftp.c src/buffalo-lib.c -Wall
  780. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  781. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /User
  782. s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/mkwrgimg src/mkwrgimg.c src/md5.c -Wall
  783. ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
  784. gcc -O2 -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include -I/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/include -I/usr/local/opt/openssl/include -include endian.h -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/lib -L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib -L/usr/local/opt/openssl/lib -o /User
  785. s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/mkwrggimg src/mkwrggimg.c src/md5.c -Wall
  786. src/mkwrggimg.c:64:14: error: redefinition of 'devname' as different kind of symbol
  787. static char *devname;
  788. ^
  789. /usr/include/stdlib.h:268:7: note: previous definition is here
  790. char *devname(dev_t, mode_t);
  791. ^
  792. src/mkwrggimg.c:147:12: error: non-object type 'char *(dev_t, mode_t)' (aka 'char *(int, unsigned short)') is not assignable
  793. devname = optarg;
  794. ~~~~~~~ ^
  795. src/mkwrggimg.c:192:6: warning: comparison of function 'devname' equal to a null pointer is always false [-Wtautological-pointer-compare]
  796. if (devname == NULL) {
  797. ^~~~~~~ ~~~~
  798. src/mkwrggimg.c:192:6: note: prefix with the address-of operator to silence this warning
  799. if (devname == NULL) {
  800. ^
  801. &
  802. src/mkwrggimg.c:251:27: warning: incompatible pointer types passing 'char *(dev_t, mode_t)' (aka 'char *(int, unsigned short)') to parameter of type 'const char *' [-Wincompatible-pointer-types]
  803. strncpy(header->devname, devname, sizeof(header->devname));
  804. ^~~~~~~
  805. /usr/include/secure/_string.h:119:34: note: expanded from macro 'strncpy'
  806. __builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
  807. ^~~
  808. 2 warnings and 2 errors generated.
  809. make[3]: *** [Makefile:128: /Users/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/.built] Error 1
  810. make[3]: Leaving directory '/Users/bluse/Desktop/Coding-Area/LEDE/tools/firmware-utils'
  811. make[2]: *** [tools/Makefile:149: tools/firmware-utils/compile] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement