Modify

Opened 4 years ago

Closed 4 years ago

#14757 closed defect (fixed)

Trunk build error (r39247) Ralink RT5350 board

Reported by: anonymous Owned by: developers
Priority: highest Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: Cc:

Description

DBG(1,"padding block, length=%d", padlen);


src/mkcsysimg.c: In function 'main':
src/mkcsysimg.c:1125:4: warning: too many arguments for format [-Wformat-extra-args]

WARN("generation of invalid images disabled", ofname);

src/mkcsysimg.c:1129:3: warning: too many arguments for format [-Wformat-extra-args]

WARN("generating invalid image", ofname);

src/mkcsysimg.c:1134:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("could not open \"%s\" for writing", ofname);

src/mkcsysimg.c: In function 'block_writeout_file':
src/mkcsysimg.c:619:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]

fread(buf, buflen, 1, f);


gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/mkzynfw src/mkzynfw.c
src/mkzynfw.c: In function 'write_out_file':
src/mkzynfw.c:690:2: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' [-Wformat=]

DBG(2, "writing out file, name=%s, len=%d",

src/mkzynfw.c: In function 'calc_block_offsets':
src/mkzynfw.c:991:2: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint32_t' [-Wformat=]

DBG(1,"calculating block offsets, starting with %lu",

src/mkzynfw.c: In function 'read_magic':
src/mkzynfw.c:667:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]

fread(magic, 2, 1, f);


src/mkzynfw.c: In function 'write_out_file':
src/mkzynfw.c:706:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]

fread(buf, buflen, 1, f);


gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/lzma2eva src/lzma2eva.c -lz
gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/mkcasfw src/mkcasfw.c
src/mkcasfw.c: In function 'write_out_data':
src/mkcasfw.c:574:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("unable to write output file");

src/mkcasfw.c: In function 'image_stat_file':
src/mkcasfw.c:621:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("stat failed on %s", desc->file_name);

src/mkcasfw.c: In function 'image_writeout_file':
src/mkcasfw.c:658:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("unable to open file: %s", desc->file_name);

src/mkcasfw.c:671:4: warning: too many arguments for format [-Wformat-extra-args]

ERRS("unable to read from file: %s", desc->file_name);

src/mkcasfw.c: In function 'image_writeout':
src/mkcasfw.c:711:2: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' [-Wformat=]

DBG(1,"padding desc, length=%d", padlen);

src/mkcasfw.c: In function 'write_out_header':
src/mkcasfw.c:728:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("fseek failed on output file");

src/mkcasfw.c: In function 'main':
src/mkcasfw.c:988:4: warning: too many arguments for format [-Wformat-extra-args]

WARN("generation of invalid images disabled", ofname);

src/mkcasfw.c:992:3: warning: too many arguments for format [-Wformat-extra-args]

WARN("generating invalid image", ofname);

src/mkcasfw.c:997:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("could not open \"%s\" for writing", ofname);

src/mkcasfw.c: In function 'image_writeout_file':
src/mkcasfw.c:669:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]

fread(buf, buflen, 1, f);


gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/mkfwimage src/mkfwimage.c -lz
gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/mkfwimage2 src/mkfwimage2.c -lz
gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/imagetag src/imagetag.c src/imagetag_cmdline.c
src/imagetag.c: In function 'tagfile':
src/imagetag.c:342:4: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'uint32_t' [-Wformat=]

sprintf(tag.cfeAddress, "%lu", flash_start);

In file included from /usr/include/string.h:638:0,

from src/imagetag.c:12:

In function 'strncpy',

inlined from 'tagfile' at src/imagetag.c:383:11:

/usr/include/x86_64-linux-gnu/bits/string3.h:120:3: warning: call to builtin_strncpy_chk will always overflow destination buffer [enabled by default]

return builtin_strncpy_chk (dest, src, len, bos (dest));

gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/add_header src/add_header.c
gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/makeamitbin src/makeamitbin.c
gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/encode_crc src/encode_crc.c
gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/nand_ecc src/nand_ecc.c
src/nand_ecc.c: In function 'main':
src/nand_ecc.c:191:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]

write(outfd, page_data, page_size + oob_size);


gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/mkplanexfw src/mkplanexfw.c src/sha1.c
src/mkplanexfw.c: In function 'main':
src/mkplanexfw.c:191:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("stat failed on %s", ifname);

src/mkplanexfw.c:219:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("could not open \"%s\" for reading", ifname);

src/mkplanexfw.c:226:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("unable to read from file %s", ifname);

src/mkplanexfw.c:238:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("could not open \"%s\" for writing", ofname);

src/mkplanexfw.c:245:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("unable to write to file %s", ofname);

src/mkplanexfw.c:224:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]

fread(buf + sizeof(*hdr), st.st_size, 1, infile);


gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/mktplinkfw src/mktplinkfw.c src/md5.c
src/mktplinkfw.c: In function 'get_file_stat':
src/mktplinkfw.c:491:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("stat failed on %s", fdata->file_name);

src/mktplinkfw.c: In function 'read_to_buf':
src/mktplinkfw.c:506:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("could not open \"%s\" for reading", fdata->file_name);

src/mktplinkfw.c:513:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("unable to read from file \"%s\"", fdata->file_name);

src/mktplinkfw.c: In function 'write_fw':
src/mktplinkfw.c:725:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("could not open \"%s\" for writing", ofname);

src/mktplinkfw.c:732:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("unable to write output file");

src/mktplinkfw.c: In function 'read_to_buf':
src/mktplinkfw.c:511:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]

fread(buf, fdata->file_size, 1, f);


gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/mktplinkfw2 src/mktplinkfw2.c src/md5.c
src/mktplinkfw2.c: In function 'get_file_stat':
src/mktplinkfw2.c:277:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("stat failed on %s", fdata->file_name);

src/mktplinkfw2.c: In function 'read_to_buf':
src/mktplinkfw2.c:292:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("could not open \"%s\" for reading", fdata->file_name);

src/mktplinkfw2.c:299:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("unable to read from file \"%s\"", fdata->file_name);

src/mktplinkfw2.c: In function 'write_fw':
src/mktplinkfw2.c:540:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("could not open \"%s\" for writing", ofname);

src/mktplinkfw2.c:547:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("unable to write output file");

src/mktplinkfw2.c: In function 'read_to_buf':
src/mktplinkfw2.c:297:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]

fread(buf, fdata->file_size, 1, f);


gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/pc1crypt src/pc1crypt.c
src/pc1crypt.c: In function 'main':
src/pc1crypt.c:286:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("stat failed on %s", ifname);

src/pc1crypt.c:299:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("could not open \"%s\" for reading", ifname);

src/pc1crypt.c:305:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("could not open \"%s\" for writing", ofname);

src/pc1crypt.c:321:4: warning: too many arguments for format [-Wformat-extra-args]

ERRS("unable to read from file %s", ifname);

src/pc1crypt.c:333:4: warning: too many arguments for format [-Wformat-extra-args]

ERRS("unable to write to file %s", ofname);

src/pc1crypt.c:319:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]

fread(buf, datalen, 1, infile);


gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/osbridge-crc src/osbridge-crc.c
src/osbridge-crc.c: In function 'main':
src/osbridge-crc.c:124:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("stat failed on %s", ifname);

src/osbridge-crc.c:137:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("could not open \"%s\" for reading", ifname);

src/osbridge-crc.c:144:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("unable to read from file %s", ifname);

src/osbridge-crc.c:154:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("could not open \"%s\" for writing", ofname);

src/osbridge-crc.c:161:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("unable to write to file %s", ofname);

src/osbridge-crc.c:142:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]

fread(buf, buflen, 1, infile);


gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/wrt400n src/wrt400n.c src/cyg_crc32.c
gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/mkdniimg src/mkdniimg.c
src/mkdniimg.c: In function 'main':
src/mkdniimg.c:137:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("stat failed on %s", ifname);

src/mkdniimg.c:158:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("could not open \"%s\" for reading", ifname);

src/mkdniimg.c:165:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("unable to read from file %s", ifname);

src/mkdniimg.c:178:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("could not open \"%s\" for writing", ofname);

src/mkdniimg.c:185:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("unable to write to file %s", ofname);

src/mkdniimg.c:163:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]

fread(buf + DNI_HDR_LEN, st.st_size, 1, infile);


gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/mktitanimg src/mktitanimg.c
src/mktitanimg.c: In function 'main':
src/mktitanimg.c:408:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]

fread((void*)&head, sizeof(struct nsp_img_hdr_head),


src/mktitanimg.c:416:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]

fread((void*)hdr, head.hdr_size, 1, nsp_image);


src/mktitanimg.c:445:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]

fread(img_buf, 1, len, nsp_image);


src/mktitanimg.c: In function 'cs_is_tagged':
src/mktitanimg.c:525:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]

fread(buf, 8, 1, fp);


src/mktitanimg.c: In function 'cs_read_sum':
src/mktitanimg.c:536:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]

fread(buf, 8, 1, fp);


src/mktitanimg.c: In function 'cs_get_sum':
src/mktitanimg.c:639:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]

fread(&magic, 4, 1, fp);


src/mktitanimg.c:640:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]

fread(sum, 4, 1, fp);


gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/mkchkimg src/mkchkimg.c
gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/mkzcfw src/mkzcfw.c src/cyg_crc32.c
src/mkzcfw.c: In function 'get_file_stat':
src/mkzcfw.c:156:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("stat failed on %s", fdata->file_name);

src/mkzcfw.c: In function 'read_to_buf':
src/mkzcfw.c:171:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("could not open \"%s\" for reading", fdata->file_name);

src/mkzcfw.c:178:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("unable to read from file \"%s\"", fdata->file_name);

src/mkzcfw.c: In function 'write_fw':
src/mkzcfw.c:248:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("could not open \"%s\" for writing", ofname);

src/mkzcfw.c:255:3: warning: too many arguments for format [-Wformat-extra-args]

ERRS("unable to write output file");

src/mkzcfw.c: In function 'read_to_buf':
src/mkzcfw.c:176:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]

fread(buf, fdata->file_size, 1, f);


gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/spw303v src/spw303v.c
gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/trx2edips src/trx2edips.c
gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/xorimage src/xorimage.c
gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/buffalo-enc src/buffalo-enc.c src/buffalo-lib.c -Wall
gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/buffalo-tag src/buffalo-tag.c src/buffalo-lib.c -Wall
gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/buffalo-tftp src/buffalo-tftp.c src/buffalo-lib.c -Wall
src/buffalo-tftp.c: In function 'crypt_file':
src/buffalo-tftp.c:73:10: warning: variable 'crypt_len' set but not used [-Wunused-but-set-variable]

ssize_t crypt_len;


gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/mkwrgimg src/mkwrgimg.c src/md5.c -Wall
src/mkwrgimg.c: In function 'main':
src/mkwrgimg.c:195:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]

fread(buf + sizeof(struct wrg_header), st.st_size, 1, infile);


gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/mkedimaximg src/mkedimaximg.c
gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/mkbrncmdline src/mkbrncmdline.c
gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/mkbrnimg src/mkbrnimg.c
src/mkbrnimg.c: In function 'appendfile':
src/mkbrnimg.c:139:2: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'size_t' [-Wformat=]

fprintf(stderr, "len=%08x padded_len=%08x\n", len, padded_len);

src/mkbrnimg.c:139:2: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'size_t' [-Wformat=]
src/mkbrnimg.c: In function 'main':
src/mkbrnimg.c:179:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]

write(outfd, signature, strlen(signature)+1);


src/mkbrnimg.c: In function 'appendfile':
src/mkbrnimg.c:135:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]

write(outfd, input_file, len);


src/mkbrnimg.c:140:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]

write(outfd, padding, padded_len - len);


src/mkbrnimg.c:155:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]

write(outfd, footer, sizeof(footer));


gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/mkdapimg src/mkdapimg.c
src/mkdapimg.c: In function 'main':
src/mkdapimg.c:162:12: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]

if (fread(&imghdr, sizeof(imghdr), 1, ifile) < 0)


gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/mkcameofw src/mkcameofw.c -Wall
src/mkcameofw.c: In function 'read_to_buf':
src/mkcameofw.c:157:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]

fread(buf, fdata->file_size, 1, f);


gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/seama src/seama.c src/md5.c
src/seama.c: In function 'verify_seama':
src/seama.c:238:5: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' [-Wformat=]

printf(" meta size : %d bytes\n", msize);

src/seama.c:241:5: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' [-Wformat=]

printf(" image size : %d bytes\n", isize);

src/seama.c: In function 'extract_file':
src/seama.c:476:6: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' [-Wformat=]

printf("SEAMA: found image @ '%s', image size: %d\n", o_images[i], isize);

src/seama.c:453:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]

fread(&shdr, sizeof(shdr), 1, ifh);


src/seama.c:469:9: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]

fread(buf, sizeof(char), 16, ifh);


src/seama.c:473:10: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]

fread(buf, sizeof(char), msize, ifh);


gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/fix-u-media-header src/fix-u-media-header.c src/cyg_crc32.c -Wall
src/fix-u-media-header.c: In function 'read_to_buf':
src/fix-u-media-header.c:170:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]

fread(buf, fdata->file_size, 1, f);


gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/hcsmakeimage src/hcsmakeimage.c src/bcmalgo.c
src/hcsmakeimage.c: In function 'main':
src/hcsmakeimage.c:163:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]

fread ( filebuffer, 1, buf.st_size,fd );


src/bcmalgo.c: In function 'get_file_crc':
src/bcmalgo.c:86:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]

fread ( filebuffer, 1, buf.st_size,fd );


gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/mkporayfw src/mkporayfw.c -Wall
src/mkporayfw.c: In function 'read_to_buf':
src/mkporayfw.c:338:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]

fread(buf, fdata->file_size, 1, f);


gcc -O2 -I/home/dron/openwrt/staging_dir/host/include -include endian.h -o /home/dron/openwrt/build_dir/host/firmware-utils/bin/mkhilinkfw src/mkhilinkfw.c -lcrypto
src/mkhilinkfw.c:28:25: fatal error: openssl/des.h: No such file or directory

#include <openssl/des.h>


compilation terminated.
make[3]: * /home/dron/openwrt/build_dir/host/firmware-utils/.built Error 1
make[3]: Leaving directory `/home/dron/openwrt/tools/firmware-utils'
make[2]:
* [tools/firmware-utils/compile] Error 2
make[2]: Leaving directory `/home/dron/openwrt'
make[1]: * /home/dron/openwrt/staging_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/stamp/.tools_install_nnnnn Error 2
make[1]: Leaving directory `/home/dron/openwrt'
make:
* [world] Error 2
dron@notebook ~/openwrt $ C
dron@notebook ~/openwrt $

Attachments (0)

Change History (1)

comment:1 Changed 4 years ago by blogic

  • Resolution set to fixed
  • Status changed from new to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.