I've been trying to cross-compile aMule for Windows using mingw32 on Mandriva 2008.1. I haven't found any relevant howto's so it's been a trial and error process, but still I seemed to be making good progress until it came to amule itself. I'm not even using SVN, just the same stable 2.2.2 source that compiled for Linux like a breeze. I managed to compile wxWidgets with mingw32, which would seem like the biggest hurdle to overcome. However when I run configure in amule sources it keeps getting interrupted with a "checking for zlib >= 1.1.4... no". I have zlib-1.2.3 installed system-wide(and *-devel just in case); I also compiled and installed it in a local build tree and then in /usr/local, but no matter where I point the configure script to look for it(--with-zlib=/x/y/z) or let it auto-detect, the same error returns. It's even harder to understand given that configure detects such system-wide dependencies like flex or bison. I would appreciate any meaningful advice.