make fail and exist with a lot of error lines part of the output of make is : In file included from jbig2dec/jbig2.c:32: jbig2dec/jbig2.h:58: error: parse error before "uint8_t" jbig2dec/jbig2.h:58: warning: no semicolon at end of struct or union jbig2dec/jbig2.h:72: error: parse error before "int32_t" jbig2dec/jbig2.h:72: warning: function declaration isn't a prototype jbig2dec/jbig2.h:112: error: parse error before "uint32_t" jbig2dec/jbig2.h:112: warning: no semicolon at end of struct or union jbig2dec/jbig2.h:113: warning: type defaults to `int' in declaration of `flags' ... ... jbig2dec/jbig2.c:159: error: dereferencing pointer to incomplete type jbig2dec/jbig2.c:160: error: dereferencing pointer to incomplete type jbig2dec/jbig2.c:161: error: dereferencing pointer to incomplete type jbig2dec/jbig2.c:162: error: dereferencing pointer to incomplete type ... ... jbig2dec/jbig2.c:416: warning: dereferencing `void *' pointer jbig2dec/jbig2.c:416: error: request for member `data' in something not a struct ure or union jbig2dec/jbig2.c:416: error: `data' undeclared (first use in this function) jbig2dec/jbig2.c:417: warning: dereferencing `void *' pointer jbig2dec/jbig2.c:417: error: request for member `size' in something not a struct ure or union jbig2dec/jbig2.c:419: warning: dereferencing `void *' pointer jbig2dec/jbig2.c:419: error: request for member `super' in something not a struc ture or union
The work around is to pass --without-jbig2dec to the configure script, or add #include <sys/int_types.h> at the top of jbig2dec/jbig2.h. *** This bug has been marked as a duplicate of 687007 ***