Build of zopfli with android toolchain

The build took 00h 00m 56s and was NOT successful.

The program in this build is written in the following languages, according to sloccount:

SLOCLanguage
6,515 cpp
2,673 ansic
29 makefile
9,217 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

List of Errors

Log

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:
# [tuscan]
# Server = file:///var/cache/pacman/pkg/

CMD: pacman -Syy --noconfirm
# :: Synchronizing package databases...
# downloading tuscan.db...

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: zopfli 1.0.1-1 (Tue Apr 4 21:54:21 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# gcc src/zopfli/blocksplitter.c src/zopfli/cache.c src/zopfli/deflate.c src/zopfli/gzip_container.c src/zopfli/hash.c src/zopfli/katajainen.c src/zopfli/lz77.c src/zopfli/squeeze.c src/zopfli/tree.c src/zopfli/util.c src/zopfli/zlib_container.c src/zopfli/zopfli_lib.c src/zopfli/zopfli_bin.c -W -Wall -Wextra -ansi -pedantic -lm -O2 -o zopfli
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from src/zopfli/blocksplitter.c:20:0:
# src/zopfli/blocksplitter.h:31:20: error: no include path in which to search for stdlib.h
# #include
# ^
# In file included from src/zopfli/blocksplitter.h:33:0,
# from src/zopfli/blocksplitter.c:20:
# src/zopfli/zopfli.h:23:20: error: no include path in which to search for stddef.h
# #include
# ^
# src/zopfli/zopfli.h:24:37: error: no include path in which to search for stdlib.h
# #include /* for size_t */
# ^
# src/zopfli/zopfli.h:90:46: error: unknown type name 'size_t'
# const unsigned char* in, size_t insize,
# ^
# src/zopfli/zopfli.h:91:42: error: unknown type name 'size_t'
# unsigned char** out, size_t* outsize);
# ^
# In file included from src/zopfli/blocksplitter.c:20:0:
# src/zopfli/blocksplitter.h:47:27: error: unknown type name 'size_t'
# size_t llsize, size_t maxblocks,
# ^
# src/zopfli/blocksplitter.h:47:42: error: unknown type name 'size_t'
# size_t llsize, size_t maxblocks,
# ^
# src/zopfli/blocksplitter.h:48:27: error: unknown type name 'size_t'
# size_t** splitpoints, size_t* npoints);
# ^
# src/zopfli/blocksplitter.h:48:49: error: unknown type name 'size_t'
# size_t** splitpoints, size_t* npoints);
# ^
# src/zopfli/blocksplitter.h:65:48: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/blocksplitter.h:65:64: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/blocksplitter.h:66:23: error: unknown type name 'size_t'
# size_t maxblocks, size_t** splitpoints, size_t* npoints);
# ^
# src/zopfli/blocksplitter.h:66:41: error: unknown type name 'size_t'
# size_t maxblocks, size_t** splitpoints, size_t* npoints);
# ^
# src/zopfli/blocksplitter.h:66:63: error: unknown type name 'size_t'
# size_t maxblocks, size_t** splitpoints, size_t* npoints);
# ^
# src/zopfli/blocksplitter.h:73:29: error: unknown type name 'size_t'
# size_t instart, size_t inend,
# ^
# src/zopfli/blocksplitter.h:73:45: error: unknown type name 'size_t'
# size_t instart, size_t inend,
# ^
# src/zopfli/blocksplitter.h:74:29: error: unknown type name 'size_t'
# size_t blocksize,
# ^
# src/zopfli/blocksplitter.h:75:29: error: unknown type name 'size_t'
# size_t** splitpoints, size_t* npoints);
# ^
# src/zopfli/blocksplitter.h:75:51: error: unknown type name 'size_t'
# size_t** splitpoints, size_t* npoints);
# ^
# src/zopfli/blocksplitter.c:22:20: error: no include path in which to search for assert.h
# #include
# ^
# src/zopfli/blocksplitter.c:23:19: error: no include path in which to search for stdio.h
# #include
# ^
# src/zopfli/blocksplitter.c:24:20: error: no include path in which to search for stdlib.h
# #include
# ^
# In file included from src/zopfli/blocksplitter.c:26:0:
# src/zopfli/deflate.h:58:45: error: unknown type name 'size_t'
# const unsigned char* in, size_t insize,
# ^
# src/zopfli/deflate.h:59:60: error: unknown type name 'size_t'
# unsigned char* bp, unsigned char** out, size_t* outsize);
# ^
# src/zopfli/deflate.h:67:49: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/deflate.h:67:65: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/deflate.h:69:24: error: unknown type name 'size_t'
# size_t* outsize);
# ^
# src/zopfli/deflate.h:80:33: error: unknown type name 'size_t'
# size_t lstart, size_t lend, int btype);
# ^
# src/zopfli/deflate.h:80:48: error: unknown type name 'size_t'
# size_t lstart, size_t lend, int btype);
# ^
# In file included from src/zopfli/blocksplitter.c:27:0:
# src/zopfli/lz77.h:28:20: error: no include path in which to search for stdlib.h
# #include
# ^
# In file included from src/zopfli/cache.h:27:0,
# from src/zopfli/lz77.h:30,
# from src/zopfli/blocksplitter.c:27:
# src/zopfli/util.h:28:20: error: no include path in which to search for string.h
# #include
# ^
# src/zopfli/util.h:29:20: error: no include path in which to search for stdlib.h
# #include
# ^
# In file included from src/zopfli/lz77.h:30:0,
# from src/zopfli/blocksplitter.c:27:
# src/zopfli/cache.h:46:22: error: unknown type name 'size_t'
# void ZopfliInitCache(size_t blocksize, ZopfliLongestMatchCache* lmc);
# ^
# src/zopfli/cache.h:53:26: error: unknown type name 'size_t'
# size_t pos, size_t length,
# ^
# src/zopfli/cache.h:53:38: error: unknown type name 'size_t'
# size_t pos, size_t length,
# ^
# src/zopfli/cache.h:58:26: error: unknown type name 'size_t'
# size_t pos, size_t length,
# ^
# src/zopfli/cache.h:58:38: error: unknown type name 'size_t'
# size_t pos, size_t length,
# ^
# src/zopfli/cache.h:62:32: error: unknown type name 'size_t'
# size_t pos, size_t length);
# ^
# src/zopfli/cache.h:62:44: error: unknown type name 'size_t'
# size_t pos, size_t length);
# ^
# In file included from src/zopfli/lz77.h:31:0,
# from src/zopfli/blocksplitter.c:27:
# src/zopfli/hash.h:50:21: error: unknown type name 'size_t'
# void ZopfliInitHash(size_t window_size, ZopfliHash* h);
# ^
# src/zopfli/hash.h:59:51: error: unknown type name 'size_t'
# void ZopfliUpdateHash(const unsigned char* array, size_t pos, size_t end,
# ^
# src/zopfli/hash.h:59:63: error: unknown type name 'size_t'
# void ZopfliUpdateHash(const unsigned char* array, size_t pos, size_t end,
# ^
# src/zopfli/hash.h:67:51: error: unknown type name 'size_t'
# void ZopfliWarmupHash(const unsigned char* array, size_t pos, size_t end,
# ^
# src/zopfli/hash.h:67:63: error: unknown type name 'size_t'
# void ZopfliWarmupHash(const unsigned char* array, size_t pos, size_t end,
# ^
# In file included from src/zopfli/blocksplitter.c:27:0:
# src/zopfli/lz77.h:48:3: error: unknown type name 'size_t'
# size_t size;
# ^
# src/zopfli/lz77.h:71:3: error: unknown type name 'size_t'
# size_t blockstart;
# ^
# src/zopfli/lz77.h:72:3: error: unknown type name 'size_t'
# size_t blockend;
# ^
# src/zopfli/lz77.h:93:5: error: unknown type name 'size_t'
# size_t pos, size_t size, size_t limit,
# ^
# src/zopfli/lz77.h:93:17: error: unknown type name 'size_t'
# size_t pos, size_t size, size_t limit,
# ^
# src/zopfli/lz77.h:93:30: error: unknown type name 'size_t'
# size_t pos, size_t size, size_t limit,
# ^
# src/zopfli/lz77.h:99:53: error: unknown type name 'size_t'
# void ZopfliVerifyLenDist(const unsigned char* data, size_t datasize, size_t pos,
# ^
# src/zopfli/lz77.h:99:70: error: unknown type name 'size_t'
# void ZopfliVerifyLenDist(const unsigned char* data, size_t datasize, size_t pos,
# ^
# src/zopfli/lz77.h:115:23: error: unknown type name 'size_t'
# size_t start, size_t end,
# ^
# src/zopfli/lz77.h:115:37: error: unknown type name 'size_t'
# size_t start, size_t end,
# ^
# src/zopfli/lz77.h:116:23: error: unknown type name 'size_t'
# size_t* ll_count, size_t* d_count);
# ^
# src/zopfli/lz77.h:116:41: error: unknown type name 'size_t'
# size_t* ll_count, size_t* d_count);
# ^
# src/zopfli/lz77.h:126:23: error: unknown type name 'size_t'
# size_t instart, size_t inend,
# ^
# src/zopfli/lz77.h:126:39: error: unknown type name 'size_t'
# size_t instart, size_t inend,
# ^
# In file included from src/zopfli/blocksplitter.c:28:0:
# src/zopfli/squeeze.h:42:49: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/squeeze.h:42:65: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/squeeze.h:57:29: error: unknown type name 'size_t'
# size_t instart, size_t inend,
# ^
# src/zopfli/squeeze.h:57:45: error: unknown type name 'size_t'
# size_t instart, size_t inend,
# ^
# In file included from src/zopfli/blocksplitter.c:29:0:
# src/zopfli/tree.h:27:20: error: no include path in which to search for string.h
# #include
# ^
# src/zopfli/tree.h:33:1: error: unknown type name 'size_t'
# void ZopfliCalculateBitLengths(const size_t* count, size_t n, int maxbits,
# ^
# src/zopfli/tree.h:33:53: error: unknown type name 'size_t'
# void ZopfliCalculateBitLengths(const size_t* count, size_t n, int maxbits,
# ^
# src/zopfli/tree.h:39:54: error: unknown type name 'size_t'
# void ZopfliLengthsToSymbols(const unsigned* lengths, size_t n, unsigned maxbits,
# ^
# src/zopfli/tree.h:49:1: error: unknown type name 'size_t'
# void ZopfliCalculateEntropy(const size_t* count, size_t n, double* bitlengths);
# ^
# src/zopfli/tree.h:49:50: error: unknown type name 'size_t'
# void ZopfliCalculateEntropy(const size_t* count, size_t n, double* bitlengths);
# ^
# src/zopfli/blocksplitter.c:37:31: error: unknown type name 'size_t'
# typedef double FindMinimumFun(size_t i, void* context);
# ^
# src/zopfli/blocksplitter.c:43:1: error: unknown type name 'size_t'
# static size_t FindMinimum(FindMinimumFun f, void* context,
# ^
# src/zopfli/blocksplitter.c:43:27: error: unknown type name 'FindMinimumFun'
# static size_t FindMinimum(FindMinimumFun f, void* context,
# ^
# src/zopfli/blocksplitter.c:44:27: error: unknown type name 'size_t'
# size_t start, size_t end) {
# ^
# src/zopfli/blocksplitter.c:44:41: error: unknown type name 'size_t'
# size_t start, size_t end) {
# ^
# src/zopfli/blocksplitter.c:108:28: error: unknown type name 'size_t'
# size_t lstart, size_t lend) {
# ^
# src/zopfli/blocksplitter.c:108:43: error: unknown type name 'size_t'
# size_t lstart, size_t lend) {
# ^
# src/zopfli/blocksplitter.c:115:3: error: unknown type name 'size_t'
# size_t llsize;
# ^
# src/zopfli/blocksplitter.c:116:3: error: unknown type name 'size_t'
# size_t start;
# ^
# src/zopfli/blocksplitter.c:117:3: error: unknown type name 'size_t'
# size_t end;
# ^
# src/zopfli/blocksplitter.c:126:25: error: unknown type name 'size_t'
# static double SplitCost(size_t i, void* context) {
# ^
# src/zopfli/blocksplitter.c:132:23: error: unknown type name 'size_t'
# static void AddSorted(size_t value, size_t** out, size_t* outsize) {
# ^
# src/zopfli/blocksplitter.c:132:37: error: unknown type name 'size_t'
# static void AddSorted(size_t value, size_t** out, size_t* outsize) {
# ^
# src/zopfli/blocksplitter.c:132:51: error: unknown type name 'size_t'
# static void AddSorted(size_t value, size_t** out, size_t* outsize) {
# ^
# src/zopfli/blocksplitter.c:152:35: error: unknown type name 'size_t'
# size_t llsize, const size_t* lz77splitpoints,
# ^
# src/zopfli/blocksplitter.c:152:35: error: unknown type name 'size_t'
# src/zopfli/blocksplitter.c:153:35: error: unknown type name 'size_t'
# size_t nlz77points) {
# ^
# src/zopfli/blocksplitter.c:199:5: error: unknown type name 'size_t'
# size_t llsize, const unsigned char* done,
# ^
# src/zopfli/blocksplitter.c:200:5: error: unknown type name 'size_t'
# const size_t* splitpoints, size_t npoints,
# ^
# src/zopfli/blocksplitter.c:200:32: error: unknown type name 'size_t'
# const size_t* splitpoints, size_t npoints,
# ^
# src/zopfli/blocksplitter.c:201:5: error: unknown type name 'size_t'
# size_t* lstart, size_t* lend) {
# ^
# src/zopfli/blocksplitter.c:201:21: error: unknown type name 'size_t'
# size_t* lstart, size_t* lend) {
# ^
# src/zopfli/blocksplitter.c:221:27: error: unknown type name 'size_t'
# size_t llsize, size_t maxblocks,
# ^
# src/zopfli/blocksplitter.c:221:42: error: unknown type name 'size_t'
# size_t llsize, size_t maxblocks,
# ^
# src/zopfli/blocksplitter.c:222:27: error: unknown type name 'size_t'
# size_t** splitpoints, size_t* npoints) {
# ^
# src/zopfli/blocksplitter.c:222:49: error: unknown type name 'size_t'
# size_t** splitpoints, size_t* npoints) {
# ^
# src/zopfli/blocksplitter.c:285:48: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/blocksplitter.c:285:64: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/blocksplitter.c:286:23: error: unknown type name 'size_t'
# size_t maxblocks, size_t** splitpoints, size_t* npoints) {
# ^
# src/zopfli/blocksplitter.c:286:41: error: unknown type name 'size_t'
# size_t maxblocks, size_t** splitpoints, size_t* npoints) {
# ^
# src/zopfli/blocksplitter.c:286:63: error: unknown type name 'size_t'
# size_t maxblocks, size_t** splitpoints, size_t* npoints) {
# ^
# src/zopfli/blocksplitter.c:333:29: error: unknown type name 'size_t'
# size_t instart, size_t inend,
# ^
# src/zopfli/blocksplitter.c:333:45: error: unknown type name 'size_t'
# size_t instart, size_t inend,
# ^
# src/zopfli/blocksplitter.c:334:29: error: unknown type name 'size_t'
# size_t blocksize,
# ^
# src/zopfli/blocksplitter.c:335:29: error: unknown type name 'size_t'
# size_t** splitpoints, size_t* npoints) {
# ^
# src/zopfli/blocksplitter.c:335:51: error: unknown type name 'size_t'
# size_t** splitpoints, size_t* npoints) {
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from src/zopfli/cache.h:27:0,
# from src/zopfli/cache.c:20:
# src/zopfli/util.h:28:20: error: no include path in which to search for string.h
# #include
# ^
# src/zopfli/util.h:29:20: error: no include path in which to search for stdlib.h
# #include
# ^
# In file included from src/zopfli/cache.c:20:0:
# src/zopfli/cache.h:46:22: error: unknown type name 'size_t'
# void ZopfliInitCache(size_t blocksize, ZopfliLongestMatchCache* lmc);
# ^
# src/zopfli/cache.h:53:26: error: unknown type name 'size_t'
# size_t pos, size_t length,
# ^
# src/zopfli/cache.h:53:38: error: unknown type name 'size_t'
# size_t pos, size_t length,
# ^
# src/zopfli/cache.h:58:26: error: unknown type name 'size_t'
# size_t pos, size_t length,
# ^
# src/zopfli/cache.h:58:38: error: unknown type name 'size_t'
# size_t pos, size_t length,
# ^
# src/zopfli/cache.h:62:32: error: unknown type name 'size_t'
# size_t pos, size_t length);
# ^
# src/zopfli/cache.h:62:44: error: unknown type name 'size_t'
# size_t pos, size_t length);
# ^
# src/zopfli/cache.c:22:20: error: no include path in which to search for assert.h
# #include
# ^
# src/zopfli/cache.c:23:19: error: no include path in which to search for stdio.h
# #include
# ^
# src/zopfli/cache.c:24:20: error: no include path in which to search for stdlib.h
# #include
# ^
# src/zopfli/cache.c:28:22: error: unknown type name 'size_t'
# void ZopfliInitCache(size_t blocksize, ZopfliLongestMatchCache* lmc) {
# ^
# src/zopfli/cache.c: In function 'ZopfliCleanCache':
# src/zopfli/cache.c:47:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
# free(lmc->length);
# ^
# src/zopfli/cache.c:47:3: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
# src/zopfli/cache.c: At top level:
# src/zopfli/cache.c:53:26: error: unknown type name 'size_t'
# size_t pos, size_t length,
# ^
# src/zopfli/cache.c:53:38: error: unknown type name 'size_t'
# size_t pos, size_t length,
# ^
# src/zopfli/cache.c:86:26: error: unknown type name 'size_t'
# size_t pos, size_t length,
# ^
# src/zopfli/cache.c:86:38: error: unknown type name 'size_t'
# size_t pos, size_t length,
# ^
# src/zopfli/cache.c:112:32: error: unknown type name 'size_t'
# size_t pos, size_t length) {
# ^
# src/zopfli/cache.c:112:44: error: unknown type name 'size_t'
# size_t pos, size_t length) {
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from src/zopfli/deflate.h:28:0,
# from src/zopfli/deflate.c:20:
# src/zopfli/zopfli.h:23:20: error: no include path in which to search for stddef.h
# #include
# ^
# src/zopfli/zopfli.h:24:37: error: no include path in which to search for stdlib.h
# #include /* for size_t */
# ^
# src/zopfli/zopfli.h:90:46: error: unknown type name 'size_t'
# const unsigned char* in, size_t insize,
# ^
# src/zopfli/zopfli.h:91:42: error: unknown type name 'size_t'
# unsigned char** out, size_t* outsize);
# ^
# In file included from src/zopfli/deflate.c:20:0:
# src/zopfli/deflate.h:58:45: error: unknown type name 'size_t'
# const unsigned char* in, size_t insize,
# ^
# src/zopfli/deflate.h:59:60: error: unknown type name 'size_t'
# unsigned char* bp, unsigned char** out, size_t* outsize);
# ^
# src/zopfli/deflate.h:67:49: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/deflate.h:67:65: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/deflate.h:69:24: error: unknown type name 'size_t'
# size_t* outsize);
# ^
# src/zopfli/deflate.h:80:33: error: unknown type name 'size_t'
# size_t lstart, size_t lend, int btype);
# ^
# src/zopfli/deflate.h:80:48: error: unknown type name 'size_t'
# size_t lstart, size_t lend, int btype);
# ^
# src/zopfli/deflate.c:22:20: error: no include path in which to search for assert.h
# #include
# ^
# src/zopfli/deflate.c:23:19: error: no include path in which to search for stdio.h
# #include
# ^
# src/zopfli/deflate.c:24:20: error: no include path in which to search for stdlib.h
# #include
# ^
# In file included from src/zopfli/deflate.c:26:0:
# src/zopfli/blocksplitter.h:31:20: error: no include path in which to search for stdlib.h
# #include
# ^
# src/zopfli/blocksplitter.h:47:27: error: unknown type name 'size_t'
# size_t llsize, size_t maxblocks,
# ^
# src/zopfli/blocksplitter.h:47:42: error: unknown type name 'size_t'
# size_t llsize, size_t maxblocks,
# ^
# src/zopfli/blocksplitter.h:48:27: error: unknown type name 'size_t'
# size_t** splitpoints, size_t* npoints);
# ^
# src/zopfli/blocksplitter.h:48:49: error: unknown type name 'size_t'
# size_t** splitpoints, size_t* npoints);
# ^
# src/zopfli/blocksplitter.h:65:48: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/blocksplitter.h:65:64: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/blocksplitter.h:66:23: error: unknown type name 'size_t'
# size_t maxblocks, size_t** splitpoints, size_t* npoints);
# ^
# src/zopfli/blocksplitter.h:66:41: error: unknown type name 'size_t'
# size_t maxblocks, size_t** splitpoints, size_t* npoints);
# ^
# src/zopfli/blocksplitter.h:66:63: error: unknown type name 'size_t'
# size_t maxblocks, size_t** splitpoints, size_t* npoints);
# ^
# src/zopfli/blocksplitter.h:73:29: error: unknown type name 'size_t'
# size_t instart, size_t inend,
# ^
# src/zopfli/blocksplitter.h:73:45: error: unknown type name 'size_t'
# size_t instart, size_t inend,
# ^
# src/zopfli/blocksplitter.h:74:29: error: unknown type name 'size_t'
# size_t blocksize,
# ^
# src/zopfli/blocksplitter.h:75:29: error: unknown type name 'size_t'
# size_t** splitpoints, size_t* npoints);
# ^
# src/zopfli/blocksplitter.h:75:51: error: unknown type name 'size_t'
# size_t** splitpoints, size_t* npoints);
# ^
# In file included from src/zopfli/deflate.c:27:0:
# src/zopfli/lz77.h:28:20: error: no include path in which to search for stdlib.h
# #include
# ^
# In file included from src/zopfli/cache.h:27:0,
# from src/zopfli/lz77.h:30,
# from src/zopfli/deflate.c:27:
# src/zopfli/util.h:28:20: error: no include path in which to search for string.h
# #include
# ^
# src/zopfli/util.h:29:20: error: no include path in which to search for stdlib.h
# #include
# ^
# In file included from src/zopfli/lz77.h:30:0,
# from src/zopfli/deflate.c:27:
# src/zopfli/cache.h:46:22: error: unknown type name 'size_t'
# void ZopfliInitCache(size_t blocksize, ZopfliLongestMatchCache* lmc);
# ^
# src/zopfli/cache.h:53:26: error: unknown type name 'size_t'
# size_t pos, size_t length,
# ^
# src/zopfli/cache.h:53:38: error: unknown type name 'size_t'
# size_t pos, size_t length,
# ^
# src/zopfli/cache.h:58:26: error: unknown type name 'size_t'
# size_t pos, size_t length,
# ^
# src/zopfli/cache.h:58:38: error: unknown type name 'size_t'
# size_t pos, size_t length,
# ^
# src/zopfli/cache.h:62:32: error: unknown type name 'size_t'
# size_t pos, size_t length);
# ^
# src/zopfli/cache.h:62:44: error: unknown type name 'size_t'
# size_t pos, size_t length);
# ^
# In file included from src/zopfli/lz77.h:31:0,
# from src/zopfli/deflate.c:27:
# src/zopfli/hash.h:50:21: error: unknown type name 'size_t'
# void ZopfliInitHash(size_t window_size, ZopfliHash* h);
# ^
# src/zopfli/hash.h:59:51: error: unknown type name 'size_t'
# void ZopfliUpdateHash(const unsigned char* array, size_t pos, size_t end,
# ^
# src/zopfli/hash.h:59:63: error: unknown type name 'size_t'
# void ZopfliUpdateHash(const unsigned char* array, size_t pos, size_t end,
# ^
# src/zopfli/hash.h:67:51: error: unknown type name 'size_t'
# void ZopfliWarmupHash(const unsigned char* array, size_t pos, size_t end,
# ^
# src/zopfli/hash.h:67:63: error: unknown type name 'size_t'
# void ZopfliWarmupHash(const unsigned char* array, size_t pos, size_t end,
# ^
# In file included from src/zopfli/deflate.c:27:0:
# src/zopfli/lz77.h:48:3: error: unknown type name 'size_t'
# size_t size;
# ^
# src/zopfli/lz77.h:71:3: error: unknown type name 'size_t'
# size_t blockstart;
# ^
# src/zopfli/lz77.h:72:3: error: unknown type name 'size_t'
# size_t blockend;
# ^
# src/zopfli/lz77.h:93:5: error: unknown type name 'size_t'
# size_t pos, size_t size, size_t limit,
# ^
# src/zopfli/lz77.h:93:17: error: unknown type name 'size_t'
# size_t pos, size_t size, size_t limit,
# ^
# src/zopfli/lz77.h:93:30: error: unknown type name 'size_t'
# size_t pos, size_t size, size_t limit,
# ^
# src/zopfli/lz77.h:99:53: error: unknown type name 'size_t'
# void ZopfliVerifyLenDist(const unsigned char* data, size_t datasize, size_t pos,
# ^
# src/zopfli/lz77.h:99:70: error: unknown type name 'size_t'
# void ZopfliVerifyLenDist(const unsigned char* data, size_t datasize, size_t pos,
# ^
# src/zopfli/lz77.h:115:23: error: unknown type name 'size_t'
# size_t start, size_t end,
# ^
# src/zopfli/lz77.h:115:37: error: unknown type name 'size_t'
# size_t start, size_t end,
# ^
# src/zopfli/lz77.h:116:23: error: unknown type name 'size_t'
# size_t* ll_count, size_t* d_count);
# ^
# src/zopfli/lz77.h:116:41: error: unknown type name 'size_t'
# size_t* ll_count, size_t* d_count);
# ^
# src/zopfli/lz77.h:126:23: error: unknown type name 'size_t'
# size_t instart, size_t inend,
# ^
# src/zopfli/lz77.h:126:39: error: unknown type name 'size_t'
# size_t instart, size_t inend,
# ^
# In file included from src/zopfli/deflate.c:28:0:
# src/zopfli/squeeze.h:42:49: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/squeeze.h:42:65: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/squeeze.h:57:29: error: unknown type name 'size_t'
# size_t instart, size_t inend,
# ^
# src/zopfli/squeeze.h:57:45: error: unknown type name 'size_t'
# size_t instart, size_t inend,
# ^
# In file included from src/zopfli/deflate.c:29:0:
# src/zopfli/tree.h:27:20: error: no include path in which to search for string.h
# #include
# ^
# src/zopfli/tree.h:33:1: error: unknown type name 'size_t'
# void ZopfliCalculateBitLengths(const size_t* count, size_t n, int maxbits,
# ^
# src/zopfli/tree.h:33:53: error: unknown type name 'size_t'
# void ZopfliCalculateBitLengths(const size_t* count, size_t n, int maxbits,
# ^
# src/zopfli/tree.h:39:54: error: unknown type name 'size_t'
# void ZopfliLengthsToSymbols(const unsigned* lengths, size_t n, unsigned maxbits,
# ^
# src/zopfli/tree.h:49:1: error: unknown type name 'size_t'
# void ZopfliCalculateEntropy(const size_t* count, size_t n, double* bitlengths);
# ^
# src/zopfli/tree.h:49:50: error: unknown type name 'size_t'
# void ZopfliCalculateEntropy(const size_t* count, size_t n, double* bitlengths);
# ^
# src/zopfli/deflate.c:39:60: error: unknown type name 'size_t'
# unsigned char* bp, unsigned char** out, size_t* outsize) {
# ^
# src/zopfli/deflate.c:46:61: error: unknown type name 'size_t'
# unsigned char* bp, unsigned char** out, size_t* outsize) {
# ^
# src/zopfli/deflate.c:63:28: error: unknown type name 'size_t'
# size_t* outsize) {
# ^
# src/zopfli/deflate.c:105:1: error: unknown type name 'size_t'
# static size_t EncodeTree(const unsigned* ll_lengths,
# ^
# src/zopfli/deflate.c:109:47: error: unknown type name 'size_t'
# unsigned char** out, size_t* outsize) {
# ^
# src/zopfli/deflate.c:254:49: error: unknown type name 'size_t'
# unsigned char** out, size_t* outsize) {
# ^
# src/zopfli/deflate.c:277:1: error: unknown type name 'size_t'
# static size_t CalculateTreeSize(const unsigned* ll_lengths,
# ^
# src/zopfli/deflate.c: In function 'CalculateTreeSize':
# src/zopfli/deflate.c:279:3: error: unknown type name 'size_t'
# size_t result = 0;
# ^
# src/zopfli/deflate.c:283:5: error: unknown type name 'size_t'
# size_t size = EncodeTree(ll_lengths, d_lengths,
# ^
# src/zopfli/deflate.c:283:5: warning: implicit declaration of function 'EncodeTree' [-Wimplicit-function-declaration]
# src/zopfli/deflate.c: At top level:
# src/zopfli/deflate.c:299:25: error: unknown type name 'size_t'
# size_t lstart, size_t lend,
# ^
# src/zopfli/deflate.c:299:40: error: unknown type name 'size_t'
# size_t lstart, size_t lend,
# ^
# src/zopfli/deflate.c:300:25: error: unknown type name 'size_t'
# size_t expected_data_size,
# ^
# src/zopfli/deflate.c:304:46: error: unknown type name 'size_t'
# unsigned char** out, size_t* outsize) {
# ^
# src/zopfli/deflate.c: In function 'GetFixedTree':
# src/zopfli/deflate.c:337:3: error: unknown type name 'size_t'
# size_t i;
# ^
# src/zopfli/deflate.c: At top level:
# src/zopfli/deflate.c:348:1: error: unknown type name 'size_t'
# static size_t CalculateBlockSymbolSize(const unsigned* ll_lengths,
# ^
# src/zopfli/deflate.c:352:40: error: unknown type name 'size_t'
# size_t lstart, size_t lend) {
# ^
# src/zopfli/deflate.c:352:55: error: unknown type name 'size_t'
# size_t lstart, size_t lend) {
# ^
# src/zopfli/deflate.c:369:1: error: unknown type name 'size_t'
# static size_t AbsDiff(size_t x, size_t y) {
# ^
# src/zopfli/deflate.c:369:23: error: unknown type name 'size_t'
# static size_t AbsDiff(size_t x, size_t y) {
# ^
# src/zopfli/deflate.c:369:33: error: unknown type name 'size_t'
# static size_t AbsDiff(size_t x, size_t y) {
# ^
# src/zopfli/deflate.c:381:40: error: unknown type name 'size_t'
# void OptimizeHuffmanForRle(int length, size_t* counts) {
# ^
# src/zopfli/deflate.c:475:31: error: unknown type name 'size_t'
# size_t lstart, size_t lend,
# ^
# src/zopfli/deflate.c:475:46: error: unknown type name 'size_t'
# size_t lstart, size_t lend,
# ^
# src/zopfli/deflate.c:490:33: error: unknown type name 'size_t'
# size_t lstart, size_t lend, int btype) {
# ^
# src/zopfli/deflate.c:490:48: error: unknown type name 'size_t'
# size_t lstart, size_t lend, int btype) {
# ^
# src/zopfli/deflate.c:531:26: error: unknown type name 'size_t'
# size_t lstart, size_t lend,
# ^
# src/zopfli/deflate.c:531:41: error: unknown type name 'size_t'
# size_t lstart, size_t lend,
# ^
# src/zopfli/deflate.c:532:26: error: unknown type name 'size_t'
# size_t expected_data_size,
# ^
# src/zopfli/deflate.c:534:47: error: unknown type name 'size_t'
# unsigned char** out, size_t* outsize) {
# ^
# src/zopfli/deflate.c:588:33: error: unknown type name 'size_t'
# size_t instart, size_t inend,
# ^
# src/zopfli/deflate.c:588:49: error: unknown type name 'size_t'
# size_t instart, size_t inend,
# ^
# src/zopfli/deflate.c:590:54: error: unknown type name 'size_t'
# unsigned char** out, size_t* outsize) {
# ^
# src/zopfli/deflate.c:641:31: error: unknown type name 'size_t'
# size_t instart, size_t inend,
# ^
# src/zopfli/deflate.c:641:47: error: unknown type name 'size_t'
# size_t instart, size_t inend,
# ^
# src/zopfli/deflate.c:643:52: error: unknown type name 'size_t'
# unsigned char** out, size_t* outsize) {
# ^
# src/zopfli/deflate.c:671:64: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart,
# ^
# src/zopfli/deflate.c:672:39: error: unknown type name 'size_t'
# size_t inend,
# ^
# src/zopfli/deflate.c:674:60: error: unknown type name 'size_t'
# unsigned char** out, size_t* outsize) {
# ^
# src/zopfli/deflate.c:702:51: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/deflate.c:702:67: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/deflate.c:704:47: error: unknown type name 'size_t'
# unsigned char** out, size_t* outsize) {
# ^
# src/zopfli/deflate.c:724:35: error: unknown type name 'size_t'
# size_t instart, size_t inend,
# ^
# src/zopfli/deflate.c:724:51: error: unknown type name 'size_t'
# size_t instart, size_t inend,
# ^
# src/zopfli/deflate.c:726:56: error: unknown type name 'size_t'
# unsigned char** out, size_t* outsize) {
# ^
# src/zopfli/deflate.c:758:34: error: unknown type name 'size_t'
# size_t instart, size_t inend,
# ^
# src/zopfli/deflate.c:758:50: error: unknown type name 'size_t'
# size_t instart, size_t inend,
# ^
# src/zopfli/deflate.c:760:55: error: unknown type name 'size_t'
# unsigned char** out, size_t* outsize) {
# ^
# src/zopfli/deflate.c:828:49: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/deflate.c:828:65: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/deflate.c:830:24: error: unknown type name 'size_t'
# size_t* outsize) {
# ^
# src/zopfli/deflate.c:845:45: error: unknown type name 'size_t'
# const unsigned char* in, size_t insize,
# ^
# src/zopfli/deflate.c:846:60: error: unknown type name 'size_t'
# unsigned char* bp, unsigned char** out, size_t* outsize) {
# ^
# src/zopfli/deflate.c:86:13: warning: 'PatchDistanceCodesForBuggyDecoders' defined but not used [-Wunused-function]
# static void PatchDistanceCodesForBuggyDecoders(unsigned* d_lengths) {
# ^
# src/zopfli/deflate.c:277:15: warning: 'CalculateTreeSize' defined but not used [-Wunused-function]
# static size_t CalculateTreeSize(const unsigned* ll_lengths,
# ^
# src/zopfli/deflate.c:336:13: warning: 'GetFixedTree' defined but not used [-Wunused-function]
# static void GetFixedTree(unsigned* ll_lengths, unsigned* d_lengths) {
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from src/zopfli/gzip_container.h:27:0,
# from src/zopfli/gzip_container.c:20:
# src/zopfli/zopfli.h:23:20: error: no include path in which to search for stddef.h
# #include
# ^
# src/zopfli/zopfli.h:24:37: error: no include path in which to search for stdlib.h
# #include /* for size_t */
# ^
# src/zopfli/zopfli.h:90:46: error: unknown type name 'size_t'
# const unsigned char* in, size_t insize,
# ^
# src/zopfli/zopfli.h:91:42: error: unknown type name 'size_t'
# unsigned char** out, size_t* outsize);
# ^
# In file included from src/zopfli/gzip_container.c:20:0:
# src/zopfli/gzip_container.h:43:50: error: unknown type name 'size_t'
# const unsigned char* in, size_t insize,
# ^
# src/zopfli/gzip_container.h:44:46: error: unknown type name 'size_t'
# unsigned char** out, size_t* outsize);
# ^
# In file included from src/zopfli/gzip_container.c:21:0:
# src/zopfli/util.h:28:20: error: no include path in which to search for string.h
# #include
# ^
# src/zopfli/util.h:29:20: error: no include path in which to search for stdlib.h
# #include
# ^
# src/zopfli/gzip_container.c:23:19: error: no include path in which to search for stdio.h
# #include
# ^
# In file included from src/zopfli/gzip_container.c:25:0:
# src/zopfli/deflate.h:58:45: error: unknown type name 'size_t'
# const unsigned char* in, size_t insize,
# ^
# src/zopfli/deflate.h:59:60: error: unknown type name 'size_t'
# unsigned char* bp, unsigned char** out, size_t* outsize);
# ^
# src/zopfli/deflate.h:67:49: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/deflate.h:67:65: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/deflate.h:69:24: error: unknown type name 'size_t'
# size_t* outsize);
# ^
# src/zopfli/deflate.h:80:33: error: unknown type name 'size_t'
# size_t lstart, size_t lend, int btype);
# ^
# src/zopfli/deflate.h:80:48: error: unknown type name 'size_t'
# size_t lstart, size_t lend, int btype);
# ^
# src/zopfli/gzip_container.c:57:58: error: unknown type name 'size_t'
# const unsigned char *buf, size_t len) {
# ^
# src/zopfli/gzip_container.c: In function 'CRC':
# src/zopfli/gzip_container.c:71:3: warning: implicit declaration of function 'UpdateCRC' [-Wimplicit-function-declaration]
# return UpdateCRC(0L, buf, len);
# ^
# src/zopfli/gzip_container.c: At top level:
# src/zopfli/gzip_container.c:78:50: error: unknown type name 'size_t'
# const unsigned char* in, size_t insize,
# ^
# src/zopfli/gzip_container.c:79:46: error: unknown type name 'size_t'
# unsigned char** out, size_t* outsize) {
# ^
# src/zopfli/gzip_container.c:34:13: warning: 'MakeCRCTable' defined but not used [-Wunused-function]
# static void MakeCRCTable() {
# ^
# src/zopfli/gzip_container.c:70:22: warning: 'CRC' defined but not used [-Wunused-function]
# static unsigned long CRC(const unsigned char* buf, int len) {
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from src/zopfli/hash.h:27:0,
# from src/zopfli/hash.c:20:
# src/zopfli/util.h:28:20: error: no include path in which to search for string.h
# #include
# ^
# src/zopfli/util.h:29:20: error: no include path in which to search for stdlib.h
# #include
# ^
# In file included from src/zopfli/hash.c:20:0:
# src/zopfli/hash.h:50:21: error: unknown type name 'size_t'
# void ZopfliInitHash(size_t window_size, ZopfliHash* h);
# ^
# src/zopfli/hash.h:59:51: error: unknown type name 'size_t'
# void ZopfliUpdateHash(const unsigned char* array, size_t pos, size_t end,
# ^
# src/zopfli/hash.h:59:63: error: unknown type name 'size_t'
# void ZopfliUpdateHash(const unsigned char* array, size_t pos, size_t end,
# ^
# src/zopfli/hash.h:67:51: error: unknown type name 'size_t'
# void ZopfliWarmupHash(const unsigned char* array, size_t pos, size_t end,
# ^
# src/zopfli/hash.h:67:63: error: unknown type name 'size_t'
# void ZopfliWarmupHash(const unsigned char* array, size_t pos, size_t end,
# ^
# src/zopfli/hash.c:22:20: error: no include path in which to search for assert.h
# #include
# ^
# src/zopfli/hash.c:23:19: error: no include path in which to search for stdio.h
# #include
# ^
# src/zopfli/hash.c:24:20: error: no include path in which to search for stdlib.h
# #include
# ^
# src/zopfli/hash.c:29:21: error: unknown type name 'size_t'
# void ZopfliInitHash(size_t window_size, ZopfliHash* h) {
# ^
# src/zopfli/hash.c: In function 'ZopfliCleanHash':
# src/zopfli/hash.c:67:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
# free(h->head);
# ^
# src/zopfli/hash.c:67:3: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
# src/zopfli/hash.c: At top level:
# src/zopfli/hash.c:91:51: error: unknown type name 'size_t'
# void ZopfliUpdateHash(const unsigned char* array, size_t pos, size_t end,
# ^
# src/zopfli/hash.c:91:63: error: unknown type name 'size_t'
# void ZopfliUpdateHash(const unsigned char* array, size_t pos, size_t end,
# ^
# src/zopfli/hash.c:130:51: error: unknown type name 'size_t'
# void ZopfliWarmupHash(const unsigned char* array, size_t pos, size_t end,
# ^
# src/zopfli/hash.c:130:63: error: unknown type name 'size_t'
# void ZopfliWarmupHash(const unsigned char* array, size_t pos, size_t end,
# ^
# src/zopfli/hash.c:87:13: warning: 'UpdateHashValue' defined but not used [-Wunused-function]
# static void UpdateHashValue(ZopfliHash* h, unsigned char c) {
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from src/zopfli/katajainen.c:26:0:
# src/zopfli/katajainen.h:23:20: error: no include path in which to search for string.h
# #include
# ^
# src/zopfli/katajainen.h:40:5: error: unknown type name 'size_t'
# const size_t* frequencies, int n, int maxbits, unsigned* bitlengths);
# ^
# src/zopfli/katajainen.c:27:20: error: no include path in which to search for assert.h
# #include
# ^
# src/zopfli/katajainen.c:28:20: error: no include path in which to search for stdlib.h
# #include
# ^
# src/zopfli/katajainen.c:36:3: error: unknown type name 'size_t'
# size_t weight; /* Total weight (symbol count) of this chain. */
# ^
# src/zopfli/katajainen.c:54:22: error: unknown type name 'size_t'
# static void InitNode(size_t weight, int count, Node* tail, Node* node) {
# ^
# src/zopfli/katajainen.c: In function 'BoundaryPM':
# src/zopfli/katajainen.c:123:5: warning: implicit declaration of function 'InitNode' [-Wimplicit-function-declaration]
# InitNode(leaves[lastcount].weight, lastcount + 1, 0, newchain);
# ^
# src/zopfli/katajainen.c:125:5: error: unknown type name 'size_t'
# size_t sum = lists[index - 1][0]->weight + lists[index - 1][1]->weight;
# ^
# src/zopfli/katajainen.c: At top level:
# src/zopfli/katajainen.c:181:5: error: unknown type name 'size_t'
# const size_t* frequencies, int n, int maxbits, unsigned* bitlengths) {
# ^
# src/zopfli/katajainen.c: In function 'ZopfliLengthLimitedCodeLengths':
# src/zopfli/katajainen.c:192:3: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
# Node* leaves = (Node*)malloc(n * sizeof(*leaves));
# ^
# src/zopfli/katajainen.c:192:25: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
# Node* leaves = (Node*)malloc(n * sizeof(*leaves));
# ^
# src/zopfli/katajainen.c:210:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
# free(leaves);
# ^
# src/zopfli/katajainen.c:210:5: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
# src/zopfli/katajainen.c:214:5: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
# free(leaves);
# ^
# src/zopfli/katajainen.c:219:5: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
# free(leaves);
# ^
# src/zopfli/katajainen.c:224:3: warning: implicit declaration of function 'qsort' [-Wimplicit-function-declaration]
# qsort(leaves, numsymbols, sizeof(Node), LeafComparator);
# ^
# src/zopfli/katajainen.c:247:3: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
# free(lists);
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from src/zopfli/lz77.c:20:0:
# src/zopfli/lz77.h:28:20: error: no include path in which to search for stdlib.h
# #include
# ^
# In file included from src/zopfli/cache.h:27:0,
# from src/zopfli/lz77.h:30,
# from src/zopfli/lz77.c:20:
# src/zopfli/util.h:28:20: error: no include path in which to search for string.h
# #include
# ^
# src/zopfli/util.h:29:20: error: no include path in which to search for stdlib.h
# #include
# ^
# In file included from src/zopfli/lz77.h:30:0,
# from src/zopfli/lz77.c:20:
# src/zopfli/cache.h:46:22: error: unknown type name 'size_t'
# void ZopfliInitCache(size_t blocksize, ZopfliLongestMatchCache* lmc);
# ^
# src/zopfli/cache.h:53:26: error: unknown type name 'size_t'
# size_t pos, size_t length,
# ^
# src/zopfli/cache.h:53:38: error: unknown type name 'size_t'
# size_t pos, size_t length,
# ^
# src/zopfli/cache.h:58:26: error: unknown type name 'size_t'
# size_t pos, size_t length,
# ^
# src/zopfli/cache.h:58:38: error: unknown type name 'size_t'
# size_t pos, size_t length,
# ^
# src/zopfli/cache.h:62:32: error: unknown type name 'size_t'
# size_t pos, size_t length);
# ^
# src/zopfli/cache.h:62:44: error: unknown type name 'size_t'
# size_t pos, size_t length);
# ^
# In file included from src/zopfli/lz77.h:31:0,
# from src/zopfli/lz77.c:20:
# src/zopfli/hash.h:50:21: error: unknown type name 'size_t'
# void ZopfliInitHash(size_t window_size, ZopfliHash* h);
# ^
# src/zopfli/hash.h:59:51: error: unknown type name 'size_t'
# void ZopfliUpdateHash(const unsigned char* array, size_t pos, size_t end,
# ^
# src/zopfli/hash.h:59:63: error: unknown type name 'size_t'
# void ZopfliUpdateHash(const unsigned char* array, size_t pos, size_t end,
# ^
# src/zopfli/hash.h:67:51: error: unknown type name 'size_t'
# void ZopfliWarmupHash(const unsigned char* array, size_t pos, size_t end,
# ^
# src/zopfli/hash.h:67:63: error: unknown type name 'size_t'
# void ZopfliWarmupHash(const unsigned char* array, size_t pos, size_t end,
# ^
# In file included from src/zopfli/lz77.h:32:0,
# from src/zopfli/lz77.c:20:
# src/zopfli/zopfli.h:23:20: error: no include path in which to search for stddef.h
# #include
# ^
# src/zopfli/zopfli.h:24:37: error: no include path in which to search for stdlib.h
# #include /* for size_t */
# ^
# src/zopfli/zopfli.h:90:46: error: unknown type name 'size_t'
# const unsigned char* in, size_t insize,
# ^
# src/zopfli/zopfli.h:91:42: error: unknown type name 'size_t'
# unsigned char** out, size_t* outsize);
# ^
# In file included from src/zopfli/lz77.c:20:0:
# src/zopfli/lz77.h:48:3: error: unknown type name 'size_t'
# size_t size;
# ^
# src/zopfli/lz77.h:71:3: error: unknown type name 'size_t'
# size_t blockstart;
# ^
# src/zopfli/lz77.h:72:3: error: unknown type name 'size_t'
# size_t blockend;
# ^
# src/zopfli/lz77.h:93:5: error: unknown type name 'size_t'
# size_t pos, size_t size, size_t limit,
# ^
# src/zopfli/lz77.h:93:17: error: unknown type name 'size_t'
# size_t pos, size_t size, size_t limit,
# ^
# src/zopfli/lz77.h:93:30: error: unknown type name 'size_t'
# size_t pos, size_t size, size_t limit,
# ^
# src/zopfli/lz77.h:99:53: error: unknown type name 'size_t'
# void ZopfliVerifyLenDist(const unsigned char* data, size_t datasize, size_t pos,
# ^
# src/zopfli/lz77.h:99:70: error: unknown type name 'size_t'
# void ZopfliVerifyLenDist(const unsigned char* data, size_t datasize, size_t pos,
# ^
# src/zopfli/lz77.h:115:23: error: unknown type name 'size_t'
# size_t start, size_t end,
# ^
# src/zopfli/lz77.h:115:37: error: unknown type name 'size_t'
# size_t start, size_t end,
# ^
# src/zopfli/lz77.h:116:23: error: unknown type name 'size_t'
# size_t* ll_count, size_t* d_count);
# ^
# src/zopfli/lz77.h:116:41: error: unknown type name 'size_t'
# size_t* ll_count, size_t* d_count);
# ^
# src/zopfli/lz77.h:126:23: error: unknown type name 'size_t'
# size_t instart, size_t inend,
# ^
# src/zopfli/lz77.h:126:39: error: unknown type name 'size_t'
# size_t instart, size_t inend,
# ^
# src/zopfli/lz77.c:23:20: error: no include path in which to search for assert.h
# #include
# ^
# src/zopfli/lz77.c:24:19: error: no include path in which to search for stdio.h
# #include
# ^
# src/zopfli/lz77.c:25:20: error: no include path in which to search for stdlib.h
# #include
# ^
# src/zopfli/lz77.c: In function 'ZopfliCleanLZ77Store':
# src/zopfli/lz77.c:34:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
# free(store->litlens);
# ^
# src/zopfli/lz77.c:34:3: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
# src/zopfli/lz77.c: In function 'ZopfliCopyLZ77Store':
# src/zopfli/lz77.c:40:3: error: unknown type name 'size_t'
# size_t i;
# ^
# src/zopfli/lz77.c:43:7: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
# (unsigned short*)malloc(sizeof(*dest->litlens) * source->size);
# ^
# src/zopfli/lz77.c:43:24: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
# (unsigned short*)malloc(sizeof(*dest->litlens) * source->size);
# ^
# src/zopfli/lz77.c:46:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
# if (!dest->litlens || !dest->dists) exit(-1); /* Allocation failed. */
# ^
# src/zopfli/lz77.c:46:39: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
# if (!dest->litlens || !dest->dists) exit(-1); /* Allocation failed. */
# ^
# src/zopfli/lz77.c: In function 'ZopfliStoreLitLenDist':
# src/zopfli/lz77.c:61:3: error: unknown type name 'size_t'
# size_t size2 = store->size; /* Needed for using ZOPFLI_APPEND_DATA twice. */
# ^
# In file included from src/zopfli/cache.h:27:0,
# from src/zopfli/lz77.h:30,
# from src/zopfli/lz77.c:20:
# src/zopfli/util.h:166:30: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
# (*data) = (*size) == 0 ? malloc(sizeof(**data))\
# ^
# src/zopfli/lz77.c:62:3: note: in expansion of macro 'ZOPFLI_APPEND_DATA'
# ZOPFLI_APPEND_DATA(length, &store->litlens, &store->size);
# ^
# src/zopfli/lz77.c:62:3: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration]
# In file included from src/zopfli/cache.h:27:0,
# from src/zopfli/lz77.h:30,
# from src/zopfli/lz77.c:20:
# src/zopfli/util.h:167:30: warning: incompatible implicit declaration of built-in function 'realloc' [enabled by default]
# : realloc((*data), (*size) * 2 * sizeof(**data));\
# ^
# src/zopfli/lz77.c:62:3: note: in expansion of macro 'ZOPFLI_APPEND_DATA'
# ZOPFLI_APPEND_DATA(length, &store->litlens, &store->size);
# ^
# src/zopfli/util.h:166:30: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
# (*data) = (*size) == 0 ? malloc(sizeof(**data))\
# ^
# src/zopfli/lz77.c:63:3: note: in expansion of macro 'ZOPFLI_APPEND_DATA'
# ZOPFLI_APPEND_DATA(dist, &store->dists, &size2);
# ^
# src/zopfli/util.h:167:30: warning: incompatible implicit declaration of built-in function 'realloc' [enabled by default]
# : realloc((*data), (*size) * 2 * sizeof(**data));\
# ^
# src/zopfli/lz77.c:63:3: note: in expansion of macro 'ZOPFLI_APPEND_DATA'
# ZOPFLI_APPEND_DATA(dist, &store->dists, &size2);
# ^
# src/zopfli/lz77.c: At top level:
# src/zopfli/lz77.c:95:53: error: unknown type name 'size_t'
# void ZopfliVerifyLenDist(const unsigned char* data, size_t datasize, size_t pos,
# ^
# src/zopfli/lz77.c:95:70: error: unknown type name 'size_t'
# void ZopfliVerifyLenDist(const unsigned char* data, size_t datasize, size_t pos,
# ^
# src/zopfli/lz77.c: In function 'GetMatch':
# src/zopfli/lz77.c:124:14: error: 'size_t' undeclared (first use in this function)
# if (sizeof(size_t) == 8) {
# ^
# src/zopfli/lz77.c:124:14: note: each undeclared identifier is reported only once for each function it appears in
# src/zopfli/lz77.c:126:41: error: expected expression before ')' token
# while (scan < safe_end && *((size_t*)scan) == *((size_t*)match)) {
# ^
# src/zopfli/lz77.c:126:61: error: expected expression before ')' token
# while (scan < safe_end && *((size_t*)scan) == *((size_t*)match)) {
# ^
# src/zopfli/lz77.c: At top level:
# src/zopfli/lz77.c:163:5: error: unknown type name 'size_t'
# size_t pos, size_t* limit,
# ^
# src/zopfli/lz77.c:163:17: error: unknown type name 'size_t'
# size_t pos, size_t* limit,
# ^
# src/zopfli/lz77.c:207:5: error: unknown type name 'size_t'
# size_t pos, size_t limit,
# ^
# src/zopfli/lz77.c:207:17: error: unknown type name 'size_t'
# size_t pos, size_t limit,
# ^
# src/zopfli/lz77.c:231:5: error: unknown type name 'size_t'
# size_t pos, size_t size, size_t limit,
# ^
# src/zopfli/lz77.c:231:17: error: unknown type name 'size_t'
# size_t pos, size_t size, size_t limit,
# ^
# src/zopfli/lz77.c:231:30: error: unknown type name 'size_t'
# size_t pos, size_t size, size_t limit,
# ^
# src/zopfli/lz77.c:367:23: error: unknown type name 'size_t'
# size_t instart, size_t inend,
# ^
# src/zopfli/lz77.c:367:39: error: unknown type name 'size_t'
# size_t instart, size_t inend,
# ^
# src/zopfli/lz77.c:461:23: error: unknown type name 'size_t'
# size_t start, size_t end,
# ^
# src/zopfli/lz77.c:461:37: error: unknown type name 'size_t'
# size_t start, size_t end,
# ^
# src/zopfli/lz77.c:462:23: error: unknown type name 'size_t'
# size_t* ll_count, size_t* d_count) {
# ^
# src/zopfli/lz77.c:462:41: error: unknown type name 'size_t'
# size_t* ll_count, size_t* d_count) {
# ^
# src/zopfli/lz77.c:87:12: warning: 'GetLengthScore' defined but not used [-Wunused-function]
# static int GetLengthScore(int length, int distance) {
# ^
# src/zopfli/lz77.c:119:29: warning: 'GetMatch' defined but not used [-Wunused-function]
# static const unsigned char* GetMatch(const unsigned char* scan,
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from src/zopfli/squeeze.h:34:0,
# from src/zopfli/squeeze.c:20:
# src/zopfli/lz77.h:28:20: error: no include path in which to search for stdlib.h
# #include
# ^
# In file included from src/zopfli/cache.h:27:0,
# from src/zopfli/lz77.h:30,
# from src/zopfli/squeeze.h:34,
# from src/zopfli/squeeze.c:20:
# src/zopfli/util.h:28:20: error: no include path in which to search for string.h
# #include
# ^
# src/zopfli/util.h:29:20: error: no include path in which to search for stdlib.h
# #include
# ^
# In file included from src/zopfli/lz77.h:30:0,
# from src/zopfli/squeeze.h:34,
# from src/zopfli/squeeze.c:20:
# src/zopfli/cache.h:46:22: error: unknown type name 'size_t'
# void ZopfliInitCache(size_t blocksize, ZopfliLongestMatchCache* lmc);
# ^
# src/zopfli/cache.h:53:26: error: unknown type name 'size_t'
# size_t pos, size_t length,
# ^
# src/zopfli/cache.h:53:38: error: unknown type name 'size_t'
# size_t pos, size_t length,
# ^
# src/zopfli/cache.h:58:26: error: unknown type name 'size_t'
# size_t pos, size_t length,
# ^
# src/zopfli/cache.h:58:38: error: unknown type name 'size_t'
# size_t pos, size_t length,
# ^
# src/zopfli/cache.h:62:32: error: unknown type name 'size_t'
# size_t pos, size_t length);
# ^
# src/zopfli/cache.h:62:44: error: unknown type name 'size_t'
# size_t pos, size_t length);
# ^
# In file included from src/zopfli/lz77.h:31:0,
# from src/zopfli/squeeze.h:34,
# from src/zopfli/squeeze.c:20:
# src/zopfli/hash.h:50:21: error: unknown type name 'size_t'
# void ZopfliInitHash(size_t window_size, ZopfliHash* h);
# ^
# src/zopfli/hash.h:59:51: error: unknown type name 'size_t'
# void ZopfliUpdateHash(const unsigned char* array, size_t pos, size_t end,
# ^
# src/zopfli/hash.h:59:63: error: unknown type name 'size_t'
# void ZopfliUpdateHash(const unsigned char* array, size_t pos, size_t end,
# ^
# src/zopfli/hash.h:67:51: error: unknown type name 'size_t'
# void ZopfliWarmupHash(const unsigned char* array, size_t pos, size_t end,
# ^
# src/zopfli/hash.h:67:63: error: unknown type name 'size_t'
# void ZopfliWarmupHash(const unsigned char* array, size_t pos, size_t end,
# ^
# In file included from src/zopfli/lz77.h:32:0,
# from src/zopfli/squeeze.h:34,
# from src/zopfli/squeeze.c:20:
# src/zopfli/zopfli.h:23:20: error: no include path in which to search for stddef.h
# #include
# ^
# src/zopfli/zopfli.h:24:37: error: no include path in which to search for stdlib.h
# #include /* for size_t */
# ^
# src/zopfli/zopfli.h:90:46: error: unknown type name 'size_t'
# const unsigned char* in, size_t insize,
# ^
# src/zopfli/zopfli.h:91:42: error: unknown type name 'size_t'
# unsigned char** out, size_t* outsize);
# ^
# In file included from src/zopfli/squeeze.h:34:0,
# from src/zopfli/squeeze.c:20:
# src/zopfli/lz77.h:48:3: error: unknown type name 'size_t'
# size_t size;
# ^
# src/zopfli/lz77.h:71:3: error: unknown type name 'size_t'
# size_t blockstart;
# ^
# src/zopfli/lz77.h:72:3: error: unknown type name 'size_t'
# size_t blockend;
# ^
# src/zopfli/lz77.h:93:5: error: unknown type name 'size_t'
# size_t pos, size_t size, size_t limit,
# ^
# src/zopfli/lz77.h:93:17: error: unknown type name 'size_t'
# size_t pos, size_t size, size_t limit,
# ^
# src/zopfli/lz77.h:93:30: error: unknown type name 'size_t'
# size_t pos, size_t size, size_t limit,
# ^
# src/zopfli/lz77.h:99:53: error: unknown type name 'size_t'
# void ZopfliVerifyLenDist(const unsigned char* data, size_t datasize, size_t pos,
# ^
# src/zopfli/lz77.h:99:70: error: unknown type name 'size_t'
# void ZopfliVerifyLenDist(const unsigned char* data, size_t datasize, size_t pos,
# ^
# src/zopfli/lz77.h:115:23: error: unknown type name 'size_t'
# size_t start, size_t end,
# ^
# src/zopfli/lz77.h:115:37: error: unknown type name 'size_t'
# size_t start, size_t end,
# ^
# src/zopfli/lz77.h:116:23: error: unknown type name 'size_t'
# size_t* ll_count, size_t* d_count);
# ^
# src/zopfli/lz77.h:116:41: error: unknown type name 'size_t'
# size_t* ll_count, size_t* d_count);
# ^
# src/zopfli/lz77.h:126:23: error: unknown type name 'size_t'
# size_t instart, size_t inend,
# ^
# src/zopfli/lz77.h:126:39: error: unknown type name 'size_t'
# size_t instart, size_t inend,
# ^
# In file included from src/zopfli/squeeze.c:20:0:
# src/zopfli/squeeze.h:42:49: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/squeeze.h:42:65: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/squeeze.h:57:29: error: unknown type name 'size_t'
# size_t instart, size_t inend,
# ^
# src/zopfli/squeeze.h:57:45: error: unknown type name 'size_t'
# size_t instart, size_t inend,
# ^
# src/zopfli/squeeze.c:22:20: error: no include path in which to search for assert.h
# #include
# ^
# src/zopfli/squeeze.c:23:18: error: no include path in which to search for math.h
# #include
# ^
# src/zopfli/squeeze.c:24:19: error: no include path in which to search for stdio.h
# #include
# ^
# In file included from src/zopfli/squeeze.c:26:0:
# src/zopfli/blocksplitter.h:31:20: error: no include path in which to search for stdlib.h
# #include
# ^
# src/zopfli/blocksplitter.h:47:27: error: unknown type name 'size_t'
# size_t llsize, size_t maxblocks,
# ^
# src/zopfli/blocksplitter.h:47:42: error: unknown type name 'size_t'
# size_t llsize, size_t maxblocks,
# ^
# src/zopfli/blocksplitter.h:48:27: error: unknown type name 'size_t'
# size_t** splitpoints, size_t* npoints);
# ^
# src/zopfli/blocksplitter.h:48:49: error: unknown type name 'size_t'
# size_t** splitpoints, size_t* npoints);
# ^
# src/zopfli/blocksplitter.h:65:48: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/blocksplitter.h:65:64: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/blocksplitter.h:66:23: error: unknown type name 'size_t'
# size_t maxblocks, size_t** splitpoints, size_t* npoints);
# ^
# src/zopfli/blocksplitter.h:66:41: error: unknown type name 'size_t'
# size_t maxblocks, size_t** splitpoints, size_t* npoints);
# ^
# src/zopfli/blocksplitter.h:66:63: error: unknown type name 'size_t'
# size_t maxblocks, size_t** splitpoints, size_t* npoints);
# ^
# src/zopfli/blocksplitter.h:73:29: error: unknown type name 'size_t'
# size_t instart, size_t inend,
# ^
# src/zopfli/blocksplitter.h:73:45: error: unknown type name 'size_t'
# size_t instart, size_t inend,
# ^
# src/zopfli/blocksplitter.h:74:29: error: unknown type name 'size_t'
# size_t blocksize,
# ^
# src/zopfli/blocksplitter.h:75:29: error: unknown type name 'size_t'
# size_t** splitpoints, size_t* npoints);
# ^
# src/zopfli/blocksplitter.h:75:51: error: unknown type name 'size_t'
# size_t** splitpoints, size_t* npoints);
# ^
# In file included from src/zopfli/squeeze.c:27:0:
# src/zopfli/deflate.h:58:45: error: unknown type name 'size_t'
# const unsigned char* in, size_t insize,
# ^
# src/zopfli/deflate.h:59:60: error: unknown type name 'size_t'
# unsigned char* bp, unsigned char** out, size_t* outsize);
# ^
# src/zopfli/deflate.h:67:49: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/deflate.h:67:65: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/deflate.h:69:24: error: unknown type name 'size_t'
# size_t* outsize);
# ^
# src/zopfli/deflate.h:80:33: error: unknown type name 'size_t'
# size_t lstart, size_t lend, int btype);
# ^
# src/zopfli/deflate.h:80:48: error: unknown type name 'size_t'
# size_t lstart, size_t lend, int btype);
# ^
# In file included from src/zopfli/squeeze.c:28:0:
# src/zopfli/tree.h:27:20: error: no include path in which to search for string.h
# #include
# ^
# src/zopfli/tree.h:33:1: error: unknown type name 'size_t'
# void ZopfliCalculateBitLengths(const size_t* count, size_t n, int maxbits,
# ^
# src/zopfli/tree.h:33:53: error: unknown type name 'size_t'
# void ZopfliCalculateBitLengths(const size_t* count, size_t n, int maxbits,
# ^
# src/zopfli/tree.h:39:54: error: unknown type name 'size_t'
# void ZopfliLengthsToSymbols(const unsigned* lengths, size_t n, unsigned maxbits,
# ^
# src/zopfli/tree.h:49:1: error: unknown type name 'size_t'
# void ZopfliCalculateEntropy(const size_t* count, size_t n, double* bitlengths);
# ^
# src/zopfli/tree.h:49:50: error: unknown type name 'size_t'
# void ZopfliCalculateEntropy(const size_t* count, size_t n, double* bitlengths);
# ^
# src/zopfli/squeeze.c:33:3: error: unknown type name 'size_t'
# size_t litlens[288];
# ^
# src/zopfli/squeeze.c:35:3: error: unknown type name 'size_t'
# size_t dists[32];
# ^
# src/zopfli/squeeze.c: In function 'InitStats':
# src/zopfli/squeeze.c:43:3: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration]
# memset(stats->litlens, 0, 288 * sizeof(stats->litlens[0]));
# ^
# src/zopfli/squeeze.c:43:3: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
# src/zopfli/squeeze.c: In function 'CopyStats':
# src/zopfli/squeeze.c:51:3: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
# memcpy(dest->litlens, source->litlens, 288 * sizeof(dest->litlens[0]));
# ^
# src/zopfli/squeeze.c:51:3: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default]
# src/zopfli/squeeze.c: In function 'AddWeighedStatFreqs':
# src/zopfli/squeeze.c:63:3: error: unknown type name 'size_t'
# size_t i;
# ^
# src/zopfli/squeeze.c:66:10: error: 'size_t' undeclared (first use in this function)
# (size_t) (stats1->litlens[i] * w1 + stats2->litlens[i] * w2);
# ^
# src/zopfli/squeeze.c:66:10: note: each undeclared identifier is reported only once for each function it appears in
# src/zopfli/squeeze.c: At top level:
# src/zopfli/squeeze.c:91:45: error: unknown type name 'size_t'
# static void RandomizeFreqs(RanState* state, size_t* freqs, int n) {
# ^
# src/zopfli/squeeze.c: In function 'RandomizeStatFreqs':
# src/zopfli/squeeze.c:99:3: warning: implicit declaration of function 'RandomizeFreqs' [-Wimplicit-function-declaration]
# RandomizeFreqs(state, stats->litlens, 288);
# ^
# src/zopfli/squeeze.c: In function 'ClearStatFreqs':
# src/zopfli/squeeze.c:105:3: error: unknown type name 'size_t'
# size_t i;
# ^
# src/zopfli/squeeze.c: At top level:
# src/zopfli/squeeze.c:210:30: error: unknown type name 'size_t'
# size_t instart, size_t inend,
# ^
# src/zopfli/squeeze.c:210:46: error: unknown type name 'size_t'
# size_t instart, size_t inend,
# ^
# src/zopfli/squeeze.c:313:28: error: unknown type name 'size_t'
# static void TraceBackwards(size_t size, const unsigned short* length_array,
# ^
# src/zopfli/squeeze.c:314:51: error: unknown type name 'size_t'
# unsigned short** path, size_t* pathsize) {
# ^
# src/zopfli/squeeze.c:335:49: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/squeeze.c:335:65: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/squeeze.c:336:46: error: unknown type name 'size_t'
# unsigned short* path, size_t pathsize,
# ^
# src/zopfli/squeeze.c: In function 'CalculateStatistics':
# src/zopfli/squeeze.c:394:3: warning: implicit declaration of function 'ZopfliCalculateEntropy' [-Wimplicit-function-declaration]
# ZopfliCalculateEntropy(stats->litlens, 288, stats->ll_symbols);
# ^
# src/zopfli/squeeze.c: In function 'GetStatistics':
# src/zopfli/squeeze.c:400:3: error: unknown type name 'size_t'
# size_t i;
# ^
# src/zopfli/squeeze.c: At top level:
# src/zopfli/squeeze.c:432:30: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/squeeze.c:432:46: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/squeeze.c:433:28: error: unknown type name 'size_t'
# unsigned short** path, size_t* pathsize,
# ^
# src/zopfli/squeeze.c:448:49: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/squeeze.c:448:65: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/squeeze.c:524:29: error: unknown type name 'size_t'
# size_t instart, size_t inend,
# ^
# src/zopfli/squeeze.c:524:45: error: unknown type name 'size_t'
# size_t instart, size_t inend,
# ^
# src/zopfli/squeeze.c:42:13: warning: 'InitStats' defined but not used [-Wunused-function]
# static void InitStats(SymbolStats* stats) {
# ^
# src/zopfli/squeeze.c:50:13: warning: 'CopyStats' defined but not used [-Wunused-function]
# static void CopyStats(SymbolStats* source, SymbolStats* dest) {
# ^
# src/zopfli/squeeze.c:60:13: warning: 'AddWeighedStatFreqs' defined but not used [-Wunused-function]
# static void AddWeighedStatFreqs(const SymbolStats* stats1, double w1,
# ^
# src/zopfli/squeeze.c:79:13: warning: 'InitRanState' defined but not used [-Wunused-function]
# static void InitRanState(RanState* state) {
# ^
# src/zopfli/squeeze.c:85:21: warning: 'Ran' defined but not used [-Wunused-function]
# static unsigned int Ran(RanState* state) {
# ^
# src/zopfli/squeeze.c:98:13: warning: 'RandomizeStatFreqs' defined but not used [-Wunused-function]
# static void RandomizeStatFreqs(RanState* state, SymbolStats* stats) {
# ^
# src/zopfli/squeeze.c:104:13: warning: 'ClearStatFreqs' defined but not used [-Wunused-function]
# static void ClearStatFreqs(SymbolStats* stats) {
# ^
# src/zopfli/squeeze.c:120:15: warning: 'GetCostFixed' defined but not used [-Wunused-function]
# static double GetCostFixed(unsigned litlen, unsigned dist, void* unused) {
# ^
# src/zopfli/squeeze.c:141:15: warning: 'GetCostStat' defined but not used [-Wunused-function]
# static double GetCostStat(unsigned litlen, unsigned dist, void* context) {
# ^
# src/zopfli/squeeze.c:158:15: warning: 'GetCostModelMinCost' defined but not used [-Wunused-function]
# static double GetCostModelMinCost(CostModelFun* costmodel, void* costcontext) {
# ^
# src/zopfli/squeeze.c:399:13: warning: 'GetStatistics' defined but not used [-Wunused-function]
# static void GetStatistics(const ZopfliLZ77Store* store, SymbolStats* stats) {
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from src/zopfli/tree.c:20:0:
# src/zopfli/tree.h:27:20: error: no include path in which to search for string.h
# #include
# ^
# src/zopfli/tree.h:33:1: error: unknown type name 'size_t'
# void ZopfliCalculateBitLengths(const size_t* count, size_t n, int maxbits,
# ^
# src/zopfli/tree.h:33:53: error: unknown type name 'size_t'
# void ZopfliCalculateBitLengths(const size_t* count, size_t n, int maxbits,
# ^
# src/zopfli/tree.h:39:54: error: unknown type name 'size_t'
# void ZopfliLengthsToSymbols(const unsigned* lengths, size_t n, unsigned maxbits,
# ^
# src/zopfli/tree.h:49:1: error: unknown type name 'size_t'
# void ZopfliCalculateEntropy(const size_t* count, size_t n, double* bitlengths);
# ^
# src/zopfli/tree.h:49:50: error: unknown type name 'size_t'
# void ZopfliCalculateEntropy(const size_t* count, size_t n, double* bitlengths);
# ^
# src/zopfli/tree.c:22:20: error: no include path in which to search for assert.h
# #include
# ^
# src/zopfli/tree.c:23:18: error: no include path in which to search for math.h
# #include
# ^
# src/zopfli/tree.c:24:19: error: no include path in which to search for stdio.h
# #include
# ^
# src/zopfli/tree.c:25:20: error: no include path in which to search for stdlib.h
# #include
# ^
# In file included from src/zopfli/tree.c:27:0:
# src/zopfli/katajainen.h:23:20: error: no include path in which to search for string.h
# #include
# ^
# src/zopfli/katajainen.h:40:5: error: unknown type name 'size_t'
# const size_t* frequencies, int n, int maxbits, unsigned* bitlengths);
# ^
# In file included from src/zopfli/tree.c:28:0:
# src/zopfli/util.h:28:20: error: no include path in which to search for string.h
# #include
# ^
# src/zopfli/util.h:29:20: error: no include path in which to search for stdlib.h
# #include
# ^
# src/zopfli/tree.c:30:54: error: unknown type name 'size_t'
# void ZopfliLengthsToSymbols(const unsigned* lengths, size_t n, unsigned maxbits,
# ^
# src/zopfli/tree.c:71:1: error: unknown type name 'size_t'
# void ZopfliCalculateEntropy(const size_t* count, size_t n, double* bitlengths) {
# ^
# src/zopfli/tree.c:71:50: error: unknown type name 'size_t'
# void ZopfliCalculateEntropy(const size_t* count, size_t n, double* bitlengths) {
# ^
# src/zopfli/tree.c:96:1: error: unknown type name 'size_t'
# void ZopfliCalculateBitLengths(const size_t* count, size_t n, int maxbits,
# ^
# src/zopfli/tree.c:96:53: error: unknown type name 'size_t'
# void ZopfliCalculateBitLengths(const size_t* count, size_t n, int maxbits,
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from src/zopfli/util.c:20:0:
# src/zopfli/util.h:28:20: error: no include path in which to search for string.h
# #include
# ^
# src/zopfli/util.h:29:20: error: no include path in which to search for stdlib.h
# #include
# ^
# In file included from src/zopfli/util.c:22:0:
# src/zopfli/zopfli.h:23:20: error: no include path in which to search for stddef.h
# #include
# ^
# src/zopfli/zopfli.h:24:37: error: no include path in which to search for stdlib.h
# #include /* for size_t */
# ^
# src/zopfli/zopfli.h:90:46: error: unknown type name 'size_t'
# const unsigned char* in, size_t insize,
# ^
# src/zopfli/zopfli.h:91:42: error: unknown type name 'size_t'
# unsigned char** out, size_t* outsize);
# ^
# src/zopfli/util.c:24:20: error: no include path in which to search for assert.h
# #include
# ^
# src/zopfli/util.c:25:19: error: no include path in which to search for stdio.h
# #include
# ^
# src/zopfli/util.c:26:20: error: no include path in which to search for stdlib.h
# #include
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from src/zopfli/zlib_container.h:27:0,
# from src/zopfli/zlib_container.c:20:
# src/zopfli/zopfli.h:23:20: error: no include path in which to search for stddef.h
# #include
# ^
# src/zopfli/zopfli.h:24:37: error: no include path in which to search for stdlib.h
# #include /* for size_t */
# ^
# src/zopfli/zopfli.h:90:46: error: unknown type name 'size_t'
# const unsigned char* in, size_t insize,
# ^
# src/zopfli/zopfli.h:91:42: error: unknown type name 'size_t'
# unsigned char** out, size_t* outsize);
# ^
# In file included from src/zopfli/zlib_container.c:20:0:
# src/zopfli/zlib_container.h:43:50: error: unknown type name 'size_t'
# const unsigned char* in, size_t insize,
# ^
# src/zopfli/zlib_container.h:44:46: error: unknown type name 'size_t'
# unsigned char** out, size_t* outsize);
# ^
# In file included from src/zopfli/zlib_container.c:21:0:
# src/zopfli/util.h:28:20: error: no include path in which to search for string.h
# #include
# ^
# src/zopfli/util.h:29:20: error: no include path in which to search for stdlib.h
# #include
# ^
# src/zopfli/zlib_container.c:23:19: error: no include path in which to search for stdio.h
# #include
# ^
# In file included from src/zopfli/zlib_container.c:25:0:
# src/zopfli/deflate.h:58:45: error: unknown type name 'size_t'
# const unsigned char* in, size_t insize,
# ^
# src/zopfli/deflate.h:59:60: error: unknown type name 'size_t'
# unsigned char* bp, unsigned char** out, size_t* outsize);
# ^
# src/zopfli/deflate.h:67:49: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/deflate.h:67:65: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/deflate.h:69:24: error: unknown type name 'size_t'
# size_t* outsize);
# ^
# src/zopfli/deflate.h:80:33: error: unknown type name 'size_t'
# size_t lstart, size_t lend, int btype);
# ^
# src/zopfli/deflate.h:80:48: error: unknown type name 'size_t'
# size_t lstart, size_t lend, int btype);
# ^
# src/zopfli/zlib_container.c:29:52: error: unknown type name 'size_t'
# static unsigned adler32(const unsigned char* data, size_t size)
# ^
# src/zopfli/zlib_container.c:51:50: error: unknown type name 'size_t'
# const unsigned char* in, size_t insize,
# ^
# src/zopfli/zlib_container.c:52:46: error: unknown type name 'size_t'
# unsigned char** out, size_t* outsize) {
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from src/zopfli/zopfli_lib.c:20:0:
# src/zopfli/zopfli.h:23:20: error: no include path in which to search for stddef.h
# #include
# ^
# src/zopfli/zopfli.h:24:37: error: no include path in which to search for stdlib.h
# #include /* for size_t */
# ^
# src/zopfli/zopfli.h:90:46: error: unknown type name 'size_t'
# const unsigned char* in, size_t insize,
# ^
# src/zopfli/zopfli.h:91:42: error: unknown type name 'size_t'
# unsigned char** out, size_t* outsize);
# ^
# In file included from src/zopfli/zopfli_lib.c:22:0:
# src/zopfli/deflate.h:58:45: error: unknown type name 'size_t'
# const unsigned char* in, size_t insize,
# ^
# src/zopfli/deflate.h:59:60: error: unknown type name 'size_t'
# unsigned char* bp, unsigned char** out, size_t* outsize);
# ^
# src/zopfli/deflate.h:67:49: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/deflate.h:67:65: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/deflate.h:69:24: error: unknown type name 'size_t'
# size_t* outsize);
# ^
# src/zopfli/deflate.h:80:33: error: unknown type name 'size_t'
# size_t lstart, size_t lend, int btype);
# ^
# src/zopfli/deflate.h:80:48: error: unknown type name 'size_t'
# size_t lstart, size_t lend, int btype);
# ^
# In file included from src/zopfli/zopfli_lib.c:23:0:
# src/zopfli/gzip_container.h:43:50: error: unknown type name 'size_t'
# const unsigned char* in, size_t insize,
# ^
# src/zopfli/gzip_container.h:44:46: error: unknown type name 'size_t'
# unsigned char** out, size_t* outsize);
# ^
# In file included from src/zopfli/zopfli_lib.c:24:0:
# src/zopfli/zlib_container.h:43:50: error: unknown type name 'size_t'
# const unsigned char* in, size_t insize,
# ^
# src/zopfli/zlib_container.h:44:46: error: unknown type name 'size_t'
# unsigned char** out, size_t* outsize);
# ^
# src/zopfli/zopfli_lib.c:26:20: error: no include path in which to search for assert.h
# #include
# ^
# src/zopfli/zopfli_lib.c:29:46: error: unknown type name 'size_t'
# const unsigned char* in, size_t insize,
# ^
# src/zopfli/zopfli_lib.c:30:42: error: unknown type name 'size_t'
# unsigned char** out, size_t* outsize) {
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# src/zopfli/zopfli_bin.c:27:20: error: no include path in which to search for assert.h
# #include
# ^
# src/zopfli/zopfli_bin.c:28:19: error: no include path in which to search for stdio.h
# #include
# ^
# src/zopfli/zopfli_bin.c:29:20: error: no include path in which to search for stdlib.h
# #include
# ^
# src/zopfli/zopfli_bin.c:30:20: error: no include path in which to search for string.h
# #include
# ^
# In file included from src/zopfli/deflate.h:28:0,
# from src/zopfli/zopfli_bin.c:32:
# src/zopfli/zopfli.h:23:20: error: no include path in which to search for stddef.h
# #include
# ^
# src/zopfli/zopfli.h:24:37: error: no include path in which to search for stdlib.h
# #include /* for size_t */
# ^
# src/zopfli/zopfli.h:90:46: error: unknown type name 'size_t'
# const unsigned char* in, size_t insize,
# ^
# src/zopfli/zopfli.h:91:42: error: unknown type name 'size_t'
# unsigned char** out, size_t* outsize);
# ^
# In file included from src/zopfli/zopfli_bin.c:32:0:
# src/zopfli/deflate.h:58:45: error: unknown type name 'size_t'
# const unsigned char* in, size_t insize,
# ^
# src/zopfli/deflate.h:59:60: error: unknown type name 'size_t'
# unsigned char* bp, unsigned char** out, size_t* outsize);
# ^
# src/zopfli/deflate.h:67:49: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/deflate.h:67:65: error: unknown type name 'size_t'
# const unsigned char* in, size_t instart, size_t inend,
# ^
# src/zopfli/deflate.h:69:24: error: unknown type name 'size_t'
# size_t* outsize);
# ^
# src/zopfli/deflate.h:80:33: error: unknown type name 'size_t'
# size_t lstart, size_t lend, int btype);
# ^
# src/zopfli/deflate.h:80:48: error: unknown type name 'size_t'
# size_t lstart, size_t lend, int btype);
# ^
# In file included from src/zopfli/zopfli_bin.c:33:0:
# src/zopfli/gzip_container.h:43:50: error: unknown type name 'size_t'
# const unsigned char* in, size_t insize,
# ^
# src/zopfli/gzip_container.h:44:46: error: unknown type name 'size_t'
# unsigned char** out, size_t* outsize);
# ^
# In file included from src/zopfli/zopfli_bin.c:34:0:
# src/zopfli/zlib_container.h:43:50: error: unknown type name 'size_t'
# const unsigned char* in, size_t insize,
# ^
# src/zopfli/zlib_container.h:44:46: error: unknown type name 'size_t'
# unsigned char** out, size_t* outsize);
# ^
# src/zopfli/zopfli_bin.c:45:43: error: unknown type name 'size_t'
# unsigned char** out, size_t* outsize) {
# ^
# src/zopfli/zopfli_bin.c:81:47: error: unknown type name 'size_t'
# const unsigned char* in, size_t insize) {
# ^
# src/zopfli/zopfli_bin.c: In function 'CompressFile':
# src/zopfli/zopfli_bin.c:100:3: error: unknown type name 'size_t'
# size_t insize;
# ^
# src/zopfli/zopfli_bin.c:102:3: error: unknown type name 'size_t'
# size_t outsize = 0;
# ^
# src/zopfli/zopfli_bin.c:103:3: warning: implicit declaration of function 'LoadFile' [-Wimplicit-function-declaration]
# LoadFile(infilename, &in, &insize);
# ^
# src/zopfli/zopfli_bin.c:105:5: warning: implicit declaration of function 'fprintf' [-Wimplicit-function-declaration]
# fprintf(stderr, "Invalid filename: %s\n", infilename);
# ^
# src/zopfli/zopfli_bin.c:105:5: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# src/zopfli/zopfli_bin.c:105:13: error: 'stderr' undeclared (first use in this function)
# fprintf(stderr, "Invalid filename: %s\n", infilename);
# ^
# src/zopfli/zopfli_bin.c:105:13: note: each undeclared identifier is reported only once for each function it appears in
# src/zopfli/zopfli_bin.c:109:3: warning: implicit declaration of function 'ZopfliCompress' [-Wimplicit-function-declaration]
# ZopfliCompress(options, output_type, in, insize, &out, &outsize);
# ^
# src/zopfli/zopfli_bin.c:112:5: warning: implicit declaration of function 'SaveFile' [-Wimplicit-function-declaration]
# SaveFile(outfilename, out, outsize);
# ^
# src/zopfli/zopfli_bin.c:114:5: error: unknown type name 'size_t'
# size_t i;
# ^
# src/zopfli/zopfli_bin.c:120:7: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
# printf("%c", out[i]);
# ^
# src/zopfli/zopfli_bin.c:120:7: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# src/zopfli/zopfli_bin.c:124:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
# free(out);
# ^
# src/zopfli/zopfli_bin.c:124:3: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
# src/zopfli/zopfli_bin.c: In function 'AddStrings':
# src/zopfli/zopfli_bin.c:132:3: error: unknown type name 'size_t'
# size_t len = strlen(str1) + strlen(str2);
# ^
# src/zopfli/zopfli_bin.c:132:3: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
# src/zopfli/zopfli_bin.c:132:16: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
# size_t len = strlen(str1) + strlen(str2);
# ^
# src/zopfli/zopfli_bin.c:133:3: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
# char* result = (char*)malloc(len + 1);
# ^
# src/zopfli/zopfli_bin.c:133:25: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
# char* result = (char*)malloc(len + 1);
# ^
# src/zopfli/zopfli_bin.c:134:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
# if (!result) exit(-1); /* Allocation failed. */
# ^
# src/zopfli/zopfli_bin.c:134:16: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
# if (!result) exit(-1); /* Allocation failed. */
# ^
# src/zopfli/zopfli_bin.c:135:3: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration]
# strcpy(result, str1);
# ^
# src/zopfli/zopfli_bin.c:135:3: warning: incompatible implicit declaration of built-in function 'strcpy' [enabled by default]
# src/zopfli/zopfli_bin.c:136:3: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration]
# strcat(result, str2);
# ^
# src/zopfli/zopfli_bin.c:136:3: warning: incompatible implicit declaration of built-in function 'strcat' [enabled by default]
# src/zopfli/zopfli_bin.c: In function 'StringsEqual':
# src/zopfli/zopfli_bin.c:141:3: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
# return strcmp(str1, str2) == 0;
# ^
# src/zopfli/zopfli_bin.c: In function 'main':
# src/zopfli/zopfli_bin.c:165:7: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration]
# options.numiterations = atoi(arg + 3);
# ^
# src/zopfli/zopfli_bin.c:168:7: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# fprintf(stderr,
# ^
# src/zopfli/zopfli_bin.c:168:15: error: 'stderr' undeclared (first use in this function)
# fprintf(stderr,
# ^
# src/zopfli/zopfli_bin.c:187:5: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# fprintf(stderr, "Error: must have 1 or more iterations\n");
# ^
# src/zopfli/zopfli_bin.c:202:9: warning: implicit declaration of function 'assert' [-Wimplicit-function-declaration]
# assert(output_type == ZOPFLI_FORMAT_DEFLATE);
# ^
# src/zopfli/zopfli_bin.c:206:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# fprintf(stderr, "Saving to: %s\n", outfilename);
# ^
# src/zopfli/zopfli_bin.c:209:7: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
# free(outfilename);
# ^
# src/zopfli/zopfli_bin.c:214:5: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# fprintf(stderr,
# ^
# make: *** [Makefile:23: zopfli] Error 1
# ==> ERROR: A failure occurred in build().
# Aborting...