The build took 00h 01m 01s and was NOT successful.
The program in this build is written in the following languages, according to sloccount:
| SLOC | Language |
|---|---|
1,238 |
ansic |
261 |
sh |
1,499 |
total |
The process tree of the build process is here.
Several sub-process invocations were improper; see the process tree for details. Summary:
To avoid scrolling, you may jump to the last line of the
invocation of makepkg that was used to build this
package.
Removed vanilla repositories from pacman.conf and added:
Copied permanent toolchain into container-local sysroot
/toolchain_root/arm-linux-androideabi --> /sysroot/arm-linux-androideabi/toolchain_root/COPYING3.LIB --> /sysroot/COPYING3.LIB/toolchain_root/sysroot --> /sysroot/sysroot/toolchain_root/COPYING.RUNTIME --> /sysroot/COPYING.RUNTIME/toolchain_root/lib --> /sysroot/lib/toolchain_root/SOURCES --> /sysroot/SOURCES/toolchain_root/lib64 --> /sysroot/lib64/toolchain_root/share --> /sysroot/share/toolchain_root/bin --> /sysroot/bin/toolchain_root/COPYING --> /sysroot/COPYING/toolchain_root/COPYING3 --> /sysroot/COPYING3/toolchain_root/COPYING.LIB --> /sysroot/COPYING.LIB/toolchain_root/include --> /sysroot/include/toolchain_root/libexec --> /sysroot/libexecCMD: sudo -u tuscan PATH=/sysroot/bin:/sysroot/libexec/gcc/arm-linux-androideabi/4.8:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=arm-linux-androideabi-gcc CXX=arm-linux-androideabi-g++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
==> Making package: ecm-tools 1.03-1 (Tue Apr 4 19:32:52 UTC 2017)==> Checking runtime dependencies...==> Checking buildtime dependencies...==> WARNING: Using existing $srcdir/ tree==> Starting build()...cc1: error: no include path in which to search for stdc-predef.hIn file included from ecm.c:21:0:common.h:42:19: error: no include path in which to search for stdio.h #include ^common.h:43:20: error: no include path in which to search for stdlib.h #include ^common.h:44:20: error: no include path in which to search for string.h #include ^common.h:45:20: error: no include path in which to search for stdarg.h #include ^common.h:46:19: error: no include path in which to search for ctype.h #include ^common.h:47:19: error: no include path in which to search for errno.h #include ^common.h:48:18: error: no include path in which to search for time.h #include ^common.h:49:22: error: no include path in which to search for sys/stat.h #include ^common.h:50:23: error: no include path in which to search for sys/types.h #include ^common.h:51:20: error: no include path in which to search for limits.h #include ^common.h:55:20: error: no include path in which to search for unistd.h #include ^common.h:126:2: error: #error Unknown how to define int8_t! #error Unknown how to define int8_t! ^common.h:137:2: error: #error Unknown how to define uint8_t! #error Unknown how to define uint8_t! ^common.h:148:2: error: #error Unknown how to define int16_t! #error Unknown how to define int16_t! ^common.h:159:2: error: #error Unknown how to define uint16_t! #error Unknown how to define uint16_t! ^common.h:172:2: error: #error Unknown how to define int32_t! #error Unknown how to define int32_t! ^common.h:185:2: error: #error Unknown how to define uint32_t! #error Unknown how to define uint32_t! ^common.h:196:2: error: #error long type must be at least 32 bits! #error long type must be at least 32 bits! ^common.h: In function 'strtoofft':common.h:266:5: error: implicit declaration of function 'isspace' [-Werror=implicit-function-declaration] } while(isspace(c)); ^common.h:291:9: error: implicit declaration of function 'isdigit' [-Werror=implicit-function-declaration] if(isdigit(c)) { ^common.h:293:9: error: implicit declaration of function 'isalpha' [-Werror=implicit-function-declaration] } else if(isalpha(c)) { ^common.h:294:13: error: implicit declaration of function 'isupper' [-Werror=implicit-function-declaration] c -= isupper(c) ? 'A' - 10 : 'a' - 10; ^common.h:314:9: error: 'errno' undeclared (first use in this function) errno = ERANGE; ^common.h:314:9: note: each undeclared identifier is reported only once for each function it appears incommon.h:314:17: error: 'ERANGE' undeclared (first use in this function) errno = ERANGE; ^common.h: At top level:common.h:327:16: error: unknown type name 'FILE' void fprinthex(FILE* f, off_t off, int min_digits) { ^common.h:341:29: error: unknown type name 'FILE' static void fprintdec_digit(FILE* f, off_t off) { ^common.h:350:16: error: unknown type name 'FILE' void fprintdec(FILE* f, off_t off) { ^common.h: In function 'normalize_argv0':common.h:528:5: error: unknown type name 'size_t' size_t i; ^common.h:529:5: error: unknown type name 'size_t' size_t start = 0; ^common.h:540:9: error: implicit declaration of function 'tolower' [-Werror=implicit-function-declaration] if(c != 0) { c = tolower(c); } ^common.h: At top level:common.h:547:21: error: unknown type name 'FILE' void printfileerror(FILE* f, const char* name) { ^In file included from ecm.c:22:0:banner.h: In function 'banner_ok':banner.h:4:5: error: implicit declaration of function 'printf' [-Werror=implicit-function-declaration] printf(TITLE "\n" ^banner.h:4:5: error: incompatible implicit declaration of built-in function 'printf' [-Werror]In file included from ecm.c:22:0:banner.h:51:22: error: 'size_t' undeclared (first use in this function) (int)(sizeof(size_t) * 8), ^banner.h: In function 'banner_error':banner.h:57:5: error: incompatible implicit declaration of built-in function 'printf' [-Werror] printf("Configuration error\n"); ^banner.h:58:5: error: implicit declaration of function 'exit' [-Werror=implicit-function-declaration] exit(1); ^banner.h:58:5: error: incompatible implicit declaration of built-in function 'exit' [-Werror]banner.h: In function 'banner':banner.h:62:31: error: 'size_t' undeclared (first use in this function) ((sizeof(off_t) >= sizeof(size_t)) ? banner_ok : banner_error)(); ^banner.h:67:5: error: implicit declaration of function 'atexit' [-Werror=implicit-function-declaration] atexit(commandlinewarning); ^ecm.c: At top level:ecm.c:70:1: error: unknown type name 'uint32_t' static uint32_t get32lsb(const uint8_t* src) { ^ecm.c:70:1: error: unknown type name 'uint8_t'ecm.c: In function 'get32lsb':ecm.c:72:12: error: 'uint32_t' undeclared (first use in this function) (((uint32_t)(src[0])) << 0) | ^ecm.c: At top level:ecm.c:78:22: error: unknown type name 'uint8_t' static void put32lsb(uint8_t* dest, uint32_t value) { ^ecm.c:78:37: error: unknown type name 'uint32_t' static void put32lsb(uint8_t* dest, uint32_t value) { ^ecm.c:89:1: error: unknown type name 'uint8_t' static uint8_t ecc_f_lut[256]; ^ecm.c:90:1: error: unknown type name 'uint8_t' static uint8_t ecc_b_lut[256]; ^ecm.c:91:1: error: unknown type name 'uint32_t' static uint32_t edc_lut [256]; ^ecm.c: In function 'eccedc_init':ecm.c:94:5: error: unknown type name 'size_t' size_t i; ^ecm.c:96:9: error: unknown type name 'uint32_t' uint32_t edc = i; ^ecm.c:97:9: error: unknown type name 'size_t' size_t j = (i << 1) ^ (i & 0x80 ? 0x11D : 0); ^ecm.c: At top level:ecm.c:111:1: error: unknown type name 'uint32_t' static uint32_t edc_compute( ^ecm.c:112:5: error: unknown type name 'uint32_t' uint32_t edc, ^ecm.c:113:5: error: unknown type name 'uint8_t' const uint8_t* src, ^ecm.c:114:5: error: unknown type name 'size_t' size_t size ^ecm.c:127:1: error: unknown type name 'int8_t' static int8_t ecc_checkpq( ^ecm.c:128:5: error: unknown type name 'uint8_t' const uint8_t* address, ^ecm.c:129:5: error: unknown type name 'uint8_t' const uint8_t* data, ^ecm.c:130:5: error: unknown type name 'size_t' size_t major_count, ^ecm.c:131:5: error: unknown type name 'size_t' size_t minor_count, ^ecm.c:132:5: error: unknown type name 'size_t' size_t major_mult, ^ecm.c:133:5: error: unknown type name 'size_t' size_t minor_inc, ^ecm.c:134:5: error: unknown type name 'uint8_t' const uint8_t* ecc ^ecm.c:171:5: error: unknown type name 'uint8_t' const uint8_t* address, ^ecm.c:172:5: error: unknown type name 'uint8_t' const uint8_t* data, ^ecm.c:173:5: error: unknown type name 'size_t' size_t major_count, ^ecm.c:174:5: error: unknown type name 'size_t' size_t minor_count, ^ecm.c:175:5: error: unknown type name 'size_t' size_t major_mult, ^ecm.c:176:5: error: unknown type name 'size_t' size_t minor_inc, ^ecm.c:177:5: error: unknown type name 'uint8_t' uint8_t* ecc ^ecm.c:209:1: error: unknown type name 'int8_t' static int8_t ecc_checksector( ^ecm.c:210:5: error: unknown type name 'uint8_t' const uint8_t *address, ^ecm.c:211:5: error: unknown type name 'uint8_t' const uint8_t *data, ^ecm.c:212:5: error: unknown type name 'uint8_t' const uint8_t *ecc ^ecm.c: In function 'ecc_checksector':ecm.c:215:9: error: implicit declaration of function 'ecc_checkpq' [-Werror=implicit-function-declaration] ecc_checkpq(address, data, 86, 24, 2, 86, ecc) && // P ^ecm.c: At top level:ecm.c:223:5: error: unknown type name 'uint8_t' const uint8_t *address, ^ecm.c:224:5: error: unknown type name 'uint8_t' const uint8_t *data, ^ecm.c:225:5: error: unknown type name 'uint8_t' uint8_t *ecc ^ecm.c:233:1: error: unknown type name 'uint8_t' static const uint8_t zeroaddress[4] = {0, 0, 0, 0}; ^ecm.c:245:1: error: unknown type name 'int8_t' static int8_t detect_sector(const uint8_t* sector, size_t size_available) { ^ecm.c:245:1: error: unknown type name 'uint8_t'ecm.c:245:52: error: unknown type name 'size_t' static int8_t detect_sector(const uint8_t* sector, size_t size_available) { ^ecm.c:325:5: error: unknown type name 'uint8_t' uint8_t* sector, // must point to a full 2352-byte sector ^ecm.c:326:5: error: unknown type name 'int8_t' int8_t type ^ecm.c:406:1: error: unknown type name 'int8_t' static int8_t write_type_count( ^ecm.c:408:5: error: unknown type name 'FILE' FILE *out, ^ecm.c:409:5: error: unknown type name 'int8_t' int8_t type, ^ecm.c:410:5: error: unknown type name 'uint32_t' uint32_t count ^ecm.c:445:1: error: unknown type name 'uint8_t' static uint8_t sector_buffer[2352]; ^ecm.c: In function 'encode_progress':ecm.c:466:5: error: implicit declaration of function 'fprintf' [-Werror=implicit-function-declaration] fprintf(stderr, ^ecm.c:466:5: error: incompatible implicit declaration of built-in function 'fprintf' [-Werror]ecm.c:466:13: error: 'stderr' undeclared (first use in this function) fprintf(stderr, ^ecm.c: In function 'decode_progress':ecm.c:477:5: error: incompatible implicit declaration of built-in function 'fprintf' [-Werror] fprintf(stderr, ^ecm.c:477:13: error: 'stderr' undeclared (first use in this function) fprintf(stderr, ^ecm.c: In function 'setcounter_analyze':ecm.c:484:5: error: unknown type name 'int8_t' int8_t p = ((n >> 20) != (mycounter_analyze >> 20)); ^ecm.c: In function 'setcounter_encode':ecm.c:490:5: error: unknown type name 'int8_t' int8_t p = ((n >> 20) != (mycounter_encode >> 20)); ^ecm.c: In function 'setcounter_decode':ecm.c:496:5: error: unknown type name 'int8_t' int8_t p = ((n >> 20) != (mycounter_decode >> 20)); ^ecm.c: At top level:ecm.c:507:1: error: unknown type name 'int8_t' static int8_t write_sectors( ^ecm.c:508:5: error: unknown type name 'int8_t' int8_t type, ^ecm.c:509:5: error: unknown type name 'uint32_t' uint32_t count, ^ecm.c:512:5: error: unknown type name 'FILE' FILE* in, ^ecm.c:513:5: error: unknown type name 'FILE' FILE* out ^ecm.c:574:1: error: unknown type name 'int8_t' static int8_t ecmify( ^ecm.c: In function 'ecmify':ecm.c:578:5: error: unknown type name 'int8_t' int8_t returncode = 0; ^ecm.c:580:5: error: unknown type name 'FILE' FILE* in = NULL; ^ecm.c:580:17: error: 'NULL' undeclared (first use in this function) FILE* in = NULL; ^ecm.c:581:5: error: unknown type name 'FILE' FILE* out = NULL; ^ecm.c:583:5: error: unknown type name 'uint8_t' uint8_t* queue = NULL; ^ecm.c:584:5: error: unknown type name 'size_t' size_t queue_start_ofs = 0; ^ecm.c:585:5: error: unknown type name 'size_t' size_t queue_bytes_available = 0; ^ecm.c:587:5: error: unknown type name 'uint32_t' uint32_t input_edc = 0; ^ecm.c:592:5: error: unknown type name 'int8_t' int8_t curtype = -1; // not a valid type ^ecm.c:593:5: error: unknown type name 'uint32_t' uint32_t curtype_count = 0; ^ecm.c:596:5: error: unknown type name 'uint32_t' uint32_t literal_skip = 0; ^ecm.c:604:5: error: unknown type name 'size_t' static const size_t sectorsize[4] = { ^ecm.c:611:5: error: unknown type name 'size_t' size_t queue_size = ((size_t)(-1)) - 4095; ^ecm.c:611:27: error: 'size_t' undeclared (first use in this function) size_t queue_size = ((size_t)(-1)) - 4095; ^ecm.c:613:30: error: expected ';' before numeric constant queue_size = (size_t)0x40000lu; ^ecm.c:619:5: error: implicit declaration of function 'malloc' [-Werror=implicit-function-declaration] queue = malloc(queue_size); ^ecm.c:619:13: error: incompatible implicit declaration of built-in function 'malloc' [-Werror] queue = malloc(queue_size); ^ecm.c:621:9: error: incompatible implicit declaration of built-in function 'printf' [-Werror] printf("Out of memory\n"); ^ecm.c:628:5: error: implicit declaration of function 'fopen' [-Werror=implicit-function-declaration] out = fopen(outfilename, "rb"); ^ecm.c:628:9: error: assignment makes pointer from integer without a cast [-Werror] out = fopen(outfilename, "rb"); ^ecm.c:630:9: error: incompatible implicit declaration of built-in function 'printf' [-Werror] printf("Error: %s exists; refusing to overwrite\n", outfilename); ^ecm.c:637:8: error: assignment makes pointer from integer without a cast [-Werror] in = fopen(infilename, "rb"); ^ecm.c:640:9: error: assignment makes pointer from integer without a cast [-Werror] out = fopen(outfilename, "wb"); ^ecm.c:643:5: error: incompatible implicit declaration of built-in function 'printf' [-Werror] printf("Encoding %s to %s...\n", infilename, outfilename); ^ecm.c:648:5: error: implicit declaration of function 'fseek' [-Werror=implicit-function-declaration] if(fseeko(in, 0, SEEK_END) != 0) { goto error_in; } ^ecm.c:648:22: error: 'SEEK_END' undeclared (first use in this function) if(fseeko(in, 0, SEEK_END) != 0) { goto error_in; } ^ecm.c:649:5: error: implicit declaration of function 'ftell' [-Werror=implicit-function-declaration] input_file_length = ftello(in); ^ecm.c:657:5: error: implicit declaration of function 'fputc' [-Werror=implicit-function-declaration] if(fputc('E' , out) == EOF) { goto error_out; } ^ecm.c:657:28: error: 'EOF' undeclared (first use in this function) if(fputc('E' , out) == EOF) { goto error_out; } ^ecm.c:663:9: error: unknown type name 'int8_t' int8_t detecttype; ^ecm.c:682:17: error: implicit declaration of function 'memmove' [-Werror=implicit-function-declaration] memmove(queue, queue + queue_start_ofs, queue_bytes_available); ^ecm.c:682:17: error: incompatible implicit declaration of built-in function 'memmove' [-Werror]ecm.c:688:51: error: 'SEEK_SET' undeclared (first use in this function) if(fseeko(in, input_bytes_queued, SEEK_SET) != 0) { ^ecm.c:691:17: error: implicit declaration of function 'fread' [-Werror=implicit-function-declaration] if(fread(queue + queue_bytes_available, 1, willread, in) != (size_t)willread) { ^ecm.c:691:85: error: expected ')' before 'willread' if(fread(queue + queue_bytes_available, 1, willread, in) != (size_t)willread) { ^ecm.c:695:17: error: implicit declaration of function 'edc_compute' [-Werror=implicit-function-declaration] input_edc = edc_compute( ^ecm.c:748:17: error: implicit declaration of function 'detect_sector' [-Werror=implicit-function-declaration] detecttype = detect_sector(queue + queue_start_ofs, queue_bytes_available); ^ecm.c:768:17: error: implicit declaration of function 'write_sectors' [-Werror=implicit-function-declaration] if(write_sectors( ^ecm.c:800:5: error: implicit declaration of function 'write_type_count' [-Werror=implicit-function-declaration] if(write_type_count(outfilename, out, 0, 0)) { goto error; } ^ecm.c:805:5: error: implicit declaration of function 'put32lsb' [-Werror=implicit-function-declaration] put32lsb(sector_buffer, input_edc); ^ecm.c:806:5: error: implicit declaration of function 'fwrite' [-Werror=implicit-function-declaration] if(fwrite(sector_buffer, 1, 4, out) != 4) { goto error_out; } ^ecm.c:806:8: error: incompatible implicit declaration of built-in function 'fwrite' [-Werror] if(fwrite(sector_buffer, 1, 4, out) != 4) { goto error_out; } ^ecm.c:811:5: error: implicit declaration of function 'fprintdec' [-Werror=implicit-function-declaration] printf("Literal bytes........... "); fprintdec(stdout, typetally[0]); printf("\n"); ^ecm.c:811:52: error: 'stdout' undeclared (first use in this function) printf("Literal bytes........... "); fprintdec(stdout, typetally[0]); printf("\n"); ^ecm.c:829:5: error: implicit declaration of function 'printfileerror' [-Werror=implicit-function-declaration] printfileerror(in, infilename); ^ecm.c:841:5: error: implicit declaration of function 'free' [-Werror=implicit-function-declaration] if(queue != NULL) { free(queue); } ^ecm.c:841:25: error: incompatible implicit declaration of built-in function 'free' [-Werror] if(queue != NULL) { free(queue); } ^ecm.c:842:5: error: implicit declaration of function 'fclose' [-Werror=implicit-function-declaration] if(in != NULL) { fclose(in ); } ^ecm.c: At top level:ecm.c:852:1: error: unknown type name 'int8_t' static int8_t unecmify( ^ecm.c: In function 'unecmify':ecm.c:856:5: error: unknown type name 'int8_t' int8_t returncode = 0; ^ecm.c:858:5: error: unknown type name 'FILE' FILE* in = NULL; ^ecm.c:858:17: error: 'NULL' undeclared (first use in this function) FILE* in = NULL; ^ecm.c:859:5: error: unknown type name 'FILE' FILE* out = NULL; ^ecm.c:863:5: error: unknown type name 'uint32_t' uint32_t output_edc = 0; ^ecm.c:864:5: error: unknown type name 'int8_t' int8_t type; ^ecm.c:865:5: error: unknown type name 'uint32_t' uint32_t num; ^ecm.c:870:9: error: assignment makes pointer from integer without a cast [-Werror] out = fopen(outfilename, "rb"); ^ecm.c:872:9: error: incompatible implicit declaration of built-in function 'printf' [-Werror] printf("Error: %s exists; refusing to overwrite\n", outfilename); ^ecm.c:879:8: error: assignment makes pointer from integer without a cast [-Werror] in = fopen(infilename, "rb"); ^ecm.c:885:22: error: 'SEEK_END' undeclared (first use in this function) if(fseeko(in, 0, SEEK_END) != 0) { goto error_in; } ^ecm.c:891:22: error: 'SEEK_SET' undeclared (first use in this function) if(fseeko(in, 0, SEEK_SET) != 0) { goto error_in; } ^ecm.c:897:9: error: implicit declaration of function 'fgetc' [-Werror=implicit-function-declaration] (fgetc(in) != 'E') || ^ecm.c:902:9: error: incompatible implicit declaration of built-in function 'printf' [-Werror] printf("Header missing; does not appear to be an ECM file\n"); ^ecm.c:909:9: error: assignment makes pointer from integer without a cast [-Werror] out = fopen(outfilename, "wb"); ^ecm.c:912:5: error: incompatible implicit declaration of built-in function 'printf' [-Werror] printf("Decoding %s to %s...\n", infilename, outfilename); ^ecm.c:917:17: error: 'EOF' undeclared (first use in this function) if(c == EOF) { goto error_in; } ^ecm.c:925:19: error: 'uint32_t' undeclared (first use in this function) ((uint32_t)(c & 0x7F)) >= (((uint32_t)0x80000000LU) >> (bits-1)) ^ecm.c:925:55: error: expected ')' before numeric constant ((uint32_t)(c & 0x7F)) >= (((uint32_t)0x80000000LU) >> (bits-1)) ^ecm.c:933:16: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] if(num == 0xFFFFFFFF) { ^ecm.c:940:26: error: expected ';' before 'b' uint32_t b = num; ^ecm.c:941:20: error: 'b' undeclared (first use in this function) if(b > sizeof(sector_buffer)) { b = sizeof(sector_buffer); } ^ecm.c:946:20: error: incompatible implicit declaration of built-in function 'fwrite' [-Werror] if(fwrite(sector_buffer, 1, b, out) != b) { ^ecm.c:958:21: error: implicit declaration of function 'reconstruct_sector' [-Werror=implicit-function-declaration] reconstruct_sector(sector_buffer, 1); ^ecm.c:960:24: error: incompatible implicit declaration of built-in function 'fwrite' [-Werror] if(fwrite(sector_buffer, 1, 2352, out) != 2352) { goto error_out; } ^ecm.c:985:15: error: 'stdout' undeclared (first use in this function) fprintdec(stdout, ftello(in)); ^ecm.c: In function 'main':ecm.c:1028:5: error: unknown type name 'int8_t' int8_t encode = 0; ^ecm.c:1029:25: error: 'NULL' undeclared (first use in this function) char* infilename = NULL; ^ecm.c:1044:9: error: implicit declaration of function 'strcmp' [-Werror=implicit-function-declaration] encode = (strcmp(argv[0], "ecm2bin") != 0); ^ecm.c:1047:24: error: incompatible implicit declaration of built-in function 'malloc' [-Werror] tempfilename = malloc(strlen(infilename) + 7); ^ecm.c:1047:9: error: implicit declaration of function 'strlen' [-Werror=implicit-function-declaration] tempfilename = malloc(strlen(infilename) + 7); ^ecm.c:1047:31: error: incompatible implicit declaration of built-in function 'strlen' [-Werror] tempfilename = malloc(strlen(infilename) + 7); ^ecm.c:1049:13: error: incompatible implicit declaration of built-in function 'printf' [-Werror] printf("Out of memory\n"); ^ecm.c:1053:9: error: implicit declaration of function 'strcpy' [-Werror=implicit-function-declaration] strcpy(tempfilename, infilename); ^ecm.c:1053:9: error: incompatible implicit declaration of built-in function 'strcpy' [-Werror]ecm.c:1059:13: error: implicit declaration of function 'strcat' [-Werror=implicit-function-declaration] strcat(tempfilename, ".ecm"); ^ecm.c:1059:13: error: incompatible implicit declaration of built-in function 'strcat' [-Werror]ecm.c:1064:13: error: unknown type name 'size_t' size_t l = strlen(tempfilename); ^ecm.c:1077:17: error: incompatible implicit declaration of built-in function 'strcat' [-Werror] strcat(tempfilename, ".unecm"); ^ecm.c:1119:5: error: incompatible implicit declaration of built-in function 'printf' [-Werror] printf( ^ecm.c:1136:24: error: incompatible implicit declaration of built-in function 'free' [-Werror] if(tempfilename) { free(tempfilename); } ^ecm.c: At top level:ecm.c:209:15: error: 'ecc_checksector' defined but not used [-Werror=unused-function] static int8_t ecc_checksector( ^ecm.c:489:13: error: 'setcounter_encode' defined but not used [-Werror=unused-function] static void setcounter_encode(off_t n) { ^ecm.c: In function 'get32lsb':ecm.c:76:1: error: control reaches end of non-void function [-Werror=return-type] } ^cc1: all warnings being treated as errors==> ERROR: A failure occurred in build(). Aborting...