[1/164] Building C object tools/hhpcomp/CMakeFiles/hhpcomp.dir/chmc/chmc.c.o [2/164] Building C object tools/hhpcomp/CMakeFiles/hhpcomp.dir/lzx_compress/lz_nonslide.c.o [3/164] Building C object tools/hhpcomp/CMakeFiles/hhpcomp.dir/lzx_compress/lzx_layer.c.o [4/164] Building C object tools/unicode/CMakeFiles/unicode.dir/c_10008.c.o [5/164] Building C object tools/unicode/CMakeFiles/unicode.dir/c_10010.c.o [6/164] Building C object tools/unicode/CMakeFiles/unicode.dir/c_10017.c.o FAILED: /usr/bin/cc -DNONSLIDE -DTARGET_i386 -D__REACTOS__ -fshort-wchar -Wno-multichar -Itools/hhpcomp -I../../tools/hhpcomp -I../../include/host -MMD -MT tools/hhpcomp/CMakeFiles/hhpcomp.dir/lzx_compress/lz_nonslide.c.o -MF tools/hhpcomp/CMakeFiles/hhpcomp.dir/lzx_compress/lz_nonslide.c.o.d -o tools/hhpcomp/CMakeFiles/hhpcomp.dir/lzx_compress/lz_nonslide.c.o -c ../../tools/hhpcomp/lzx_compress/lz_nonslide.c In file included from ../../tools/hhpcomp/lzx_compress/lz_nonslide.c:37: ../../tools/hhpcomp/lzx_compress/lz_nonslide.h:24:49: error: unknown type name 'u_char'; did you mean 'char'? typedef int (*get_chars_t)(lz_info *lzi, int n, u_char *buf); ^~~~~~ char ../../tools/hhpcomp/lzx_compress/lz_nonslide.h:26:48: error: unknown type name 'u_char'; did you mean 'char'? typedef void (*output_literal_t)(lz_info *lzi, u_char ch); ^~~~~~ char ../../tools/hhpcomp/lzx_compress/lz_nonslide.h:33:3: error: unknown type name 'u_char'; did you mean 'char'? u_char *block_buf; ^~~~~~ char ../../tools/hhpcomp/lzx_compress/lz_nonslide.h:34:3: error: unknown type name 'u_char'; did you mean 'char'? u_char *block_bufe; ^~~~~~ char ../../tools/hhpcomp/lzx_compress/lz_nonslide.h:41:3: error: unknown type name 'u_char'; did you mean 'char'? u_char **prevtab; ^~~~~~ char ../../tools/hhpcomp/lzx_compress/lz_nonslide.c:79:32: error: use of undeclared identifier 'u_char' lzi->prevtab = calloc(sizeof(u_char *), lzi->block_buf_size); ^ ../../tools/hhpcomp/lzx_compress/lz_nonslide.c:79:40: error: expected expression lzi->prevtab = calloc(sizeof(u_char *), lzi->block_buf_size); ^ ../../tools/hhpcomp/lzx_compress/lz_nonslide.c:151:3: error: use of undeclared identifier 'u_char' u_char *readhere; ^ ../../tools/hhpcomp/lzx_compress/lz_nonslide.c:151:11: error: use of undeclared identifier 'readhere' u_char *readhere; ^ ../../tools/hhpcomp/lzx_compress/lz_nonslide.c:158:3: error: use of undeclared identifier 'readhere' readhere = lzi->block_buf + lzi->chars_in_buf; ^ ../../tools/hhpcomp/lzx_compress/lz_nonslide.c:159:39: error: use of undeclared identifier 'readhere' nread = lzi->get_chars(lzi, toread, readhere); ^ ../../tools/hhpcomp/lzx_compress/lz_nonslide.c:168:3: error: use of undeclared identifier 'u_char' u_char **prevtab, **prevp; ^ ../../tools/hhpcomp/lzx_compress/lz_nonslide.c:168:12: error: use of undeclared identifier 'prevtab' u_char **prevtab, **prevp; ^ ../../tools/hhpcomp/lzx_compress/lz_nonslide.c:168:23: error: use of undeclared identifier 'prevp' u_char **prevtab, **prevp; ^ ../../tools/hhpcomp/lzx_compress/lz_nonslide.c:169:3: error: use of undeclared identifier 'u_char' u_char *bbp, *bbe; ^ ../../tools/hhpcomp/lzx_compress/lz_nonslide.c:169:11: error: use of undeclared identifier 'bbp' u_char *bbp, *bbe; ^ ../../tools/hhpcomp/lzx_compress/lz_nonslide.c:169:17: error: use of undeclared identifier 'bbe' u_char *bbp, *bbe; ^ ../../tools/hhpcomp/lzx_compress/lz_nonslide.c:170:3: error: use of undeclared identifier 'u_char' u_char *chartab[256]; ^ ../../tools/hhpcomp/lzx_compress/lz_nonslide.c:170:11: error: use of undeclared identifier 'chartab' u_char *chartab[256]; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. FAILED: /usr/bin/cc -DNONSLIDE -DTARGET_i386 -D__REACTOS__ -fshort-wchar -Wno-multichar -Itools/hhpcomp -I../../tools/hhpcomp -I../../include/host -MMD -MT tools/hhpcomp/CMakeFiles/hhpcomp.dir/lzx_compress/lzx_layer.c.o -MF tools/hhpcomp/CMakeFiles/hhpcomp.dir/lzx_compress/lzx_layer.c.o.d -o tools/hhpcomp/CMakeFiles/hhpcomp.dir/lzx_compress/lzx_layer.c.o -c ../../tools/hhpcomp/lzx_compress/lzx_layer.c In file included from ../../tools/hhpcomp/lzx_compress/lzx_layer.c:26: ../../tools/hhpcomp/lzx_compress/lz_nonslide.h:24:49: error: unknown type name 'u_char'; did you mean 'char'? typedef int (*get_chars_t)(lz_info *lzi, int n, u_char *buf); ^~~~~~ char ../../tools/hhpcomp/lzx_compress/lz_nonslide.h:26:48: error: unknown type name 'u_char'; did you mean 'char'? typedef void (*output_literal_t)(lz_info *lzi, u_char ch); ^~~~~~ char ../../tools/hhpcomp/lzx_compress/lz_nonslide.h:33:3: error: unknown type name 'u_char'; did you mean 'char'? u_char *block_buf; ^~~~~~ char ../../tools/hhpcomp/lzx_compress/lz_nonslide.h:34:3: error: unknown type name 'u_char'; did you mean 'char'? u_char *block_bufe; ^~~~~~ char ../../tools/hhpcomp/lzx_compress/lz_nonslide.h:41:3: error: unknown type name 'u_char'; did you mean 'char'? u_char **prevtab; ^~~~~~ char ../../tools/hhpcomp/lzx_compress/lzx_layer.c:52:1: error: unknown type name 'u_char'; did you mean 'char'? u_char extra_bits[52]; ^~~~~~ char ../../tools/hhpcomp/lzx_compress/lzx_layer.c:432:36: error: unknown type name 'u_char'; did you mean 'char'? lzx_get_chars(lz_info *lzi, int n, u_char *buf) ^~~~~~ char ../../tools/hhpcomp/lzx_compress/lzx_layer.c:477:3: error: use of undeclared identifier 'u_char' u_char *matchb; ^ ../../tools/hhpcomp/lzx_compress/lzx_layer.c:477:11: error: use of undeclared identifier 'matchb' u_char *matchb; ^ ../../tools/hhpcomp/lzx_compress/lzx_layer.c:478:3: error: use of undeclared identifier 'u_char' u_char *nmatchb; ^ ../../tools/hhpcomp/lzx_compress/lzx_layer.c:478:11: error: use of undeclared identifier 'nmatchb' u_char *nmatchb; ^ ../../tools/hhpcomp/lzx_compress/lzx_layer.c:479:3: error: use of undeclared identifier 'u_char' u_char *c1, *c2; ^ ../../tools/hhpcomp/lzx_compress/lzx_layer.c:479:11: error: use of undeclared identifier 'c1' u_char *c1, *c2; ^ ../../tools/hhpcomp/lzx_compress/lzx_layer.c:479:16: error: use of undeclared identifier 'c2' u_char *c1, *c2; ^ ../../tools/hhpcomp/lzx_compress/lzx_layer.c:485:3: error: use of undeclared identifier 'matchb' matchb = lzi->block_buf + lzi->block_loc + *match_locp; ^ ../../tools/hhpcomp/lzx_compress/lzx_layer.c:486:3: error: use of undeclared identifier 'nmatchb' nmatchb = lzi->block_buf + lzi->block_loc - loc; ^ ../../tools/hhpcomp/lzx_compress/lzx_layer.c:487:3: error: use of undeclared identifier 'c1' c1 = matchb; ^ ../../tools/hhpcomp/lzx_compress/lzx_layer.c:487:8: error: use of undeclared identifier 'matchb' c1 = matchb; ^ ../../tools/hhpcomp/lzx_compress/lzx_layer.c:488:3: error: use of undeclared identifier 'c2' c2 = nmatchb; ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. FAILED: /usr/bin/cc -DNONSLIDE -DTARGET_i386 -D__REACTOS__ -fshort-wchar -Wno-multichar -Itools/hhpcomp -I../../tools/hhpcomp -I../../include/host -MMD -MT tools/hhpcomp/CMakeFiles/hhpcomp.dir/chmc/chmc.c.o -MF tools/hhpcomp/CMakeFiles/hhpcomp.dir/chmc/chmc.c.o.d -o tools/hhpcomp/CMakeFiles/hhpcomp.dir/chmc/chmc.c.o -c ../../tools/hhpcomp/chmc/chmc.c ../../tools/hhpcomp/chmc/chmc.c:884:2: warning: implicit declaration of function 'chmc_uncompressed_done' is invalid in C99 [-Wimplicit-function-declaration] chmc_uncompressed_done(chm); ^ ../../tools/hhpcomp/chmc/chmc.c:887:2: warning: implicit declaration of function 'chmc_pmgi_done' is invalid in C99 [-Wimplicit-function-declaration] chmc_pmgi_done(chm); ^ ../../tools/hhpcomp/chmc/chmc.c:899:2: warning: implicit declaration of function 'chmc_write' is invalid in C99 [-Wimplicit-function-declaration] chmc_write(chm); ^ ../../tools/hhpcomp/chmc/chmc.c:908:4: warning: implicit declaration of function 'chmc_appendfile' is invalid in C99 [-Wimplicit-function-declaration] chmc_appendfile(chm, section->filename, buf, 4096); ^ ../../tools/hhpcomp/chmc/chmc.c:1255:3: warning: implicit declaration of function 'chmc_pmgl_add_entry' is invalid in C99 [-Wimplicit-function-declaration] chmc_pmgl_add_entry(chm, entry); ^ ../../tools/hhpcomp/chmc/chmc.c:1649:14: error: variable has incomplete type 'struct stat' struct stat statbuf; ^ ../../tools/hhpcomp/chmc/chmc.c:1649:9: note: forward declaration of 'struct stat' struct stat statbuf; ^ ../../tools/hhpcomp/chmc/chmc.c:1654:6: warning: implicit declaration of function 'stat' is invalid in C99 [-Wimplicit-function-declaration] if (stat(filename, &statbuf) < 0) ^ 6 warnings and 1 error generated. ninja: build stopped: subcommand failed.