Re: [Geoip-c-discuss] GeoIP-1.3.0 build error on Solaris 9
Brought to you by:
tjmather
From: Thomas J M. <tjm...@ma...> - 2003-11-14 22:48:35
|
Hi Andy, I have updated the code to do this with #ifdefs and autoconf - 1.3.1 has been uploaded to http://www.maxmind.com/download/geoip/api/c/GeoIP-1.3.1.tar.gz Basically added AC_CHECK_HEADERS(stdint.h) to configure.in and added a #ifdef HAVE_STDINT_H around #include <stdint.h> Thanks, TJ On Fri, 14 Nov 2003 10:33:42 -0500, "Andy Grundman" <an...@ka...> said: > Solaris 9 doesn't include the stdint.h header file, so 1.3.0 will not > compile. To get it to build, you have to modify 3 files: > libGeoIP/GeoIP.c, libGeoIP/GeoIPCity.c, and test/test-geoip-region.c and > change #include <stdint.h> to #include <inttypes.h> > > I'm sure this can be handled with an #ifdef but I'm not sure what is > defined when using Solaris. > > -Andy > > > > ------------------------------------------------------- > This SF.Net email sponsored by: ApacheCon 2003, > 16-19 November in Las Vegas. Learn firsthand the latest > developments in Apache, PHP, Perl, XML, Java, MySQL, > WebDAV, and more! http://www.apachecon.com/ > _______________________________________________ > Geoip-c-discuss mailing list > Geo...@li... > https://lists.sourceforge.net/lists/listinfo/geoip-c-discuss |