I'm using sdk r10 and ndk 5b on ubuntu 10.10 32 bits. For the external dependencies, i retrieved the lastest source code.
I had few problems with the "mupdf-overlay/base_memory.c" :
- The definition of "void *fz_realloc(void *p, int n)" changed to "void *fz_realloc(void *p, int count, int size)". I corrected it by adding the new parameter.
- There is a fz_calloc function needed by "mupdf/pdf_parse.c" and "pdf_xref.c", corrected by coying the implementation from the initial base_memory.c file.
After that the compilation process went smoothly. But still, both the DroidReader apk and my application exit when trying to open a pdf document.