Not directly related to aMule itself, just a note for those willing to
compile aMule-2.2.4 against GeoIP-1.4.6 libraries.
Tarball downloaded from MaxMind (GeoIP-1.4.6.tar.gz) has a "README.MinGW"
reading that -among the other things- for a successful compilation you have to
set compiler and linker flags as of:
export "CFLAGS=-O3 -I/usr/local/include"
export "LDFLAGS=-L/usr/local/lib -lwsock32"
The usual standard procedure (configure & make & make check) breaks
down to a grinding halt after an apparently successful build of libraries,
complaining about three external undefined functions.
GeoIP "configure" seems to be unable to detect your Windows' OS code
listed in w32api.h.
More: it links against wrong libraries, so you have to explicitly
declare OS code such as:
export "CFLAGS=-O3 -I/usr/local/include -D_WIN32_WINNT=0x0501"
and vary the linker flags as of:
export "LDFLAGS=-L/usr/local/lib -lws2_32"
In this way you'd get a working set of libraries to link against aMule.
These two "export"s fit for XP and 2003. If you need a patch for W2k or below,
there is another tricky method. Little bit more convoluted, so to speak. Feel
free to drop me a line if needed.
For further details please see ws2tcpip.h, lines 306 and the following
and w32api.h, first lines.
Cheers,
--
Gaznevada