Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- make[3]: Entering directory '/Users/bluse/Desktop/Coding-Area/LEDE/tools/firmware-utils'
- touch /Users/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/.preparedf39ad8b05c3fcaf070a373803807749b
- (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 )
- touch /Users/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/.configured
- mkdir -p /Users/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin
- 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
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- src/asustrx.c:135:42: warning: format specifies type 'unsigned short *' but the argument has type 'uint8_t *' (aka 'unsigned char *') [-Wformat]
- if (sscanf(optarg, "%hu.%hu.%hu.%hu", &version[0], &version[1], &version[2], &version[3]) != 4)
- ~~~ ^~~~~~~~~~~
- %s
- src/asustrx.c:135:55: warning: format specifies type 'unsigned short *' but the argument has type 'uint8_t *' (aka 'unsigned char *') [-Wformat]
- if (sscanf(optarg, "%hu.%hu.%hu.%hu", &version[0], &version[1], &version[2], &version[3]) != 4)
- ~~~ ^~~~~~~~~~~
- %s
- src/asustrx.c:135:68: warning: format specifies type 'unsigned short *' but the argument has type 'uint8_t *' (aka 'unsigned char *') [-Wformat]
- if (sscanf(optarg, "%hu.%hu.%hu.%hu", &version[0], &version[1], &version[2], &version[3]) != 4)
- ~~~ ^~~~~~~~~~~
- %s
- src/asustrx.c:135:81: warning: format specifies type 'unsigned short *' but the argument has type 'uint8_t *' (aka 'unsigned char *') [-Wformat]
- if (sscanf(optarg, "%hu.%hu.%hu.%hu", &version[0], &version[1], &version[2], &version[3]) != 4)
- ~~~ ^~~~~~~~~~~
- %s
- 4 warnings generated.
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- src/srec2bin.c:407:27: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
- if (itmp|=s1s2s3_total) return(SRLerrorout("Incorrect number of S3 Record processed",scp));
- ~~~~^~~~~~~~~~~~~~
- src/srec2bin.c:407:27: note: place parentheses around the assignment to silence this warning
- if (itmp|=s1s2s3_total) return(SRLerrorout("Incorrect number of S3 Record processed",scp));
- ^
- ( )
- src/srec2bin.c:407:27: note: use '!=' to turn this compound assignment into an inequality comparison
- if (itmp|=s1s2s3_total) return(SRLerrorout("Incorrect number of S3 Record processed",scp));
- ^~
- !=
- 1 warning generated.
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- 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]
- if (write_out_data(outfile, buff, buflen, crc) != 0)
- ^~~~
- src/mkmylofw.c:481:40: note: passing argument to parameter 'data' here
- write_out_data(FILE *outfile, uint8_t *data, size_t len, uint32_t *crc)
- ^
- src/mkmylofw.c:743:11: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
- if ((arg == NULL)) {
- ~~~~^~~~~~~
- src/mkmylofw.c:743:11: note: remove extraneous parentheses around the comparison to silence this warning
- if ((arg == NULL)) {
- ~ ^ ~
- src/mkmylofw.c:743:11: note: use '=' to turn this equality comparison into an assignment
- if ((arg == NULL)) {
- ^~
- =
- 2 warnings generated.
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/mkcsysimg src/mkcsysimg.c
- src/mkcsysimg.c:347:11: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
- if ((arg == NULL)) {
- ~~~~^~~~~~~
- src/mkcsysimg.c:347:11: note: remove extraneous parentheses around the comparison to silence this warning
- if ((arg == NULL)) {
- ~ ^ ~
- src/mkcsysimg.c:347:11: note: use '=' to turn this equality comparison into an assignment
- if ((arg == NULL)) {
- ^~
- =
- 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]
- csum16_update(&pad, 1, css);
- ^~~~
- src/mkcsysimg.c:426:24: note: passing argument to parameter 'p' here
- csum16_update(uint8_t *p, uint32_t len, struct csum_state *css)
- ^
- 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]
- res = write_out_data(outfile, buf, buflen, block->css);
- ^~~
- src/mkcsysimg.c:506:40: note: passing argument to parameter 'data' here
- write_out_data(FILE *outfile, uint8_t *data, size_t len,
- ^
- 3 warnings generated.
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/mkzynfw src/mkzynfw.c
- src/mkzynfw.c:378:11: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
- if ((arg == NULL)) {
- ~~~~^~~~~~~
- src/mkzynfw.c:378:11: note: remove extraneous parentheses around the comparison to silence this warning
- if ((arg == NULL)) {
- ~ ^ ~
- src/mkzynfw.c:378:11: note: use '=' to turn this equality comparison into an assignment
- if ((arg == NULL)) {
- ^~
- =
- 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]
- csum_update(&pad, 1, css);
- ^~~~
- src/mkzynfw.c:447:22: note: passing argument to parameter 'p' here
- csum_update(uint8_t *p, uint32_t len, struct csum_state *css)
- ^
- src/mkzynfw.c:574:11: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
- t.addr = HOST_TO_BE32(hdr->addr);
- ^
- src/mkzynfw.c:40:27: note: expanded from macro 'HOST_TO_BE32'
- # define HOST_TO_BE32(x) bswap_32(x)
- ^
- /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
- #define bswap_32(x) NXSwapInt(x)
- ^
- /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
- NXSwapInt(
- ^
- src/mkzynfw.c:578:12: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
- t.osize = HOST_TO_BE32(hdr->osize);
- ^
- src/mkzynfw.c:40:27: note: expanded from macro 'HOST_TO_BE32'
- # define HOST_TO_BE32(x) bswap_32(x)
- ^
- /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
- #define bswap_32(x) NXSwapInt(x)
- ^
- /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
- NXSwapInt(
- ^
- src/mkzynfw.c:579:12: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
- t.csize = HOST_TO_BE32(hdr->csize);
- ^
- src/mkzynfw.c:40:27: note: expanded from macro 'HOST_TO_BE32'
- # define HOST_TO_BE32(x) bswap_32(x)
- ^
- /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
- #define bswap_32(x) NXSwapInt(x)
- ^
- /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
- NXSwapInt(
- ^
- src/mkzynfw.c:580:12: warning: 'NXSwapShort' is deprecated [-Wdeprecated-declarations]
- t.ccsum = HOST_TO_BE16(hdr->ccsum); [575/11574]
- ^
- src/mkzynfw.c:39:27: note: expanded from macro 'HOST_TO_BE16'
- # define HOST_TO_BE16(x) bswap_16(x)
- ^
- /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:10:21: note: expanded from macro 'bswap_16'
- #define bswap_16(x) NXSwapShort(x)
- ^
- /usr/include/architecture/byte_order.h:45:1: note: 'NXSwapShort' has been explicitly marked deprecated here
- NXSwapShort(
- ^
- src/mkzynfw.c:582:16: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
- t.mmap_addr = HOST_TO_BE32(hdr->mmap_addr);
- ^
- src/mkzynfw.c:40:27: note: expanded from macro 'HOST_TO_BE32'
- # define HOST_TO_BE32(x) bswap_32(x)
- ^
- /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
- #define bswap_32(x) NXSwapInt(x)
- ^
- /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
- NXSwapInt(
- ^
- 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]
- data = buf+sizeof(*mh);
- ^ ~~~~~~~~~~~~~~~
- src/mkzynfw.c:617:38: warning: 'NXSwapShort' is deprecated [-Wdeprecated-declarations]
- data += sprintf(data, "Model 1 %d", BE16_TO_HOST(board->model));
- ^
- src/mkzynfw.c:41:27: note: expanded from macro 'BE16_TO_HOST'
- # define BE16_TO_HOST(x) bswap_16(x)
- ^
- /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:10:21: note: expanded from macro 'bswap_16'
- #define bswap_16(x) NXSwapShort(x)
- ^
- /usr/include/architecture/byte_order.h:45:1: note: 'NXSwapShort' has been explicitly marked deprecated here
- NXSwapShort(
- ^
- src/mkzynfw.c:624:18: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
- mh->user_start= HOST_TO_BE32(mmap->addr+sizeof(*mh));
- ^
- src/mkzynfw.c:40:27: note: expanded from macro 'HOST_TO_BE32'
- # define HOST_TO_BE32(x) bswap_32(x)
- ^
- /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
- #define bswap_32(x) NXSwapInt(x)
- ^
- /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
- NXSwapInt(
- ^
- src/mkzynfw.c:625:16: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
- mh->user_end= HOST_TO_BE32(mmap->addr+user_size);
- ^
- src/mkzynfw.c:40:27: note: expanded from macro 'HOST_TO_BE32'
- # define HOST_TO_BE32(x) bswap_32(x)
- ^
- /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
- #define bswap_32(x) NXSwapInt(x)
- ^
- /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
- NXSwapInt(
- ^
- src/mkzynfw.c:626:13: warning: 'NXSwapShort' is deprecated [-Wdeprecated-declarations]
- mh->csum = HOST_TO_BE16(csum_buf(buf+sizeof(*mh), user_size));
- ^
- src/mkzynfw.c:39:27: note: expanded from macro 'HOST_TO_BE16'
- # define HOST_TO_BE16(x) bswap_16(x)
- ^
- /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:10:21: note: expanded from macro 'bswap_16'
- #define bswap_16(x) NXSwapShort(x)
- ^
- /usr/include/architecture/byte_order.h:45:1: note: 'NXSwapShort' has been explicitly marked deprecated here
- NXSwapShort(
- ^
- 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]
- res = write_out_data(outfile, buf, buflen, css);
- ^~~
- src/mkzynfw.c:502:40: note: passing argument to parameter 'data' here
- write_out_data(FILE *outfile, uint8_t *data, size_t len,
- ^
- src/mkzynfw.c:839:14: warning: 'NXSwapShort' is deprecated [-Wdeprecated-declarations]
- hdr.ocsum = BE16_TO_HOST(hdr.ocsum);
- ^
- src/mkzynfw.c:41:27: note: expanded from macro 'BE16_TO_HOST'
- # define BE16_TO_HOST(x) bswap_16(x)
- ^
- /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:10:21: note: expanded from macro 'bswap_16'
- #define bswap_16(x) NXSwapShort(x)
- ^
- /usr/include/architecture/byte_order.h:45:1: note: 'NXSwapShort' has been explicitly marked deprecated here
- NXSwapShort(
- ^
- src/mkzynfw.c:848:6: warning: 'NXSwapShort' is deprecated [-Wdeprecated-declarations]
- t = HOST_TO_BE16(t);
- ^
- src/mkzynfw.c:39:27: note: expanded from macro 'HOST_TO_BE16'
- # define HOST_TO_BE16(x) bswap_16(x)
- ^
- /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:10:21: note: expanded from macro 'bswap_16'
- #define bswap_16(x) NXSwapShort(x)
- ^
- /usr/include/architecture/byte_order.h:45:1: note: 'NXSwapShort' has been explicitly marked deprecated here
- NXSwapShort(
- ^
- 16 warnings generated.
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/lzma2eva src/lzma2eva.c -lz
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/mkcasfw src/mkcasfw.c
- src/mkcasfw.c:387:11: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
- if ((arg == NULL)) {
- ~~~~^~~~~~~
- src/mkcasfw.c:387:11: note: remove extraneous parentheses around the comparison to silence this warning
- if ((arg == NULL)) {
- ~ ^ ~
- src/mkcasfw.c:387:11: note: use '=' to turn this equality comparison into an assignment
- if ((arg == NULL)) {
- ^~
- =
- 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]
- csum16_update(&pad, 1, css);
- ^~~~
- src/mkcasfw.c:466:24: note: passing argument to parameter 'p' here
- csum16_update(uint8_t *p, uint32_t len, struct csum_state *css)
- ^
- 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]
- res = write_out_data(outfile, buf, buflen, css);
- ^~~
- src/mkcasfw.c:567:40: note: passing argument to parameter 'data' here
- write_out_data(FILE *outfile, uint8_t *data, size_t len,
- ^
- 3 warnings generated.
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/mkfwimage src/mkfwimage.c -lz -Wall
- src/mkfwimage.c:213:8: warning: format specifies type 'long' but the argument has type 'off_t' (aka 'long long') [-Wformat]
- d->stats.st_size,
- ^~~~~~~~~~~~~~~~
- src/fw.h:62:35: note: expanded from macro 'INFO'
- #define INFO(...) fprintf(stdout, __VA_ARGS__)
- ^~~~~~~~~~~
- src/mkfwimage.c:214:8: warning: format specifies type 'long' but the argument has type 'long long' [-Wformat]
- d->partition_length - d->stats.st_size);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/fw.h:62:35: note: expanded from macro 'INFO'
- #define INFO(...) fprintf(stdout, __VA_ARGS__)
- ^~~~~~~~~~~
- src/mkfwimage.c:316:6: warning: format specifies type 'unsigned long' but the argument has type 'long long' [-Wformat]
- d->stats.st_size - d->partition_length);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/fw.h:63:45: note: expanded from macro 'ERROR'
- #define ERROR(...) fprintf(stderr, "ERROR: "__VA_ARGS__)
- ^~~~~~~~~~~
- 3 warnings generated.
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/mkfwimage2 src/mkfwimage2.c -lz
- src/mkfwimage2.c:165:8: warning: format specifies type 'long' but the argument has type 'off_t' (aka 'long long') [-Wformat]
- d->stats.st_size,
- ^~~~~~~~~~~~~~~~
- src/fw.h:62:35: note: expanded from macro 'INFO'
- #define INFO(...) fprintf(stdout, __VA_ARGS__)
- ^~~~~~~~~~~
- src/mkfwimage2.c:166:8: warning: format specifies type 'long' but the argument has type 'long long' [-Wformat]
- d->partition_length - d->stats.st_size);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/fw.h:62:35: note: expanded from macro 'INFO'
- #define INFO(...) fprintf(stdout, __VA_ARGS__)
- ^~~~~~~~~~~
- src/mkfwimage2.c:304:5: warning: format specifies type 'unsigned long' but the argument has type 'long long' [-Wformat]
- d->stats.st_size - d->partition_length);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/fw.h:63:45: note: expanded from macro 'ERROR'
- #define ERROR(...) fprintf(stderr, "ERROR: "__VA_ARGS__)
- ^~~~~~~~~~~
- 3 warnings generated.
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/imagetag src/imagetag.c src/imagetag_cmdline.c src/cyg_crc32.c
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/add_header src/add_header.c
- 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]
- strncpy(header.model, argv[1], sizeof(header.model));
- ^~~~~~~~~~~~
- /usr/include/secure/_string.h:119:28: note: expanded from macro 'strncpy'
- __builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
- ^~~~
- 1 warning generated.
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/makeamitbin src/makeamitbin.c
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/encode_crc src/encode_crc.c
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/nand_ecc src/nand_ecc.c
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/mkplanexfw src/mkplanexfw.c src/sha1.c
- src/mkplanexfw.c:197:31: warning: format specifies type 'unsigned long' but the argument has type 'long long' [-Wformat]
- ifname, board->datalen, st.st_size - board->datalen);
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/mkplanexfw.c:79:17: note: expanded from macro 'ERR'
- progname, ## __VA_ARGS__ ); \
- ^~~~~~~~~~~
- src/mkplanexfw.c:211:17: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
- hdr->datalen = HOST_TO_BE32(board->datalen);
- ^
- src/mkplanexfw.c:27:27: note: expanded from macro 'HOST_TO_BE32'
- # define HOST_TO_BE32(x) bswap_32(x)
- ^
- /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
- #define bswap_32(x) NXSwapInt(x)
- ^
- /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
- NXSwapInt(
- ^
- src/mkplanexfw.c:230:9: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
- seed = HOST_TO_BE32(board->seed);
- ^
- src/mkplanexfw.c:27:27: note: expanded from macro 'HOST_TO_BE32'
- # define HOST_TO_BE32(x) bswap_32(x)
- ^
- /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
- #define bswap_32(x) NXSwapInt(x)
- ^
- /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
- NXSwapInt(
- ^
- 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]
- sha1_update(&ctx, buf + sizeof(*hdr), board->datalen);
- ^~~~~~~~~~~~~~~~~~
- src/sha1.h:29:45: note: passing argument to parameter 'input' here
- void sha1_update( sha1_context *ctx, uchar *input, uint length );
- ^
- 4 warnings generated.
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/mktplinkfw src/mktplinkfw.c src/md5.c -Wall
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/mktplinkfw2 src/mktplinkfw2.c src/md5.c
- src/mktplinkfw2.c:304:1: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- src/mktplinkfw2.c:491:23: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
- hdr->version = htonl(bswap_32(hdr_ver));
- ^
- /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
- #define bswap_32(x) NXSwapInt(x)
- ^
- /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
- NXSwapInt(
- ^
- src/mktplinkfw2.c:491:23: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
- hdr->version = htonl(bswap_32(hdr_ver));
- ^
- /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
- #define bswap_32(x) NXSwapInt(x)
- ^
- /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
- NXSwapInt(
- ^
- src/mktplinkfw2.c:491:23: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
- hdr->version = htonl(bswap_32(hdr_ver));
- ^
- /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
- #define bswap_32(x) NXSwapInt(x)
- ^
- /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
- NXSwapInt(
- ^
- src/mktplinkfw2.c:491:23: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
- hdr->version = htonl(bswap_32(hdr_ver));
- ^
- /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
- #define bswap_32(x) NXSwapInt(x)
- ^
- /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
- NXSwapInt(
- ^
- src/mktplinkfw2.c:491:23: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
- hdr->version = htonl(bswap_32(hdr_ver));
- ^
- /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
- #define bswap_32(x) NXSwapInt(x)
- ^
- /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
- NXSwapInt(
- ^
- src/mktplinkfw2.c:491:23: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
- hdr->version = htonl(bswap_32(hdr_ver));
- ^
- /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
- #define bswap_32(x) NXSwapInt(x)
- ^
- /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
- NXSwapInt(
- ^
- src/mktplinkfw2.c:539:20: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
- hdr->kernel_la = bswap_32(hdr->kernel_la);
- ^
- /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
- #define bswap_32(x) NXSwapInt(x)
- ^
- /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
- NXSwapInt(
- ^
- src/mktplinkfw2.c:540:20: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
- hdr->kernel_ep = bswap_32(hdr->kernel_ep);
- ^
- /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
- #define bswap_32(x) NXSwapInt(x)
- ^
- /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
- NXSwapInt(
- ^
- 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]
- get_md5(buf, len, hdr->md5sum1);
- ^~~~~~~~~~~~
- src/mktplinkfw2.c:297:48: note: passing argument to parameter 'md5' here
- static int get_md5(char *data, int size, char *md5)
- ^
- src/mktplinkfw2.c:758:9: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
- switch(bswap_32(ntohl(hdr->version))) {
- ^
- /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
- #define bswap_32(x) NXSwapInt(x)
- ^
- /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
- NXSwapInt(
- ^
- 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]
- get_md5(buf, inspect_info.file_size, hdr->md5sum1);
- ^~~~~~~~~~~~
- src/mktplinkfw2.c:297:48: note: passing argument to parameter 'md5' here
- static int get_md5(char *data, int size, char *md5)
- ^
- 12 warnings generated.
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/tplink-safeloader src/tplink-safeloader.c src/md5.c -Wall
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/pc1crypt src/pc1crypt.c
- 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]
- strcpy(pc1->cle, "Remsaalps!123456");
- ^~~~~~~~
- /usr/include/secure/_string.h:83:27: note: expanded from macro 'strcpy'
- __builtin___strcpy_chk (dest, src, __darwin_obsz (dest))
- ^~~~
- 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]
- pc1_decrypt_buf(&pc1, buf, datalen);
- ^~~
- src/pc1crypt.c:173:65: note: passing argument to parameter 'buf' here
- static void pc1_decrypt_buf(struct pc1_ctx *pc1, unsigned char *buf,
- ^
- 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]
- pc1_encrypt_buf(&pc1, buf, datalen);
- ^~~
- src/pc1crypt.c:182:65: note: passing argument to parameter 'buf' here
- static void pc1_encrypt_buf(struct pc1_ctx *pc1, unsigned char *buf,
- ^
- 3 warnings generated.
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/osbridge-crc src/osbridge-crc.c
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/wrt400n src/wrt400n.c src/cyg_crc32.c
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/mkdniimg src/mkdniimg.c
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/mktitanimg src/mktitanimg.c
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/mkchkimg src/mkchkimg.c
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/mkzcfw src/mkzcfw.c src/cyg_crc32.c
- src/mkzcfw.c:317:16: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
- tail->hw_id = HOST_TO_BE32(board->hw_id);
- ^
- src/mkzcfw.c:29:27: note: expanded from macro 'HOST_TO_BE32'
- # define HOST_TO_BE32(x) bswap_32(x)
- ^
- /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
- #define bswap_32(x) NXSwapInt(x)
- ^
- /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
- NXSwapInt(
- ^
- src/mkzcfw.c:318:14: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
- tail->crc = HOST_TO_BE32(cyg_crc32(p, kernel_info.file_size +
- ^
- src/mkzcfw.c:29:27: note: expanded from macro 'HOST_TO_BE32'
- # define HOST_TO_BE32(x) bswap_32(x)
- ^
- /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
- #define bswap_32(x) NXSwapInt(x)
- ^
- /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
- NXSwapInt(
- ^
- 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]
- tail->crc = HOST_TO_BE32(cyg_crc32(p, kernel_info.file_size +
- ^
- src/mkzcfw.c:29:36: note: expanded from macro 'HOST_TO_BE32'
- # define HOST_TO_BE32(x) bswap_32(x)
- ^
- /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:31: note: expanded from macro 'bswap_32'
- #define bswap_32(x) NXSwapInt(x)
- ^
- src/cyg_crc.h:82:26: note: passing argument to parameter 's' here
- cyg_crc32(unsigned char *s, int len);
- ^
- src/mkzcfw.c:337:16: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
- tail->hw_id = HOST_TO_BE32(board->hw_id);
- ^
- src/mkzcfw.c:29:27: note: expanded from macro 'HOST_TO_BE32'
- # define HOST_TO_BE32(x) bswap_32(x)
- ^
- /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
- #define bswap_32(x) NXSwapInt(x)
- ^
- /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
- NXSwapInt(
- ^
- src/mkzcfw.c:338:14: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
- tail->crc = HOST_TO_BE32(cyg_crc32(p, rootfs_info.file_size +
- ^
- src/mkzcfw.c:29:27: note: expanded from macro 'HOST_TO_BE32'
- # define HOST_TO_BE32(x) bswap_32(x)
- /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
- #define bswap_32(x) NXSwapInt(x)
- ^
- /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
- NXSwapInt(
- ^
- 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]
- tail->crc = HOST_TO_BE32(cyg_crc32(p, rootfs_info.file_size +
- ^
- src/mkzcfw.c:29:36: note: expanded from macro 'HOST_TO_BE32'
- # define HOST_TO_BE32(x) bswap_32(x)
- ^
- /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:31: note: expanded from macro 'bswap_32'
- #define bswap_32(x) NXSwapInt(x)
- ^
- src/cyg_crc.h:82:26: note: passing argument to parameter 's' here
- cyg_crc32(unsigned char *s, int len);
- ^
- src/mkzcfw.c:345:16: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
- tail->hw_id = HOST_TO_BE32(board->hw_id);
- ^
- src/mkzcfw.c:29:27: note: expanded from macro 'HOST_TO_BE32'
- # define HOST_TO_BE32(x) bswap_32(x)
- ^
- /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
- #define bswap_32(x) NXSwapInt(x)
- ^
- /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
- NXSwapInt(
- ^
- src/mkzcfw.c:346:14: warning: 'NXSwapInt' is deprecated [-Wdeprecated-declarations]
- tail->crc = HOST_TO_BE32(cyg_crc32(buf + sizeof(struct fw_header),
- ^
- src/mkzcfw.c:29:27: note: expanded from macro 'HOST_TO_BE32'
- # define HOST_TO_BE32(x) bswap_32(x)
- ^
- /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:21: note: expanded from macro 'bswap_32'
- #define bswap_32(x) NXSwapInt(x)
- ^
- /usr/include/architecture/byte_order.h:54:1: note: 'NXSwapInt' has been explicitly marked deprecated here
- NXSwapInt(
- ^
- 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]
- tail->crc = HOST_TO_BE32(cyg_crc32(buf + sizeof(struct fw_header),
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- src/mkzcfw.c:29:36: note: expanded from macro 'HOST_TO_BE32'
- # define HOST_TO_BE32(x) bswap_32(x)
- ^
- /Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/include/endian.h:11:31: note: expanded from macro 'bswap_32'
- #define bswap_32(x) NXSwapInt(x)
- ^
- src/cyg_crc.h:82:26: note: passing argument to parameter 's' here
- cyg_crc32(unsigned char *s, int len);
- ^
- 9 warnings generated.
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/spw303v src/spw303v.c
- 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]
- crc = htonl(crc32(crc, fake_data, 64));
- ^~~~~~~~~
- /usr/include/sys/_endian.h:136:39: note: expanded from macro 'htonl'
- #define htonl(x) __DARWIN_OSSwapInt32(x)
- ^
- /usr/include/libkern/_OSByteOrder.h:75:27: note: expanded from macro '__DARWIN_OSSwapInt32'
- (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
- ^
- src/spw303v.c:121:39: note: passing argument to parameter 'data' here
- uint32_t crc32(uint32_t crc, uint8_t *data, size_t len)
- ^
- 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]
- crc = htonl(crc32(crc, fake_data, 64));
- ^~~~~~~~~
- /usr/include/sys/_endian.h:136:39: note: expanded from macro 'htonl'
- #define htonl(x) __DARWIN_OSSwapInt32(x)
- ^
- /usr/include/libkern/_OSByteOrder.h:75:58: note: expanded from macro '__DARWIN_OSSwapInt32'
- (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
- ^
- /usr/include/libkern/_OSByteOrder.h:48:34: note: expanded from macro '__DARWIN_OSSwapConstInt32'
- ((__uint32_t)((((__uint32_t)(x) & 0xff000000) >> 24) | \
- ^
- src/spw303v.c:121:39: note: passing argument to parameter 'data' here
- uint32_t crc32(uint32_t crc, uint8_t *data, size_t len)
- ^
- 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]
- crc = htonl(crc32(crc, fake_data, 64));
- ^~~~~~~~~
- /usr/include/sys/_endian.h:136:39: note: expanded from macro 'htonl'
- #define htonl(x) __DARWIN_OSSwapInt32(x)
- ^
- /usr/include/libkern/_OSByteOrder.h:75:58: note: expanded from macro '__DARWIN_OSSwapInt32'
- (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
- ^
- /usr/include/libkern/_OSByteOrder.h:49:32: note: expanded from macro '__DARWIN_OSSwapConstInt32'
- (((__uint32_t)(x) & 0x00ff0000) >> 8) | \
- ^
- src/spw303v.c:121:39: note: passing argument to parameter 'data' here
- uint32_t crc32(uint32_t crc, uint8_t *data, size_t len)
- ^
- 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]
- crc = htonl(crc32(crc, fake_data, 64));
- ^~~~~~~~~
- /usr/include/sys/_endian.h:136:39: note: expanded from macro 'htonl'
- #define htonl(x) __DARWIN_OSSwapInt32(x)
- ^
- /usr/include/libkern/_OSByteOrder.h:75:58: note: expanded from macro '__DARWIN_OSSwapInt32'
- (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
- ^
- /usr/include/libkern/_OSByteOrder.h:50:32: note: expanded from macro '__DARWIN_OSSwapConstInt32'
- (((__uint32_t)(x) & 0x0000ff00) << 8) | \
- ^
- src/spw303v.c:121:39: note: passing argument to parameter 'data' here
- uint32_t crc32(uint32_t crc, uint8_t *data, size_t len)
- ^
- 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]
- crc = htonl(crc32(crc, fake_data, 64));
- ^~~~~~~~~
- /usr/include/sys/_endian.h:136:39: note: expanded from macro 'htonl'
- #define htonl(x) __DARWIN_OSSwapInt32(x)
- ^
- /usr/include/libkern/_OSByteOrder.h:75:58: note: expanded from macro '__DARWIN_OSSwapInt32'
- (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
- ^
- /usr/include/libkern/_OSByteOrder.h:51:32: note: expanded from macro '__DARWIN_OSSwapConstInt32'
- (((__uint32_t)(x) & 0x000000ff) << 24)))
- ^
- src/spw303v.c:121:39: note: passing argument to parameter 'data' here
- uint32_t crc32(uint32_t crc, uint8_t *data, size_t len)
- ^
- 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]
- crc = htonl(crc32(crc, fake_data, 64));
- ^~~~~~~~~
- /usr/include/sys/_endian.h:136:39: note: expanded from macro 'htonl'
- #define htonl(x) __DARWIN_OSSwapInt32(x)
- ^
- /usr/include/libkern/_OSByteOrder.h:75:76: note: expanded from macro '__DARWIN_OSSwapInt32'
- (__builtin_constant_p(x) ? __DARWIN_OSSwapConstInt32(x) : _OSSwapInt32(x))
- ^
- src/spw303v.c:121:39: note: passing argument to parameter 'data' here
- uint32_t crc32(uint32_t crc, uint8_t *data, size_t len)
- ^
- 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]
- image_crc = crc32(image_crc, buf, n);
- ^~~
- src/spw303v.c:121:39: note: passing argument to parameter 'data' here
- uint32_t crc32(uint32_t crc, uint8_t *data, size_t len)
- ^
- 7 warnings generated.
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/zyxbcm src/zyxbcm.c
- src/zyxbcm.c:174:40: warning: format specifies type 'unsigned long' but the argument has type 'unsigned long long' [-Wformat]
- sprintf(zyxtag->flashImageEnd, "%lu", flash_start + rootfs_len + kernel_len);
- ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- %llu
- /usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
- __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
- ^~~~~~~~~~~
- 1 warning generated.
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/trx2edips src/trx2edips.c
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/xorimage src/xorimage.c
- 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]
- p_off = xor_data(buf, n, pattern, p_len, p_off);
- ^~~
- src/xorimage.c:31:23: note: passing argument to parameter 'data' here
- int xor_data(uint8_t *data, size_t len, const uint8_t *pattern, int p_len, int p_off)
- ^
- 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]
- p_off = xor_data(buf, n, pattern, p_len, p_off);
- ^~~~~~~
- src/xorimage.c:31:56: note: passing argument to parameter 'pattern' here
- int xor_data(uint8_t *data, size_t len, const uint8_t *pattern, int p_len, int p_off)
- ^
- 2 warnings generated.
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/buffalo-enc src/buffalo-enc.c src/buffalo-lib.c -Wall
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/buffalo-tag src/buffalo-tag.c src/buffalo-lib.c -Wall
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/buffalo-tftp src/buffalo-tftp.c src/buffalo-lib.c -Wall
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/mkwrgimg src/mkwrgimg.c src/md5.c -Wall
- ld: warning: directory not found for option '-L/Users/bluse/Desktop/Coding-Area/LEDE/staging_dir/host/usr/lib'
- 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
- s/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/bin/mkwrggimg src/mkwrggimg.c src/md5.c -Wall
- src/mkwrggimg.c:64:14: error: redefinition of 'devname' as different kind of symbol
- static char *devname;
- ^
- /usr/include/stdlib.h:268:7: note: previous definition is here
- char *devname(dev_t, mode_t);
- ^
- src/mkwrggimg.c:147:12: error: non-object type 'char *(dev_t, mode_t)' (aka 'char *(int, unsigned short)') is not assignable
- devname = optarg;
- ~~~~~~~ ^
- src/mkwrggimg.c:192:6: warning: comparison of function 'devname' equal to a null pointer is always false [-Wtautological-pointer-compare]
- if (devname == NULL) {
- ^~~~~~~ ~~~~
- src/mkwrggimg.c:192:6: note: prefix with the address-of operator to silence this warning
- if (devname == NULL) {
- ^
- &
- 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]
- strncpy(header->devname, devname, sizeof(header->devname));
- ^~~~~~~
- /usr/include/secure/_string.h:119:34: note: expanded from macro 'strncpy'
- __builtin___strncpy_chk (dest, src, len, __darwin_obsz (dest))
- ^~~
- 2 warnings and 2 errors generated.
- make[3]: *** [Makefile:128: /Users/bluse/Desktop/Coding-Area/LEDE/build_dir/host/firmware-utils/.built] Error 1
- make[3]: Leaving directory '/Users/bluse/Desktop/Coding-Area/LEDE/tools/firmware-utils'
- make[2]: *** [tools/Makefile:149: tools/firmware-utils/compile] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement