=> Bootstrap dependency digest>=20211023: found digest-20211023 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for gflib-20030604 --- w16 --- make "CFLAGS=-O -DW_16 -DTABLE" gf_mult gf_div parity_test xor rs_encode_file rs_decode_file --- gflib.o --- --- xor.o --- gcc -O -DW_16 -DTABLE -c xor.c --- gflib.o --- gcc -O -DW_16 -DTABLE -c gflib.c --- xor.o --- xor.c:42:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ xor.c: In function 'main': xor.c:50:9: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] n = atoi(argv[i]); ^~~~ --- gflib.o --- gflib.c: In function 'gf_mult_region': gflib.c:116:12: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] (void) memset(region, 0, size); ^~~~~~ gflib.c:116:12: warning: incompatible implicit declaration of built-in function 'memset' gflib.c:116:12: note: include '' or provide a declaration of 'memset' gflib.c: At top level: gflib.c:443:8: warning: return type defaults to 'int' [-Wimplicit-int] static pic(int *inv, int *copy, int rows, char *s) ^~~ --- parity_test.o --- --- gf_mult.o --- --- rs_encode_file.o --- --- rs_decode_file.o --- --- parity_test.o --- gcc -O -DW_16 -DTABLE -c parity_test.c --- gf_mult.o --- gcc -O -DW_16 -DTABLE -c gf_mult.c --- rs_encode_file.o --- gcc -O -DW_16 -DTABLE -c rs_encode_file.c --- rs_decode_file.o --- gcc -O -DW_16 -DTABLE -c rs_decode_file.c --- gf_mult.o --- gf_mult.c:45:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc, char **argv) ^~~~ gf_mult.c: In function 'main': gf_mult.c:54:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ gf_mult.c:54:5: warning: incompatible implicit declaration of built-in function 'exit' gf_mult.c:54:5: note: include '' or provide a declaration of 'exit' gf_mult.c:57:7: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] x = atoi(argv[1]); ^~~~ --- parity_test.o --- parity_test.c:46:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc, char **argv) ^~~~ parity_test.c: In function 'main': parity_test.c:57:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ parity_test.c:57:5: warning: incompatible implicit declaration of built-in function 'exit' parity_test.c:57:5: note: include '' or provide a declaration of 'exit' parity_test.c:60:10: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] size = atoi(argv[1]); ^~~~ parity_test.c:64:3: warning: implicit declaration of function 'srand48' [-Wimplicit-function-declaration] srand48(); ^~~~~~~ parity_test.c:66:16: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] y = (char *) malloc(size); ^~~~~~ parity_test.c:66:16: warning: incompatible implicit declaration of built-in function 'malloc' parity_test.c:66:16: note: include '' or provide a declaration of 'malloc' parity_test.c:71:12: warning: implicit declaration of function 'lrand48' [-Wimplicit-function-declaration] y[i] = lrand48()%256; ^~~~~~~ --- rs_encode_file.o --- rs_encode_file.c:48:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc, char **argv) ^~~~ --- rs_decode_file.o --- rs_decode_file.c:49:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc, char **argv) ^~~~ --- rs_encode_file.o --- rs_encode_file.c: In function 'main': --- rs_decode_file.o --- rs_decode_file.c: In function 'main': --- rs_encode_file.o --- rs_encode_file.c:60:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ --- rs_decode_file.o --- rs_decode_file.c:63:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ --- rs_encode_file.o --- rs_encode_file.c:60:5: warning: incompatible implicit declaration of built-in function 'exit' --- rs_decode_file.o --- rs_decode_file.c:63:5: warning: incompatible implicit declaration of built-in function 'exit' --- rs_encode_file.o --- rs_encode_file.c:60:5: note: include '' or provide a declaration of 'exit' --- rs_decode_file.o --- rs_decode_file.c:63:5: note: include '' or provide a declaration of 'exit' rs_decode_file.c:67:23: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] buf_file = (char *) malloc(sizeof(char)*(strlen(stem)+30)); ^~~~~~ rs_decode_file.c:67:23: warning: incompatible implicit declaration of built-in function 'malloc' rs_decode_file.c:67:23: note: include '' or provide a declaration of 'malloc' rs_decode_file.c:67:44: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] buf_file = (char *) malloc(sizeof(char)*(strlen(stem)+30)); ^~~~~~ rs_decode_file.c:67:44: warning: incompatible implicit declaration of built-in function 'strlen' rs_decode_file.c:67:44: note: include '' or provide a declaration of 'strlen' rs_decode_file.c:68:56: warning: incompatible implicit declaration of built-in function 'exit' if (buf_file == NULL) { perror("malloc - buf_file"); exit(1); } ^~~~ rs_decode_file.c:68:56: note: include '' or provide a declaration of 'exit' --- rs_encode_file.o --- rs_encode_file.c:63:7: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] n = atoi(argv[2]); ^~~~ --- rs_decode_file.o --- rs_decode_file.c:71:38: warning: incompatible implicit declaration of built-in function 'exit' if (f == NULL) { perror(buf_file); exit(1); } ^~~~ rs_decode_file.c:71:38: note: include '' or provide a declaration of 'exit' --- rs_encode_file.o --- rs_encode_file.c:73:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ rs_encode_file.c:73:5: note: include '' or provide a declaration of 'exit' --- rs_decode_file.o --- rs_decode_file.c:72:93: warning: incompatible implicit declaration of built-in function 'exit' if (fscanf(f, "%d\n", &orig_size) != 1) { fprintf(stderr, "Error reading info file 1\n"); exit(1); } ^~~~ rs_decode_file.c:72:93: note: include '' or provide a declaration of 'exit' --- rs_encode_file.o --- rs_encode_file.c:83:22: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] buffer = (char **) malloc(sizeof(char *)*n); ^~~~~~ rs_encode_file.c:83:22: warning: incompatible implicit declaration of built-in function 'malloc' --- rs_decode_file.o --- rs_decode_file.c:73:86: warning: incompatible implicit declaration of built-in function 'exit' if (fscanf(f, "%d\n", &sz) != 1) { fprintf(stderr, "Error reading info file 2\n"); exit(1); } ^~~~ --- rs_encode_file.o --- rs_encode_file.c:83:22: note: include '' or provide a declaration of 'malloc' --- rs_decode_file.o --- rs_decode_file.c:73:86: note: include '' or provide a declaration of 'exit' rs_decode_file.c:74:93: warning: incompatible implicit declaration of built-in function 'exit' if (fscanf(f, "%d\n", &blocksize) != 1) { fprintf(stderr, "Error reading info file 3\n"); exit(1); } ^~~~ rs_decode_file.c:74:93: note: include '' or provide a declaration of 'exit' --- rs_encode_file.o --- rs_encode_file.c:88:7: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ rs_encode_file.c:88:7: note: include '' or provide a declaration of 'exit' --- rs_decode_file.o --- rs_decode_file.c:75:85: warning: incompatible implicit declaration of built-in function 'exit' if (fscanf(f, "%d\n", &n) != 1) { fprintf(stderr, "Error reading info file 4\n"); exit(1); } ^~~~ rs_decode_file.c:75:85: note: include '' or provide a declaration of 'exit' rs_decode_file.c:76:85: warning: incompatible implicit declaration of built-in function 'exit' if (fscanf(f, "%d\n", &m) != 1) { fprintf(stderr, "Error reading info file 5\n"); exit(1); } ^~~~ rs_decode_file.c:76:85: note: include '' or provide a declaration of 'exit' --- rs_encode_file.o --- rs_encode_file.c:97:33: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] if (cache_size < blocksize) memset(buffer[i], 0, blocksize); ^~~~~~ rs_encode_file.c:97:33: warning: incompatible implicit declaration of built-in function 'memset' rs_encode_file.c:97:33: note: include '' or provide a declaration of 'memset' --- rs_decode_file.o --- rs_decode_file.c:78:75: warning: incompatible implicit declaration of built-in function 'exit' if (vdm == NULL) { fprintf(stderr, "Error reading info file matrix\n"); exit(1); } ^~~~ rs_decode_file.c:78:75: note: include '' or provide a declaration of 'exit' rs_decode_file.c:83:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ rs_decode_file.c:83:5: note: include '' or provide a declaration of 'exit' --- rs_encode_file.o --- rs_encode_file.c:101:9: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ rs_encode_file.c:101:9: note: include '' or provide a declaration of 'exit' --- rs_decode_file.o --- rs_decode_file.c:87:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ rs_decode_file.c:87:5: note: include '' or provide a declaration of 'exit' --- rs_encode_file.o --- rs_encode_file.c:108:44: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] buf_file = (char *) malloc(sizeof(char)*(strlen(stem)+30)); ^~~~~~ rs_encode_file.c:108:44: warning: incompatible implicit declaration of built-in function 'strlen' rs_encode_file.c:108:44: note: include '' or provide a declaration of 'strlen' --- rs_decode_file.o --- rs_decode_file.c:91:52: warning: incompatible implicit declaration of built-in function 'exit' if (exists == NULL) { perror("malloc - exists"); exit(1); } ^~~~ rs_decode_file.c:91:52: note: include '' or provide a declaration of 'exit' --- rs_encode_file.o --- rs_encode_file.c:109:56: warning: incompatible implicit declaration of built-in function 'exit' if (buf_file == NULL) { perror("malloc - buf_file"); exit(1); } ^~~~ rs_encode_file.c:109:56: note: include '' or provide a declaration of 'exit' --- rs_decode_file.o --- rs_decode_file.c:93:54: warning: incompatible implicit declaration of built-in function 'exit' if (factors == NULL) { perror("malloc - factors"); exit(1); } ^~~~ rs_decode_file.c:93:54: note: include '' or provide a declaration of 'exit' --- rs_encode_file.o --- rs_encode_file.c:111:50: warning: incompatible implicit declaration of built-in function 'exit' if (block == NULL) { perror("malloc - block"); exit(1); } ^~~~ rs_encode_file.c:111:50: note: include '' or provide a declaration of 'exit' --- rs_decode_file.o --- rs_decode_file.c:95:46: warning: incompatible implicit declaration of built-in function 'exit' if (map == NULL) { perror("malloc - map"); exit(1); } ^~~~ rs_decode_file.c:95:46: note: include '' or provide a declaration of 'exit' rs_decode_file.c:102:7: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ rs_decode_file.c:102:7: note: include '' or provide a declaration of 'exit' --- rs_encode_file.o --- rs_encode_file.c:116:40: warning: incompatible implicit declaration of built-in function 'exit' if (f == NULL) { perror(buf_file); exit(1); } ^~~~ rs_encode_file.c:116:40: note: include '' or provide a declaration of 'exit' rs_encode_file.c:123:54: warning: incompatible implicit declaration of built-in function 'exit' if (factors == NULL) { perror("malloc - factors"); exit(1); } ^~~~ rs_encode_file.c:123:54: note: include '' or provide a declaration of 'exit' --- rs_decode_file.o --- rs_decode_file.c:117:44: warning: incompatible implicit declaration of built-in function 'exit' if (f == NULL) { perror(buf_file); exit(1); } ^~~~ rs_decode_file.c:117:44: note: include '' or provide a declaration of 'exit' --- rs_encode_file.o --- rs_encode_file.c:132:5: warning: incompatible implicit declaration of built-in function 'memset' memset(block, 0, blocksize); ^~~~~~ rs_encode_file.c:132:5: note: include '' or provide a declaration of 'memset' --- rs_decode_file.o --- rs_decode_file.c:122:11: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ rs_decode_file.c:122:11: note: include '' or provide a declaration of 'exit' rs_decode_file.c:130:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ rs_decode_file.c:130:5: note: include '' or provide a declaration of 'exit' --- rs_encode_file.o --- rs_encode_file.c:150:40: warning: incompatible implicit declaration of built-in function 'exit' if (f == NULL) { perror(buf_file); exit(1); } ^~~~ rs_encode_file.c:150:40: note: include '' or provide a declaration of 'exit' --- rs_decode_file.o --- rs_decode_file.c:144:5: warning: incompatible implicit declaration of built-in function 'exit' exit(0); ^~~~ rs_decode_file.c:144:5: note: include '' or provide a declaration of 'exit' --- rs_encode_file.o --- rs_encode_file.c:158:38: warning: incompatible implicit declaration of built-in function 'exit' if (f == NULL) { perror(buf_file); exit(1); } ^~~~ rs_encode_file.c:158:38: note: include '' or provide a declaration of 'exit' --- rs_decode_file.o --- rs_decode_file.c:148:50: warning: incompatible implicit declaration of built-in function 'exit' if (block == NULL) { perror("malloc - block"); exit(1); } ^~~~ rs_decode_file.c:148:50: note: include '' or provide a declaration of 'exit' rs_decode_file.c:166:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ rs_decode_file.c:166:5: note: include '' or provide a declaration of 'exit' rs_decode_file.c:198:7: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset(block, 0, blocksize); ^~~~~~ rs_decode_file.c:198:7: warning: incompatible implicit declaration of built-in function 'memset' rs_decode_file.c:198:7: note: include '' or provide a declaration of 'memset' --- gf_div.o --- gcc -O -DW_16 -DTABLE -c gf_div.c --- xor --- gcc -O -DW_16 -DTABLE -o xor xor.o --- gf_mult --- --- gf_div.o --- gf_div.c:45:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc, char **argv) ^~~~ gf_div.c: In function 'main': gf_div.c:54:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ gf_div.c:54:5: warning: incompatible implicit declaration of built-in function 'exit' gf_div.c:54:5: note: include '' or provide a declaration of 'exit' gf_div.c:57:7: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] x = atoi(argv[1]); ^~~~ --- gf_mult --- gcc -O -DW_16 -DTABLE -o gf_mult gf_mult.o gflib.o --- parity_test --- gcc -O -DW_16 -DTABLE -o parity_test parity_test.o gflib.o --- rs_encode_file --- --- gf_div --- --- rs_encode_file --- gcc -O -DW_16 -DTABLE -o rs_encode_file rs_encode_file.o gflib.o --- gf_div --- gcc -O -DW_16 -DTABLE -o gf_div gf_div.o gflib.o --- rs_decode_file --- gcc -O -DW_16 -DTABLE -o rs_decode_file rs_decode_file.o gflib.o