The build took 00h 01m 10s and was NOT successful.
The program in this build is written in the following languages, according to sloccount:
SLOC | Language |
---|---|
5,319 |
ansic |
99 |
makefile |
5,418 |
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/libexec
CMD: 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: foremost 1.5.7-3 (Tue Apr 4 19:45:55 UTC 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
gcc -Wall -O2 -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c main.c
gcc -Wall -O2 -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c state.c
gcc -Wall -O2 -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c helpers.c
gcc -Wall -O2 -DVERSION=\"1.5.7\" -D__UNIX -D__LINUX -DLARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c config.c
cc1: error: no include path in which to search for stdc-predef.h
In file included from main.c:17:0:
main.h:33:19: error: no include path in which to search for stdio.h
#include
^
main.h:34:20: error: no include path in which to search for stdlib.h
#include
^
main.h:35:20: error: no include path in which to search for limits.h
#include
^
main.h:36:20: error: no include path in which to search for dirent.h
#include
^
main.h:37:19: error: no include path in which to search for errno.h
#include
^
main.h:38:20: error: no include path in which to search for string.h
#include
^
main.h:39:20: error: no include path in which to search for unistd.h
#include
^
main.h:40:18: error: no include path in which to search for time.h
#include
^
main.h:41:18: error: no include path in which to search for math.h
#include
^
main.h:42:19: error: no include path in which to search for ctype.h
#include
^
main.h:43:22: error: no include path in which to search for sys/stat.h
#include
^
main.h:44:23: error: no include path in which to search for sys/types.h
#include
^
main.h:45:20: error: no include path in which to search for signal.h
#include
^
main.h:48:20: error: no include path in which to search for stdarg.h
#include
^
main.h:51:23: error: no include path in which to search for sys/ioctl.h
#include
^
main.h:52:23: error: no include path in which to search for sys/mount.h
#include
^
main.h:62:20: error: no include path in which to search for endian.h
#include
^
main.h:111:20: error: no include path in which to search for libgen.h
#include
^
main.h:122:12: error: unknown type name 'FILE'
int fseeko(FILE *stream, off_t offset, int whence);
^
main.h:122:26: error: unknown type name 'off_t'
int fseeko(FILE *stream, off_t offset, int whence);
^
main.h:123:1: error: unknown type name 'off_t'
off_t ftello(FILE *stream);
^
main.h:123:14: error: unknown type name 'FILE'
off_t ftello(FILE *stream);
^
main.h:137:19: error: no include path in which to search for fcntl.h
#include
^
main.h:298:3: error: unknown type name 'off_t'
off_t mode;
^
main.h:305:3: error: unknown type name 'FILE'
FILE *audit_file;
^
main.h:320:5: error: unknown type name 'size_t'
size_t marker_bm_table[UCHAR_MAX+1];
^
main.h:320:28: error: 'UCHAR_MAX' undeclared here (not in a function)
size_t marker_bm_table[UCHAR_MAX+1];
^
main.h:330:5: error: unknown type name 'size_t'
size_t header_bm_table[UCHAR_MAX+1];
^
main.h:334:5: error: unknown type name 'size_t'
size_t footer_bm_table[UCHAR_MAX+1];
^
main.h:351:3: error: unknown type name 'off_t'
off_t total_bytes;
^
main.h:355:3: error: unknown type name 'off_t'
off_t total_megs;
^
main.h:356:3: error: unknown type name 'off_t'
off_t bytes_read;
^
main.h:365:3: error: unknown type name 'FILE'
FILE *handle;
^
main.h:393:27: error: unknown type name 'off_t'
void set_mode(f_state *s, off_t new_mode);
^
main.h:394:26: error: unknown type name 'off_t'
int get_mode(f_state *s, off_t check_mode);
^
main.h:404:43: error: unknown type name 'size_t'
void init_bm_table(unsigned char *needle, size_t table[UCHAR_MAX + 1], size_t len, int casesensitive,int searchtype);
^
main.h:404:72: error: unknown type name 'size_t'
void init_bm_table(unsigned char *needle, size_t table[UCHAR_MAX + 1], size_t len, int casesensitive,int searchtype);
^
main.h:432:1: error: unknown type name 'off_t'
off_t find_file_size(FILE *f);
^
main.h:432:22: error: unknown type name 'FILE'
off_t find_file_size(FILE *f);
^
main.h:433:22: error: unknown type name 'off_t'
char *human_readable(off_t size, char *buffer);
^
main.h:437:51: error: unknown type name 'size_t'
int memwildcardcmp(const void *s1, const void *s2,size_t n,int caseSensitive);
^
main.h:451:46: error: unknown type name 'va_list'
void print_message(f_state *s, char *format, va_list argp);
^
main.h:457:49: error: unknown type name 'size_t'
unsigned char *bm_search(unsigned char *needle, size_t needle_len,unsigned char *haystack, size_t haystack_len,
^
main.h:457:92: error: unknown type name 'size_t'
unsigned char *bm_search(unsigned char *needle, size_t needle_len,unsigned char *haystack, size_t haystack_len,
^
main.h:458:2: error: unknown type name 'size_t'
size_t table[UCHAR_MAX + 1], int case_sen,int searchtype);
^
main.h:459:55: error: unknown type name 'size_t'
unsigned char *bm_search_skipn(unsigned char *needle, size_t needle_len,unsigned char *haystack, size_t haystack_len,
^
main.h:459:98: error: unknown type name 'size_t'
unsigned char *bm_search_skipn(unsigned char *needle, size_t needle_len,unsigned char *haystack, size_t haystack_len,
^
main.h:460:2: error: unknown type name 'size_t'
size_t table[UCHAR_MAX + 1], int casesensitive,int searchtype, int start_pos) ;
^
main.c: In function 'catch_alarm':
main.c:29:2: warning: implicit declaration of function 'signal' [-Wimplicit-function-declaration]
signal(signum, catch_alarm);
^
main.c: In function 'register_signal_handler':
main.c:36:13: error: 'SIGINT' undeclared (first use in this function)
if (signal(SIGINT, catch_alarm) == SIG_IGN)
^
main.c:36:13: note: each undeclared identifier is reported only once for each function it appears in
main.c:36:37: error: 'SIG_IGN' undeclared (first use in this function)
if (signal(SIGINT, catch_alarm) == SIG_IGN)
^
main.c:38:13: error: 'SIGTERM' undeclared (first use in this function)
if (signal(SIGTERM, catch_alarm) == SIG_IGN)
^
main.c: In function 'try_msg':
main.c:57:2: warning: implicit declaration of function 'fprintf' [-Wimplicit-function-declaration]
fprintf(stderr, "Try `%s -h` for more information.%s", __progname, NEWLINE);
^
main.c:57:2: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
main.c:57:10: error: 'stderr' undeclared (first use in this function)
fprintf(stderr, "Try `%s -h` for more information.%s", __progname, NEWLINE);
^
main.c: In function 'usage':
main.c:64:2: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "%s version %s by %s.%s", __progname, VERSION, AUTHOR, NEWLINE);
^
main.c:64:10: error: 'stderr' undeclared (first use in this function)
fprintf(stderr, "%s version %s by %s.%s", __progname, VERSION, AUTHOR, NEWLINE);
^
main.c: In function 'process_command_line':
main.c:104:2: warning: implicit declaration of function 'getopt' [-Wimplicit-function-declaration]
while ((i = getopt(argc, argv, "o:b:c:t:s:i:k:hqmQTadvVw")) != -1)
^
main.c:110:5: warning: implicit declaration of function 'set_mode' [-Wimplicit-function-declaration]
set_mode(s, mode_verbose);
^
main.c:126:5: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration]
set_block(s, atoi(optarg));
^
main.c:126:23: error: 'optarg' undeclared (first use in this function)
set_block(s, atoi(optarg));
^
main.c:175:8: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
exit(EXIT_SUCCESS);
^
main.c:175:8: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
main.c:175:13: error: 'EXIT_SUCCESS' undeclared (first use in this function)
exit(EXIT_SUCCESS);
^
main.c:186:8: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
exit(EXIT_SUCCESS);
^
main.c:201:5: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
exit(EXIT_SUCCESS);
^
main.c:204:5: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
printf("%s%s", VERSION, NEWLINE);
^
main.c:204:5: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
main.c:214:10: error: 'EXIT_FAILURE' undeclared (first use in this function)
exit(EXIT_FAILURE);
^
main.c: In function 'main':
main.c:229:2: error: unknown type name 'FILE'
FILE *testFile = NULL;
^
main.c:229:19: error: 'NULL' undeclared (first use in this function)
FILE *testFile = NULL;
^
main.c:230:2: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
f_state *s = (f_state *)malloc(sizeof(f_state));
^
main.c:230:26: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
f_state *s = (f_state *)malloc(sizeof(f_state));
^
main.c:233:2: error: unknown type name 'DIR'
DIR* dir;
^
main.c:236:2: warning: implicit declaration of function 'basename' [-Wimplicit-function-declaration]
__progname = basename(argv[0]);
^
main.c:236:13: warning: assignment makes pointer from integer without a cast [enabled by default]
__progname = basename(argv[0]);
^
main.c:259:2: warning: implicit declaration of function 'get_mode' [-Wimplicit-function-declaration]
if (!get_mode(s, mode_write_audit))
^
main.c:270:3: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
if(strcmp(*argv,"-c")==0)
^
main.c:275:3: warning: implicit declaration of function 'fopen' [-Wimplicit-function-declaration]
testFile = fopen(*argv, "rb");
^
main.c:275:12: warning: assignment makes pointer from integer without a cast [enabled by default]
testFile = fopen(*argv, "rb");
^
main.c:278:4: warning: implicit declaration of function 'fclose' [-Wimplicit-function-declaration]
fclose(testFile);
^
main.c:279:4: warning: implicit declaration of function 'opendir' [-Wimplicit-function-declaration]
dir = opendir(*argv);
^
main.c:279:8: warning: assignment makes pointer from integer without a cast [enabled by default]
dir = opendir(*argv);
^
main.c:281:4: warning: implicit declaration of function 'strstr' [-Wimplicit-function-declaration]
if(!strstr(s->config_file,*argv)!=0 && !dir)
^
main.c:281:8: warning: incompatible implicit declaration of built-in function 'strstr' [enabled by default]
if(!strstr(s->config_file,*argv)!=0 && !dir)
^
main.c:286:4: warning: implicit declaration of function 'closedir' [-Wimplicit-function-declaration]
if(dir) closedir(dir);
^
main.c:301:12: warning: assignment makes pointer from integer without a cast [enabled by default]
testFile = fopen(*argv, "rb");
^
main.c:306:9: warning: assignment makes pointer from integer without a cast [enabled by default]
dir = opendir(*argv);
^
main.c:307:9: warning: incompatible implicit declaration of built-in function 'strstr' [enabled by default]
if(!strstr(s->config_file,*argv)!=0 && !dir)
^
main.c:339:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
free(s);
^
main.c:339:2: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
main.c:340:9: error: 'EXIT_SUCCESS' undeclared (first use in this function)
return EXIT_SUCCESS;
^
cc1: error: no include path in which to search for stdc-predef.h
In file included from state.c:3:0:
main.h:33:19: error: no include path in which to search for stdio.h
#include
^
main.h:34:20: error: no include path in which to search for stdlib.h
#include
^
main.h:35:20: error: no include path in which to search for limits.h
#include
^
main.h:36:20: error: no include path in which to search for dirent.h
#include
^
main.h:37:19: error: no include path in which to search for errno.h
#include
^
main.h:38:20: error: no include path in which to search for string.h
#include
^
main.h:39:20: error: no include path in which to search for unistd.h
#include
^
main.h:40:18: error: no include path in which to search for time.h
#include
^
main.h:41:18: error: no include path in which to search for math.h
#include
^
main.h:42:19: error: no include path in which to search for ctype.h
#include
^
main.h:43:22: error: no include path in which to search for sys/stat.h
#include
^
main.h:44:23: error: no include path in which to search for sys/types.h
#include
^
main.h:45:20: error: no include path in which to search for signal.h
#include
^
main.h:48:20: error: no include path in which to search for stdarg.h
#include
^
main.c:341:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
main.h:51:23: error: no include path in which to search for sys/ioctl.h
#include
^
main.h:52:23: error: no include path in which to search for sys/mount.h
#include
^
main.h:62:20: error: no include path in which to search for endian.h
#include
^
main.h:111:20: error: no include path in which to search for libgen.h
#include
^
main.h:122:12: error: unknown type name 'FILE'
int fseeko(FILE *stream, off_t offset, int whence);
^
main.h:122:26: error: unknown type name 'off_t'
int fseeko(FILE *stream, off_t offset, int whence);
^
main.h:123:1: error: unknown type name 'off_t'
off_t ftello(FILE *stream);
^
main.h:123:14: error: unknown type name 'FILE'
off_t ftello(FILE *stream);
^
main.h:137:19: error: no include path in which to search for fcntl.h
#include
^
main.h:298:3: error: unknown type name 'off_t'
off_t mode;
^
main.h:305:3: error: unknown type name 'FILE'
FILE *audit_file;
^
main.h:320:5: error: unknown type name 'size_t'
size_t marker_bm_table[UCHAR_MAX+1];
^
main.h:320:28: error: 'UCHAR_MAX' undeclared here (not in a function)
size_t marker_bm_table[UCHAR_MAX+1];
^
main.h:330:5: error: unknown type name 'size_t'
size_t header_bm_table[UCHAR_MAX+1];
^
main.h:334:5: error: unknown type name 'size_t'
size_t footer_bm_table[UCHAR_MAX+1];
^
make: *** [Makefile:42: main.o] Error 1
make: *** Waiting for unfinished jobs....
main.h:351:3: error: unknown type name 'off_t'
off_t total_bytes;
^
main.h:355:3: error: unknown type name 'off_t'
off_t total_megs;
^
main.h:356:3: error: unknown type name 'off_t'
off_t bytes_read;
^
main.h:365:3: error: unknown type name 'FILE'
FILE *handle;
^
main.h:393:27: error: unknown type name 'off_t'
void set_mode(f_state *s, off_t new_mode);
^
cc1: error: no include path in which to search for stdc-predef.h
main.h:394:26: error: unknown type name 'off_t'
int get_mode(f_state *s, off_t check_mode);
^
main.h:404:43: error: unknown type name 'size_t'
void init_bm_table(unsigned char *needle, size_t table[UCHAR_MAX + 1], size_t len, int casesensitive,int searchtype);
^
main.h:404:72: error: unknown type name 'size_t'
void init_bm_table(unsigned char *needle, size_t table[UCHAR_MAX + 1], size_t len, int casesensitive,int searchtype);
^
In file included from helpers.c:15:0:
main.h:33:19: error: no include path in which to search for stdio.h
#include
^
main.h:34:20: error: no include path in which to search for stdlib.h
#include
^
main.h:35:20: error: no include path in which to search for limits.h
#include
^
main.h:36:20: error: no include path in which to search for dirent.h
#include
^
main.h:37:19: error: no include path in which to search for errno.h
#include
^
main.h:38:20: error: no include path in which to search for string.h
#include
^
main.h:39:20: error: no include path in which to search for unistd.h
#include
^
main.h:40:18: error: no include path in which to search for time.h
#include
^
main.h:41:18: error: no include path in which to search for math.h
#include
^
main.h:42:19: error: no include path in which to search for ctype.h
#include
^
main.h:43:22: error: no include path in which to search for sys/stat.h
#include
^
main.h:44:23: error: no include path in which to search for sys/types.h
#include
^
main.h:432:1: error: unknown type name 'off_t'
off_t find_file_size(FILE *f);
^
main.h:45:20: error: no include path in which to search for signal.h
#include
^
main.h:48:20: error: no include path in which to search for stdarg.h
#include
^
main.h:51:23: error: no include path in which to search for sys/ioctl.h
#include
^
main.h:52:23: error: no include path in which to search for sys/mount.h
#include
^
main.h:432:22: error: unknown type name 'FILE'
off_t find_file_size(FILE *f);
^
main.h:62:20: error: no include path in which to search for endian.h
#include
^
main.h:433:22: error: unknown type name 'off_t'
char *human_readable(off_t size, char *buffer);
^
main.h:111:20: error: no include path in which to search for libgen.h
#include
^
main.h:122:12: error: unknown type name 'FILE'
int fseeko(FILE *stream, off_t offset, int whence);
^
main.h:122:26: error: unknown type name 'off_t'
int fseeko(FILE *stream, off_t offset, int whence);
^
main.h:437:51: error: unknown type name 'size_t'
int memwildcardcmp(const void *s1, const void *s2,size_t n,int caseSensitive);
^
main.h:123:1: error: unknown type name 'off_t'
off_t ftello(FILE *stream);
^
main.h:123:14: error: unknown type name 'FILE'
off_t ftello(FILE *stream);
^
main.h:137:19: error: no include path in which to search for fcntl.h
#include
^
main.h:451:46: error: unknown type name 'va_list'
void print_message(f_state *s, char *format, va_list argp);
^
main.h:298:3: error: unknown type name 'off_t'
off_t mode;
^
cc1: error: no include path in which to search for stdc-predef.h
main.h:457:49: error: unknown type name 'size_t'
unsigned char *bm_search(unsigned char *needle, size_t needle_len,unsigned char *haystack, size_t haystack_len,
^
main.h:305:3: error: unknown type name 'FILE'
FILE *audit_file;
^
main.h:457:92: error: unknown type name 'size_t'
unsigned char *bm_search(unsigned char *needle, size_t needle_len,unsigned char *haystack, size_t haystack_len,
^
main.h:458:2: error: unknown type name 'size_t'
size_t table[UCHAR_MAX + 1], int case_sen,int searchtype);
^
main.h:320:5: error: unknown type name 'size_t'
size_t marker_bm_table[UCHAR_MAX+1];
^
main.h:459:55: error: unknown type name 'size_t'
unsigned char *bm_search_skipn(unsigned char *needle, size_t needle_len,unsigned char *haystack, size_t haystack_len,
^
main.h:320:28: error: 'UCHAR_MAX' undeclared here (not in a function)
size_t marker_bm_table[UCHAR_MAX+1];
^
In file included from config.c:3:0:
main.h:33:19: error: no include path in which to search for stdio.h
#include
^
main.h:34:20: error: no include path in which to search for stdlib.h
#include
^
main.h:459:98: error: unknown type name 'size_t'
unsigned char *bm_search_skipn(unsigned char *needle, size_t needle_len,unsigned char *haystack, size_t haystack_len,
^
main.h:35:20: error: no include path in which to search for limits.h
#include
^
main.h:36:20: error: no include path in which to search for dirent.h
#include
^
main.h:37:19: error: no include path in which to search for errno.h
#include
^
main.h:330:5: error: unknown type name 'size_t'
size_t header_bm_table[UCHAR_MAX+1];
^
main.h:38:20: error: no include path in which to search for string.h
#include
^
main.h:39:20: error: no include path in which to search for unistd.h
#include
^
main.h:40:18: error: no include path in which to search for time.h
#include
^
main.h:460:2: error: unknown type name 'size_t'
size_t table[UCHAR_MAX + 1], int casesensitive,int searchtype, int start_pos) ;
^
main.h:334:5: error: unknown type name 'size_t'
size_t footer_bm_table[UCHAR_MAX+1];
^
main.h:41:18: error: no include path in which to search for math.h
#include
^
main.h:42:19: error: no include path in which to search for ctype.h
#include
^
main.h:43:22: error: no include path in which to search for sys/stat.h
#include
^
main.h:44:23: error: no include path in which to search for sys/types.h
#include
^
main.h:45:20: error: no include path in which to search for signal.h
#include
^
main.h:48:20: error: no include path in which to search for stdarg.h
#include
^
main.h:51:23: error: no include path in which to search for sys/ioctl.h
#include
^
state.c: In function 'initialize_state':
main.h:52:23: error: no include path in which to search for sys/mount.h
#include
^
main.h:62:20: error: no include path in which to search for endian.h
#include
^
main.h:351:3: error: unknown type name 'off_t'
off_t total_bytes;
^
state.c:12:2: warning: implicit declaration of function 'strdup' [-Wimplicit-function-declaration]
s->start_time = strdup(current_time());
^
state.c:12:18: warning: incompatible implicit declaration of built-in function 'strdup' [enabled by default]
s->start_time = strdup(current_time());
^
main.h:355:3: error: unknown type name 'off_t'
off_t total_megs;
^
main.h:111:20: error: no include path in which to search for libgen.h
#include
^
main.h:122:12: error: unknown type name 'FILE'
int fseeko(FILE *stream, off_t offset, int whence);
^
main.h:356:3: error: unknown type name 'off_t'
off_t bytes_read;
^
main.h:122:26: error: unknown type name 'off_t'
int fseeko(FILE *stream, off_t offset, int whence);
^
state.c:16:18: error: 'NULL' undeclared (first use in this function)
s->input_file = NULL;
^
state.c:16:18: note: each undeclared identifier is reported only once for each function it appears in
main.h:365:3: error: unknown type name 'FILE'
FILE *handle;
^
main.h:123:1: error: unknown type name 'off_t'
off_t ftello(FILE *stream);
^
main.h:123:14: error: unknown type name 'FILE'
off_t ftello(FILE *stream);
^
main.h:137:19: error: no include path in which to search for fcntl.h
#include
^
state.c:24:2: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
s->invocation = (char *)malloc(sizeof(char) * MAX_STRING_LENGTH);
^
state.c:24:26: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
s->invocation = (char *)malloc(sizeof(char) * MAX_STRING_LENGTH);
^
main.h:393:27: error: unknown type name 'off_t'
void set_mode(f_state *s, off_t new_mode);
^
state.c:32:3: warning: implicit declaration of function 'strncat' [-Wimplicit-function-declaration]
strncat(s->invocation, *argv_copy, MAX_STRING_LENGTH - strlen(s->invocation));
^
main.h:394:26: error: unknown type name 'off_t'
int get_mode(f_state *s, off_t check_mode);
^
state.c:32:3: warning: incompatible implicit declaration of built-in function 'strncat' [enabled by default]
main.h:298:3: error: unknown type name 'off_t'
off_t mode;
^
state.c:32:3: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
state.c:32:58: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
strncat(s->invocation, *argv_copy, MAX_STRING_LENGTH - strlen(s->invocation));
^
main.h:404:43: error: unknown type name 'size_t'
void init_bm_table(unsigned char *needle, size_t table[UCHAR_MAX + 1], size_t len, int casesensitive,int searchtype);
^
main.h:305:3: error: unknown type name 'FILE'
FILE *audit_file;
^
main.h:404:72: error: unknown type name 'size_t'
void init_bm_table(unsigned char *needle, size_t table[UCHAR_MAX + 1], size_t len, int casesensitive,int searchtype);
^
state.c: In function 'free_state':
main.h:320:5: error: unknown type name 'size_t'
size_t marker_bm_table[UCHAR_MAX+1];
^
state.c:43:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
free(s->start_time);
^
state.c:43:2: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
main.h:320:28: error: 'UCHAR_MAX' undeclared here (not in a function)
size_t marker_bm_table[UCHAR_MAX+1];
^
main.h:432:1: error: unknown type name 'off_t'
off_t find_file_size(FILE *f);
^
main.h:330:5: error: unknown type name 'size_t'
size_t header_bm_table[UCHAR_MAX+1];
^
main.h:432:22: error: unknown type name 'FILE'
off_t find_file_size(FILE *f);
^
state.c: In function 'set_config_file':
main.h:334:5: error: unknown type name 'size_t'
size_t footer_bm_table[UCHAR_MAX+1];
^
main.h:433:22: error: unknown type name 'off_t'
char *human_readable(off_t size, char *buffer);
^
state.c:70:12: error: 'PATH_MAX' undeclared (first use in this function)
char temp[PATH_MAX];
^
state.c:75:2: warning: implicit declaration of function 'realpath' [-Wimplicit-function-declaration]
realpath(fn, temp);
^
main.h:437:51: error: unknown type name 'size_t'
int memwildcardcmp(const void *s1, const void *s2,size_t n,int caseSensitive);
^
state.c:78:19: warning: incompatible implicit declaration of built-in function 'strdup' [enabled by default]
s->config_file = strdup(temp);
^
main.h:351:3: error: unknown type name 'off_t'
off_t total_bytes;
^
state.c:70:7: warning: unused variable 'temp' [-Wunused-variable]
char temp[PATH_MAX];
^
main.h:355:3: error: unknown type name 'off_t'
off_t total_megs;
^
state.c: In function 'set_output_directory':
main.h:451:46: error: unknown type name 'va_list'
void print_message(f_state *s, char *format, va_list argp);
^
main.h:356:3: error: unknown type name 'off_t'
off_t bytes_read;
^
state.c:89:12: error: 'PATH_MAX' undeclared (first use in this function)
char temp[PATH_MAX];
^
main.h:365:3: error: unknown type name 'FILE'
FILE *handle;
^
main.h:457:49: error: unknown type name 'size_t'
unsigned char *bm_search(unsigned char *needle, size_t needle_len,unsigned char *haystack, size_t haystack_len,
^
state.c:97:14: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
fullpathlen=strlen(temp);
^
state.c:101:25: warning: incompatible implicit declaration of built-in function 'strdup' [enabled by default]
s->output_directory = strdup(temp);
^
main.h:457:92: error: unknown type name 'size_t'
unsigned char *bm_search(unsigned char *needle, size_t needle_len,unsigned char *haystack, size_t haystack_len,
^
state.c:106:25: warning: incompatible implicit declaration of built-in function 'strdup' [enabled by default]
s->output_directory = strdup(fn);
^
main.h:458:2: error: unknown type name 'size_t'
size_t table[UCHAR_MAX + 1], int case_sen,int searchtype);
^
main.h:393:27: error: unknown type name 'off_t'
void set_mode(f_state *s, off_t new_mode);
^
state.c:89:7: warning: unused variable 'temp' [-Wunused-variable]
char temp[PATH_MAX];
^
main.h:394:26: error: unknown type name 'off_t'
int get_mode(f_state *s, off_t check_mode);
^
main.h:459:55: error: unknown type name 'size_t'
unsigned char *bm_search_skipn(unsigned char *needle, size_t needle_len,unsigned char *haystack, size_t haystack_len,
^
state.c: At top level:
state.c:111:26: error: unknown type name 'off_t'
int get_mode(f_state *s, off_t check_mode)
^
main.h:459:98: error: unknown type name 'size_t'
unsigned char *bm_search_skipn(unsigned char *needle, size_t needle_len,unsigned char *haystack, size_t haystack_len,
^
state.c:116:27: error: unknown type name 'off_t'
void set_mode(f_state *s, off_t new_mode)
^
main.h:404:43: error: unknown type name 'size_t'
void init_bm_table(unsigned char *needle, size_t table[UCHAR_MAX + 1], size_t len, int casesensitive,int searchtype);
^
main.h:460:2: error: unknown type name 'size_t'
size_t table[UCHAR_MAX + 1], int casesensitive,int searchtype, int start_pos) ;
^
main.h:404:72: error: unknown type name 'size_t'
void init_bm_table(unsigned char *needle, size_t table[UCHAR_MAX + 1], size_t len, int casesensitive,int searchtype);
^
helpers.c: In function 'chop':
helpers.c:24:2: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
unsigned int len = strlen(buf);
^
helpers.c:24:21: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
unsigned int len = strlen(buf);
^
main.h:432:1: error: unknown type name 'off_t'
off_t find_file_size(FILE *f);
^
state.c: In function 'open_audit_file':
main.h:432:22: error: unknown type name 'FILE'
off_t find_file_size(FILE *f);
^
state.c:151:2: warning: implicit declaration of function 'snprintf' [-Wimplicit-function-declaration]
snprintf(fn,
^
state.c:151:2: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
main.h:433:22: error: unknown type name 'off_t'
char *human_readable(off_t size, char *buffer);
^
state.c:158:2: warning: implicit declaration of function 'fopen' [-Wimplicit-function-declaration]
if ((s->audit_file = fopen(fn, "w")) == NULL)
^
main.h:437:51: error: unknown type name 'size_t'
int memwildcardcmp(const void *s1, const void *s2,size_t n,int caseSensitive);
^
helpers.c: At top level:
helpers.c:57:22: error: unknown type name 'off_t'
char *human_readable(off_t size, char *buffer)
^
state.c:158:21: warning: assignment makes pointer from integer without a cast [enabled by default]
if ((s->audit_file = fopen(fn, "w")) == NULL)
^
state.c:158:42: error: 'NULL' undeclared (first use in this function)
if ((s->audit_file = fopen(fn, "w")) == NULL)
^
helpers.c: In function 'current_time':
helpers.c:83:2: error: unknown type name 'time_t'
time_t now = time(NULL);
^
helpers.c:83:2: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration]
state.c:160:3: warning: implicit declaration of function 'strerror' [-Wimplicit-function-declaration]
print_error(s, fn, strerror(errno));
^
main.h:451:46: error: unknown type name 'va_list'
void print_message(f_state *s, char *format, va_list argp);
^
helpers.c:83:20: error: 'NULL' undeclared (first use in this function)
time_t now = time(NULL);
^
helpers.c:83:20: note: each undeclared identifier is reported only once for each function it appears in
state.c:160:31: error: 'errno' undeclared (first use in this function)
print_error(s, fn, strerror(errno));
^
helpers.c:84:2: warning: implicit declaration of function 'ctime' [-Wimplicit-function-declaration]
char *ascii_time = ctime(&now);
^
main.h:457:49: error: unknown type name 'size_t'
unsigned char *bm_search(unsigned char *needle, size_t needle_len,unsigned char *haystack, size_t haystack_len,
^
helpers.c:84:21: warning: initialization makes pointer from integer without a cast [enabled by default]
char *ascii_time = ctime(&now);
^
main.h:457:92: error: unknown type name 'size_t'
unsigned char *bm_search(unsigned char *needle, size_t needle_len,unsigned char *haystack, size_t haystack_len,
^
helpers.c: In function 'shift_string':
helpers.c:93:27: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
if (start < 0 || start > strlen(fn) || new_start < 0 || new_start < start)
^
state.c: In function 'close_audit_file':
main.h:458:2: error: unknown type name 'size_t'
size_t table[UCHAR_MAX + 1], int case_sen,int searchtype);
^
state.c:176:2: warning: implicit declaration of function 'fclose' [-Wimplicit-function-declaration]
if (fclose(s->audit_file))
^
main.h:459:55: error: unknown type name 'size_t'
unsigned char *bm_search_skipn(unsigned char *needle, size_t needle_len,unsigned char *haystack, size_t haystack_len,
^
helpers.c: In function 'make_magic':
state.c:178:44: error: 'errno' undeclared (first use in this function)
print_error(s, AUDIT_FILE_NAME, strerror(errno));
^
helpers.c:108:2: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
printf("%s%s",
^
main.h:459:98: error: unknown type name 'size_t'
unsigned char *bm_search_skipn(unsigned char *needle, size_t needle_len,unsigned char *haystack, size_t haystack_len,
^
helpers.c:108:2: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
main.h:460:2: error: unknown type name 'size_t'
size_t table[UCHAR_MAX + 1], int casesensitive,int searchtype, int start_pos) ;
^
state.c: In function 'audit_msg':
helpers.c: At top level:
state.c:187:2: error: unknown type name 'va_list'
va_list argp;
^
helpers.c:118:1: error: unknown type name 'off_t'
off_t find_file_size(FILE *f)
^
helpers.c:118:22: error: unknown type name 'FILE'
off_t find_file_size(FILE *f)
^
state.c:188:2: warning: implicit declaration of function 'va_start' [-Wimplicit-function-declaration]
va_start(argp, format);
^
state.c:190:2: warning: implicit declaration of function 'get_mode' [-Wimplicit-function-declaration]
if (get_mode(s, mode_verbose)) {
^
config.c: In function 'translate':
config.c:27:6: warning: value computed is not used [-Wunused-value]
*rd++;
^
state.c:191:3: warning: implicit declaration of function 'print_message' [-Wimplicit-function-declaration]
print_message(s, format, argp);
^
helpers.c: In function 'print_search_specs':
config.c:32:6: warning: value computed is not used [-Wunused-value]
*rd++;
^
state.c:192:3: warning: implicit declaration of function 'va_end' [-Wimplicit-function-declaration]
va_end(argp);
^
config.c:37:6: warning: value computed is not used [-Wunused-value]
*rd++;
^
helpers.c:325:2: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
printf("\nDUMPING BUILTIN SEARCH INFO\n\t");
^
config.c:42:6: warning: value computed is not used [-Wunused-value]
*rd++;
^
state.c:196:2: warning: implicit declaration of function 'vfprintf' [-Wimplicit-function-declaration]
vfprintf(s->audit_file, format, argp);
^
config.c:47:6: warning: value computed is not used [-Wunused-value]
*rd++;
^
config.c:52:6: warning: value computed is not used [-Wunused-value]
*rd++;
^
state.c:199:2: warning: implicit declaration of function 'fprintf' [-Wimplicit-function-declaration]
fprintf(s->audit_file, "%s", NEWLINE);
^
state.c:199:2: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
config.c:57:6: warning: value computed is not used [-Wunused-value]
*rd++;
^
state.c:200:2: warning: implicit declaration of function 'fflush' [-Wimplicit-function-declaration]
fflush(stdout);
^
state.c:200:9: error: 'stdout' undeclared (first use in this function)
fflush(stdout);
^
state.c: In function 'set_input_file':
state.c:205:26: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
s->input_file = (char *)malloc((strlen(filename) + 1) * sizeof(char));
^
config.c:75:6: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration]
strncpy(temp + 1, rd, 3);
^
config.c:75:6: warning: incompatible implicit declaration of built-in function 'strncpy' [enabled by default]
state.c:205:34: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
s->input_file = (char *)malloc((strlen(filename) + 1) * sizeof(char));
^
config.c:77:6: warning: implicit declaration of function 'strtoul' [-Wimplicit-function-declaration]
ch = strtoul(temp, &bad, 0);
^
helpers.c: In function 'charactersMatch':
state.c:206:2: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration]
strncpy(s->input_file, filename, strlen(filename) + 1);
^
state.c:206:2: warning: incompatible implicit declaration of built-in function 'strncpy' [enabled by default]
helpers.c:378:2: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration]
return (abs(a - b) == 32);
^
config.c: In function 'skipWhiteSpace':
helpers.c: At top level:
config.c:101:2: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration]
while (isspace(str[0]))
^
state.c: In function 'init_builtin':
helpers.c:381:52: error: unknown type name 'size_t'
int memwildcardcmp(const void *s1, const void *s2, size_t n, int caseSensitive)
^
state.c:217:34: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
search_spec[i].suffix = (char *)malloc((strlen(suffix)+1) * sizeof(char));
^
config.c: In function 'extractSearchSpecData':
state.c:217:42: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
search_spec[i].suffix = (char *)malloc((strlen(suffix)+1) * sizeof(char));
^
config.c:121:2: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
s->suffix = malloc(MAX_SUFFIX_LENGTH * sizeof(char));
^
helpers.c: In function 'printx':
config.c:121:14: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
s->suffix = malloc(MAX_SUFFIX_LENGTH * sizeof(char));
^
state.c:219:2: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration]
strcpy(search_spec[i].suffix, suffix);
^
helpers.c:402:3: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
printf("%x ", buf[i]);
^
state.c:219:2: warning: incompatible implicit declaration of built-in function 'strcpy' [enabled by default]
config.c:125:2: warning: implicit declaration of function 'strncasecmp' [-Wimplicit-function-declaration]
if (!strncasecmp(tokenarray[0], FOREMOST_NOEXTENSION_SUFFIX, strlen(FOREMOST_NOEXTENSION_SUFFIX)
^
config.c:125:2: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
config.c:125:63: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
if (!strncasecmp(tokenarray[0], FOREMOST_NOEXTENSION_SUFFIX, strlen(FOREMOST_NOEXTENSION_SUFFIX)
^
helpers.c:405:2: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
printf("\n");
^
state.c:229:2: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration]
memset(search_spec[i].comment, 0, COMMENT_LENGTH - 1);
^
state.c:229:2: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
config.c:135:3: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
memcpy(s->suffix, tokenarray[0], MAX_SUFFIX_LENGTH);
^
config.c:135:3: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default]
helpers.c: In function 'htos':
state.c:231:2: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
memcpy(search_spec[i].header, header, search_spec[i].header_len);
^
state.c:231:2: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default]
helpers.c:424:2: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
unsigned char *bytes = (unsigned char *)malloc(sizeof(unsigned short) * sizeof(char));
^
config.c:141:2: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration]
s->max_len = atoi(tokenarray[2]);
^
helpers.c:424:42: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
unsigned char *bytes = (unsigned char *)malloc(sizeof(unsigned short) * sizeof(char));
^
state.c:234:2: warning: implicit declaration of function 'init_bm_table' [-Wimplicit-function-declaration]
init_bm_table(search_spec[i].header,
^
helpers.c:427:2: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
bytes = memcpy(bytes, s, sizeof(short));
^
state.c: In function 'add_marker':
helpers.c:427:10: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default]
bytes = memcpy(bytes, s, sizeof(short));
^
state.c:253:16: error: 'NULL' undeclared (first use in this function)
if (marker == NULL)
^
config.c:172:2: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default]
memcpy(s->header, tokenarray[3], s->header_len);
^
state.c:260:60: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
search_spec[index].markerlist[i].value = (unsigned char *)malloc(search_spec[index].markerlist[i].len * sizeof(unsigned char));
^
config.c:176:2: warning: implicit declaration of function 'init_bm_table' [-Wimplicit-function-declaration]
init_bm_table(s->header, s->header_bm_table, s->header_len, s->case_sen, s->searchtype);
^
state.c:262:2: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default]
memcpy(search_spec[index].markerlist[i].value, marker, search_spec[index].markerlist[i].len);
^
config.c: In function 'process_line':
helpers.c:446:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
free(bytes);
^
helpers.c:446:2: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
config.c:187:31: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
char **tokenarray = (char **)malloc(6 * sizeof(char[MAX_STRING_LENGTH]));
^
helpers.c: In function 'htoi':
config.c:188:20: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
int i = 0, len = strlen(buffer);
^
helpers.c:454:42: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
unsigned char *bytes = (unsigned char *)malloc(length * sizeof(char));
^
state.c: In function 'init_all':
helpers.c:457:10: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default]
bytes = memcpy(bytes, s, length);
^
state.c:278:40: error: 'NULL' undeclared (first use in this function)
init_builtin(state, BMP, "bmp", "BM", NULL, 2, 0, 2 * MEGABYTE, TRUE);
^
config.c:199:2: warning: implicit declaration of function 'strtok' [-Wimplicit-function-declaration]
token = strtok(buf, " \t\n");
^
config.c:199:8: warning: assignment makes pointer from integer without a cast [enabled by default]
token = strtok(buf, " \t\n");
^
config.c:202:15: error: 'NULL' undeclared (first use in this function)
if (token == NULL || token[0] == '#')
^
config.c:202:15: note: each undeclared identifier is reported only once for each function it appears in
helpers.c:472:2: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
free(bytes);
^
helpers.c: In function 'htoll':
config.c:221:4: warning: implicit declaration of function 'fprintf' [-Wimplicit-function-declaration]
fprintf(stderr,
^
helpers.c:479:42: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
unsigned char *bytes = (unsigned char *)malloc(length * sizeof(char));
^
config.c:221:4: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
config.c:221:12: error: 'stderr' undeclared (first use in this function)
fprintf(stderr,
^
helpers.c:481:10: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default]
bytes = memcpy(bytes, s, length);
^
state.c: In function 'set_search_def':
config.c:255:4: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr, "\nERROR: In line %d of the configuration file.\n", line_number);
^
helpers.c:507:2: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
free(bytes);
^
state.c:353:2: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
if (strcmp(ft, "jpg") == 0 || strcmp(ft, "jpeg") == 0)
^
config.c:263:3: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
fprintf(stderr,
^
config.c: In function 'load_config_file':
helpers.c: In function 'displayPosition':
config.c:275:2: error: unknown type name 'FILE'
FILE *f;
^
config.c:276:25: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
char *buffer = (char *)malloc(MAX_STRING_LENGTH * sizeof(char));
^
helpers.c:545:3: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
printf("%s: |", s->input_file);
^
state.c:381:37: error: 'NULL' undeclared (first use in this function)
init_builtin(s, BMP, "bmp", "BM", NULL, 2, 0, max_file_size, TRUE);
^
config.c:277:2: error: unknown type name 'off_t'
off_t line_number = 0;
^
config.c:283:2: warning: implicit declaration of function 'fopen' [-Wimplicit-function-declaration]
if ((f = fopen(get_config_file(s), "r")) == NULL)
^
config.c:283:9: warning: assignment makes pointer from integer without a cast [enabled by default]
if ((f = fopen(get_config_file(s), "r")) == NULL)
^
config.c:283:46: error: 'NULL' undeclared (first use in this function)
if ((f = fopen(get_config_file(s), "r")) == NULL)
^
helpers.c:562:4: warning: implicit declaration of function 'human_readable' [-Wimplicit-function-declaration]
printf("|\t %s done\n", human_readable(pos, buffer));
^
helpers.c:562:4: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'int' [-Wformat=]
config.c:293:10: warning: assignment makes pointer from integer without a cast [enabled by default]
if ((f = fopen(get_config_file(s), "r")) == NULL)
^
config.c:295:4: warning: implicit declaration of function 'strerror' [-Wimplicit-function-declaration]
print_error(s, get_config_file(s), strerror(errno));
^
config.c:295:48: error: 'errno' undeclared (first use in this function)
print_error(s, get_config_file(s), strerror(errno));
^
config.c:296:4: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
free(buffer);
^
config.c:296:4: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
config.c:302:2: warning: implicit declaration of function 'fgets' [-Wimplicit-function-declaration]
while (fgets(buffer, MAX_STRING_LENGTH, f))
^
config.c:307:4: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
free(buffer);
^
config.c:308:4: warning: implicit declaration of function 'fclose' [-Wimplicit-function-declaration]
fclose(f);
^
config.c:315:2: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
free(buffer);
^
state.c: At top level:
state.c:744:43: error: unknown type name 'size_t'
void init_bm_table(unsigned char *needle, size_t table[UCHAR_MAX + 1], size_t len, int casesensitive,
^
state.c:744:72: error: unknown type name 'size_t'
void init_bm_table(unsigned char *needle, size_t table[UCHAR_MAX + 1], size_t len, int casesensitive,
^
make: *** [Makefile:42: helpers.o] Error 1
make: *** [Makefile:42: config.o] Error 1
make: *** [Makefile:42: state.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...