Hi, I got this issue nailed out. :-D The problem was with the zlib package offered by MinGW. _Never_ use zlib-1.2.3-MSYS-1.0.11.tar.bz2 package, _it's broken_! Instead, download the pre-compiled version of zlib from zlib.net, and use that to build Xapian with MinGW on Windows. Regards, Adi.