Closed Zohei closed 10 years ago
Thanks for the report. The test failures appear related to IPv6 handling. Is your FreeBSD install pretty standard (e.g., default libc and C compiler)?
I think used default install gcc44. How can i check it?
Thanks. You would probably know if you installed something else. Would you also attach the config.log
from your libmaxminddb directory?
I tried gmake and installation was successful
$ gmake install
Making install in src
gmake[1]: Entering directory `/usr/home/3dev/data/geoip/libmaxminddb/src'
gmake[2]: Entering directory `/usr/home/3dev/data/geoip/libmaxminddb/src'
.././install-sh -c -d '/usr/local/lib'
/bin/sh ../libtool --mode=install /usr/bin/install -c libmaxminddb.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libmaxminddb.so.0 /usr/local/lib/libmaxminddb.so.0
libtool: install: (cd /usr/local/lib && { ln -s -f libmaxminddb.so.0 libmaxminddb.so || { rm -f libmaxminddb.so && ln -s libmaxminddb.so.0 libmaxminddb.so; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libmaxminddb.so.0 libmaxminddb.so || { rm -f libmaxminddb.so && ln -s libmaxminddb.so.0 libmaxminddb.so; }; })
libtool: install: /usr/bin/install -c .libs/libmaxminddb.lai /usr/local/lib/libmaxminddb.la
libtool: install: /usr/bin/install -c .libs/libmaxminddb.a /usr/local/lib/libmaxminddb.a
libtool: install: chmod 644 /usr/local/lib/libmaxminddb.a
libtool: install: ranlib /usr/local/lib/libmaxminddb.a
.././install-sh -c -d '/usr/local/include'
/usr/bin/install -c -m 644 ../include/maxminddb.h '/usr/local/include'
gmake[2]: Leaving directory `/usr/home/3dev/data/geoip/libmaxminddb/src'
gmake[1]: Leaving directory `/usr/home/3dev/data/geoip/libmaxminddb/src'
Making install in bin
gmake[1]: Entering directory `/usr/home/3dev/data/geoip/libmaxminddb/bin'
gmake[2]: Entering directory `/usr/home/3dev/data/geoip/libmaxminddb/bin'
.././install-sh -c -d '/usr/local/bin'
/bin/sh ../libtool --mode=install /usr/bin/install -c mmdblookup '/usr/local/bin'
libtool: install: /usr/bin/install -c .libs/mmdblookup /usr/local/bin/mmdblookup
gmake[2]: Nothing to be done for `install-data-am'.
gmake[2]: Leaving directory `/usr/home/3dev/data/geoip/libmaxminddb/bin'
gmake[1]: Leaving directory `/usr/home/3dev/data/geoip/libmaxminddb/bin'
Making install in t
gmake[1]: Entering directory `/usr/home/3dev/data/geoip/libmaxminddb/t'
gmake[2]: Entering directory `/usr/home/3dev/data/geoip/libmaxminddb/t'
gmake[2]: Nothing to be done for `install-exec-am'.
gmake[2]: Nothing to be done for `install-data-am'.
gmake[2]: Leaving directory `/usr/home/3dev/data/geoip/libmaxminddb/t'
gmake[1]: Leaving directory `/usr/home/3dev/data/geoip/libmaxminddb/t'
gmake[1]: Entering directory `/usr/home/3dev/data/geoip/libmaxminddb'
if [ ! -f man/man1/mmdblookup.1 ]; then mkdir -p man/man1 && touch man/man1/mmdblookup.1; fi
if [ ! -f man/man3/libmaxminddb.3 ]; then mkdir -p man/man3 && touch man/man3/libmaxminddb.3; fi
gmake[2]: Entering directory `/usr/home/3dev/data/geoip/libmaxminddb'
./install-sh -c -d '/usr/local/include'
/usr/bin/install -c -m 644 include/maxminddb_config.h '/usr/local/include'
./install-sh -c -d '/usr/local/include'
/usr/bin/install -c -m 644 include/maxminddb.h src/maxminddb-compat-util.h '/usr/local/include'
if [ ! -f man/man1/mmdblookup.1 ]; then mkdir -p man/man1 && touch man/man1/mmdblookup.1; fi
./install-sh -c -d '/usr/share/man/man1'
/usr/bin/install -c -m 644 man/man1/mmdblookup.1 '/usr/share/man/man1'
if [ ! -f man/man3/libmaxminddb.3 ]; then mkdir -p man/man3 && touch man/man3/libmaxminddb.3; fi
./install-sh -c -d '/usr/share/man/man3'
/usr/bin/install -c -m 644 man/man3/libmaxminddb.3 '/usr/share/man/man3'
gmake[2]: Leaving directory `/usr/home/3dev/data/geoip/libmaxminddb'
gmake[1]: Leaving directory `/usr/home/3dev/data/geoip/libmaxminddb'
config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by libmaxminddb configure 0.5.5, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = 3dev.pro
uname -m = amd64
uname -r = 9.2-RELEASE-p6
uname -s = FreeBSD
uname -v = FreeBSD 9.2-RELEASE-p6 #1: Thu May 15 17:01:06 MSK 2014 root@test.deserv.net:/usr/obj/usr/src/sys/GENERIC
/usr/bin/uname -p = amd64
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /usr/games
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /root/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2383: checking build system type
configure:2397: result: amd64-unknown-freebsd9.2
configure:2417: checking host system type
configure:2430: result: amd64-unknown-freebsd9.2
configure:2471: checking how to print strings
configure:2498: result: printf
configure:2570: checking for gcc
configure:2586: found /usr/bin/gcc
configure:2597: result: gcc
configure:2826: checking for C compiler version
configure:2835: gcc --version >&5
gcc (GCC) 4.2.1 20070831 patched [FreeBSD]
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:2846: $? = 0
configure:2835: gcc -v >&5
Using built-in specs.
Target: amd64-undermydesk-freebsd
Configured with: FreeBSD/amd64 system compiler
Thread model: posix
gcc version 4.2.1 20070831 patched [FreeBSD]
configure:2846: $? = 0
configure:2835: gcc -V >&5
gcc: '-V' option must have argument
configure:2846: $? = 1
configure:2835: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: No input files specified
configure:2846: $? = 1
configure:2866: checking whether the C compiler works
configure:2888: gcc conftest.c >&5
configure:2892: $? = 0
configure:2940: result: yes
configure:2943: checking for C compiler default output file name
configure:2945: result: a.out
configure:2951: checking for suffix of executables
configure:2958: gcc -o conftest conftest.c >&5
configure:2962: $? = 0
configure:2984: result:
configure:3006: checking whether we are cross compiling
configure:3014: gcc -o conftest conftest.c >&5
configure:3018: $? = 0
configure:3025: ./conftest
configure:3029: $? = 0
configure:3044: result: no
configure:3049: checking for suffix of object files
configure:3071: gcc -c conftest.c >&5
configure:3075: $? = 0
configure:3096: result: o
configure:3100: checking whether we are using the GNU C compiler
configure:3119: gcc -c conftest.c >&5
configure:3119: $? = 0
configure:3128: result: yes
configure:3137: checking whether gcc accepts -g
configure:3157: gcc -c -g conftest.c >&5
configure:3157: $? = 0
configure:3198: result: yes
configure:3215: checking for gcc option to accept ISO C89
configure:3278: gcc -c -g -O2 conftest.c >&5
configure:3278: $? = 0
configure:3291: result: none needed
configure:3316: checking whether gcc understands -c and -o together
configure:3338: gcc -c conftest.c -o conftest2.o
configure:3341: $? = 0
configure:3338: gcc -c conftest.c -o conftest2.o
configure:3341: $? = 0
configure:3353: result: yes
configure:3370: checking for a sed that does not truncate output
configure:3434: result: /usr/bin/sed
configure:3452: checking for grep that handles long lines and -e
configure:3510: result: /usr/bin/grep
configure:3515: checking for egrep
configure:3577: result: /usr/bin/grep -E
configure:3582: checking for fgrep
configure:3644: result: /usr/bin/grep -F
configure:3679: checking for ld used by gcc
configure:3746: result: /usr/bin/ld
configure:3753: checking if the linker (/usr/bin/ld) is GNU ld
configure:3768: result: yes
configure:3780: checking for BSD- or MS-compatible name lister (nm)
configure:3829: result: /usr/bin/nm -B
configure:3959: checking the name lister (/usr/bin/nm -B) interface
configure:3966: gcc -c -g -O2 conftest.c >&5
configure:3969: /usr/bin/nm -B "conftest.o"
configure:3972: output
0000000000000000 B some_variable
configure:3979: result: BSD nm
configure:3982: checking whether ln -s works
configure:3986: result: yes
configure:3994: checking the maximum length of command line arguments
configure:4124: result: 196608
configure:4141: checking whether the shell understands some XSI constructs
configure:4151: result: yes
configure:4155: checking whether the shell understands "+="
configure:4161: result: no
configure:4196: checking how to convert amd64-unknown-freebsd9.2 file names to amd64-unknown-freebsd9.2 format
configure:4236: result: func_convert_file_noop
configure:4243: checking how to convert amd64-unknown-freebsd9.2 file names to toolchain format
configure:4263: result: func_convert_file_noop
configure:4270: checking for /usr/bin/ld option to reload object files
configure:4277: result: -r
configure:4351: checking for objdump
configure:4367: found /usr/bin/objdump
configure:4378: result: objdump
configure:4410: checking how to recognize dependent libraries
configure:4612: result: pass_all
configure:4697: checking for dlltool
configure:4727: result: no
configure:4757: checking how to associate runtime and link libraries
configure:4784: result: printf %s\n
configure:4845: checking for ar
configure:4861: found /usr/bin/ar
configure:4872: result: ar
configure:4909: checking for archiver @FILE support
configure:4926: gcc -c -g -O2 conftest.c >&5
configure:4926: $? = 0
configure:4929: ar cru libconftest.a @conftest.lst >&5
ar: warning: can't open file: @conftest.lst: No such file or directory
configure:4932: $? = 0
configure:4937: ar cru libconftest.a @conftest.lst >&5
ar: warning: can't open file: @conftest.lst: No such file or directory
configure:4940: $? = 0
configure:4952: result: no
configure:5010: checking for strip
configure:5026: found /usr/bin/strip
configure:5037: result: strip
configure:5109: checking for ranlib
configure:5125: found /usr/bin/ranlib
configure:5136: result: ranlib
configure:5213: checking for gawk
configure:5243: result: no
configure:5213: checking for mawk
configure:5243: result: no
configure:5213: checking for nawk
configure:5229: found /usr/bin/nawk
configure:5240: result: nawk
configure:5280: checking command to parse /usr/bin/nm -B output from gcc object
configure:5400: gcc -c -g -O2 conftest.c >&5
configure:5403: $? = 0
configure:5407: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:5410: $? = 0
configure:5476: gcc -o conftest -g -O2 conftest.c conftstm.o >&5
configure:5479: $? = 0
configure:5517: result: ok
configure:5554: checking for sysroot
configure:5584: result: no
configure:5840: checking for mt
configure:5856: found /usr/bin/mt
configure:5867: result: mt
configure:5890: checking if mt is a manifest tool
configure:5896: mt '-?'
mt: illegal option -- ?
usage: mt [-f device] command [count]
configure:5904: result: no
configure:6546: checking how to run the C preprocessor
configure:6577: gcc -E conftest.c
configure:6577: $? = 0
configure:6591: gcc -E conftest.c
conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
configure:6591: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libmaxminddb"
| #define PACKAGE_TARNAME "libmaxminddb"
| #define PACKAGE_VERSION "0.5.5"
| #define PACKAGE_STRING "libmaxminddb 0.5.5"
| #define PACKAGE_BUGREPORT "support@maxmind.com"
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:6616: result: gcc -E
configure:6636: gcc -E conftest.c
configure:6636: $? = 0
configure:6650: gcc -E conftest.c
conftest.c:9:28: error: ac_nonexistent.h: No such file or directory
configure:6650: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libmaxminddb"
| #define PACKAGE_TARNAME "libmaxminddb"
| #define PACKAGE_VERSION "0.5.5"
| #define PACKAGE_STRING "libmaxminddb 0.5.5"
| #define PACKAGE_BUGREPORT "support@maxmind.com"
| #define PACKAGE_URL ""
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:6679: checking for ANSI C header files
configure:6699: gcc -c -g -O2 conftest.c >&5
configure:6699: $? = 0
configure:6772: gcc -o conftest -g -O2 conftest.c >&5
configure:6772: $? = 0
configure:6772: ./conftest
configure:6772: $? = 0
configure:6783: result: yes
configure:6796: checking for sys/types.h
configure:6796: gcc -c -g -O2 conftest.c >&5
configure:6796: $? = 0
configure:6796: result: yes
configure:6796: checking for sys/stat.h
configure:6796: gcc -c -g -O2 conftest.c >&5
configure:6796: $? = 0
configure:6796: result: yes
configure:6796: checking for stdlib.h
configure:6796: gcc -c -g -O2 conftest.c >&5
configure:6796: $? = 0
configure:6796: result: yes
configure:6796: checking for string.h
configure:6796: gcc -c -g -O2 conftest.c >&5
configure:6796: $? = 0
configure:6796: result: yes
configure:6796: checking for memory.h
configure:6796: gcc -c -g -O2 conftest.c >&5
configure:6796: $? = 0
configure:6796: result: yes
configure:6796: checking for strings.h
configure:6796: gcc -c -g -O2 conftest.c >&5
configure:6796: $? = 0
configure:6796: result: yes
configure:6796: checking for inttypes.h
configure:6796: gcc -c -g -O2 conftest.c >&5
configure:6796: $? = 0
configure:6796: result: yes
configure:6796: checking for stdint.h
configure:6796: gcc -c -g -O2 conftest.c >&5
configure:6796: $? = 0
configure:6796: result: yes
configure:6796: checking for unistd.h
configure:6796: gcc -c -g -O2 conftest.c >&5
configure:6796: $? = 0
configure:6796: result: yes
configure:6810: checking for dlfcn.h
configure:6810: gcc -c -g -O2 conftest.c >&5
configure:6810: $? = 0
configure:6810: result: yes
configure:7016: checking for objdir
configure:7031: result: .libs
configure:7298: checking if gcc supports -fno-rtti -fno-exceptions
configure:7316: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
configure:7320: $? = 0
configure:7333: result: no
configure:7660: checking for gcc option to produce PIC
configure:7667: result: -fPIC -DPIC
configure:7675: checking if gcc PIC flag -fPIC -DPIC works
configure:7693: gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5
configure:7697: $? = 0
configure:7710: result: yes
configure:7739: checking if gcc static flag -static works
configure:7767: result: yes
configure:7782: checking if gcc supports -c -o file.o
configure:7803: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5
configure:7807: $? = 0
configure:7829: result: yes
configure:7837: checking if gcc supports -c -o file.o
configure:7884: result: yes
configure:7917: checking whether the gcc linker (/usr/bin/ld) supports shared libraries
configure:9070: result: yes
configure:9107: checking whether -lc should be explicitly linked in
configure:9115: gcc -c -g -O2 conftest.c >&5
configure:9118: $? = 0
configure:9133: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/bin/grep -lc \>/dev/null 2\>\&1
configure:9136: $? = 0
configure:9150: result: no
configure:9310: checking dynamic linker characteristics
configure:10043: result: freebsd9.2 ld.so
configure:10150: checking how to hardcode library paths into programs
configure:10175: result: immediate
configure:10715: checking whether stripping libraries is possible
configure:10720: result: yes
configure:10755: checking if libtool supports shared libraries
configure:10757: result: yes
configure:10760: checking whether to build shared libraries
configure:10781: result: yes
configure:10784: checking whether to build static libraries
configure:10788: result: yes
configure:10841: checking for a BSD-compatible install
configure:10909: result: /usr/bin/install -c
configure:10920: checking whether build environment is sane
configure:10975: result: yes
configure:11123: checking for a thread-safe mkdir -p
configure:11162: result: ./install-sh -c -d
configure:11165: checking whether make sets $(MAKE)
configure:11187: result: yes
configure:11217: checking for style of include used by make
configure:11245: result: GNU
configure:11279: checking whether make supports nested variables
configure:11296: result: yes
configure:11381: checking dependency style of gcc
configure:11492: result: gcc3
configure:11551: checking for gcc option to accept ISO C99
configure:11700: gcc -c -g -O2 conftest.c >&5
conftest.c:73: error: expected ';', ',' or ')' before 'text'
conftest.c: In function 'main':
conftest.c:127: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'newvar'
conftest.c:127: error: 'newvar' undeclared (first use in this function)
conftest.c:127: error: (Each undeclared identifier is reported only once
conftest.c:127: error: for each function it appears in.)
conftest.c:137: error: 'for' loop initial declaration used outside C99 mode
configure:11700: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libmaxminddb"
| #define PACKAGE_TARNAME "libmaxminddb"
| #define PACKAGE_VERSION "0.5.5"
| #define PACKAGE_STRING "libmaxminddb 0.5.5"
| #define PACKAGE_BUGREPORT "support@maxmind.com"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define PACKAGE "libmaxminddb"
| #define VERSION "0.5.5"
| /* end confdefs.h. */
| #include <stdarg.h>
| #include <stdbool.h>
| #include <stdlib.h>
| #include <wchar.h>
| #include <stdio.h>
|
| // Check varargs macros. These examples are taken from C99 6.10.3.5.
| #define debug(...) fprintf (stderr, __VA_ARGS__)
| #define showlist(...) puts (#__VA_ARGS__)
| #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
| static void
| test_varargs_macros (void)
| {
| int x = 1234;
| int y = 5678;
| debug ("Flag");
| debug ("X = %d\n", x);
| showlist (The first, second, and third items.);
| report (x>y, "x is %d but y is %d", x, y);
| }
|
| // Check long long types.
| #define BIG64 18446744073709551615ull
| #define BIG32 4294967295ul
| #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
| #if !BIG_OK
| your preprocessor is broken;
| #endif
| #if BIG_OK
| #else
| your preprocessor is broken;
| #endif
| static long long int bignum = -9223372036854775807LL;
| static unsigned long long int ubignum = BIG64;
|
| struct incomplete_array
| {
| int datasize;
| double data[];
| };
|
| struct named_init {
| int number;
| const wchar_t *name;
| double average;
| };
|
| typedef const char *ccp;
|
| static inline int
| test_restrict (ccp restrict text)
| {
| // See if C++-style comments work.
| // Iterate through items via the restricted pointer.
| // Also check for declarations in for loops.
| for (unsigned int i = 0; *(text+i) != '\0'; ++i)
| continue;
| return 0;
| }
|
| // Check varargs and va_copy.
| static void
| test_varargs (const char *format, ...)
| {
| va_list args;
| va_start (args, format);
| va_list args_copy;
| va_copy (args_copy, args);
|
| const char *str;
| int number;
| float fnumber;
|
| while (*format)
| {
| switch (*format++)
| {
| case 's': // string
| str = va_arg (args_copy, const char *);
| break;
| case 'd': // int
| number = va_arg (args_copy, int);
| break;
| case 'f': // float
| fnumber = va_arg (args_copy, double);
| break;
| default:
| break;
| }
| }
| va_end (args_copy);
| va_end (args);
| }
|
| int
| main ()
| {
|
| // Check bool.
| _Bool success = false;
|
| // Check restrict.
| if (test_restrict ("String literal") == 0)
| success = true;
| char *restrict newvar = "Another string";
|
| // Check varargs.
| test_varargs ("s, d' f .", "string", 65, 34.234);
| test_varargs_macros ();
|
| // Check flexible array members.
| struct incomplete_array *ia =
| malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
| ia->datasize = 10;
| for (int i = 0; i < ia->datasize; ++i)
| ia->data[i] = i * 1.234;
|
| // Check named initializers.
| struct named_init ni = {
| .number = 34,
| .name = L"Test wide string",
| .average = 543.34343,
| };
|
| ni.number = 58;
|
| int dynamic_array[ni.number];
| dynamic_array[ni.number - 1] = 543;
|
| // work around unused variable warnings
| return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
| || dynamic_array[ni.number - 1] != 543);
|
| ;
| return 0;
| }
configure:11700: gcc -std=gnu99 -c -g -O2 conftest.c >&5
configure:11700: $? = 0
configure:11720: result: -std=gnu99
configure:11743: checking whether compiler accepts "-fms-extensions"
configure:11752: result: yes
configure:11770: checking for C/C++ restrict keyword
configure:11795: gcc -std=c99 -c -g -fms-extensions conftest.c >&5
configure:11795: $? = 0
configure:11803: result: __restrict
configure:11820: checking arpa/inet.h usability
configure:11820: gcc -std=c99 -c -g -fms-extensions conftest.c >&5
configure:11820: $? = 0
configure:11820: result: yes
configure:11820: checking arpa/inet.h presence
configure:11820: gcc -E conftest.c
configure:11820: $? = 0
configure:11820: result: yes
configure:11820: checking for arpa/inet.h
configure:11820: result: yes
configure:11820: checking assert.h usability
configure:11820: gcc -std=c99 -c -g -fms-extensions conftest.c >&5
configure:11820: $? = 0
configure:11820: result: yes
configure:11820: checking assert.h presence
configure:11820: gcc -E conftest.c
configure:11820: $? = 0
configure:11820: result: yes
configure:11820: checking for assert.h
configure:11820: result: yes
configure:11820: checking fcntl.h usability
configure:11820: gcc -std=c99 -c -g -fms-extensions conftest.c >&5
configure:11820: $? = 0
configure:11820: result: yes
configure:11820: checking fcntl.h presence
configure:11820: gcc -E conftest.c
configure:11820: $? = 0
configure:11820: result: yes
configure:11820: checking for fcntl.h
configure:11820: result: yes
configure:11820: checking for inttypes.h
configure:11820: result: yes
configure:11820: checking libgen.h usability
configure:11820: gcc -std=c99 -c -g -fms-extensions conftest.c >&5
configure:11820: $? = 0
configure:11820: result: yes
configure:11820: checking libgen.h presence
configure:11820: gcc -E conftest.c
configure:11820: $? = 0
configure:11820: result: yes
configure:11820: checking for libgen.h
configure:11820: result: yes
configure:11820: checking math.h usability
configure:11820: gcc -std=c99 -c -g -fms-extensions conftest.c >&5
configure:11820: $? = 0
configure:11820: result: yes
configure:11820: checking math.h presence
configure:11820: gcc -E conftest.c
configure:11820: $? = 0
configure:11820: result: yes
configure:11820: checking for math.h
configure:11820: result: yes
configure:11820: checking netdb.h usability
configure:11820: gcc -std=c99 -c -g -fms-extensions conftest.c >&5
configure:11820: $? = 0
configure:11820: result: yes
configure:11820: checking netdb.h presence
configure:11820: gcc -E conftest.c
configure:11820: $? = 0
configure:11820: result: yes
configure:11820: checking for netdb.h
configure:11820: result: yes
configure:11820: checking netinet/in.h usability
configure:11820: gcc -std=c99 -c -g -fms-extensions conftest.c >&5
configure:11820: $? = 0
configure:11820: result: yes
configure:11820: checking netinet/in.h presence
configure:11820: gcc -E conftest.c
configure:11820: $? = 0
configure:11820: result: yes
configure:11820: checking for netinet/in.h
configure:11820: result: yes
configure:11820: checking stdarg.h usability
configure:11820: gcc -std=c99 -c -g -fms-extensions conftest.c >&5
configure:11820: $? = 0
configure:11820: result: yes
configure:11820: checking stdarg.h presence
configure:11820: gcc -E conftest.c
configure:11820: $? = 0
configure:11820: result: yes
configure:11820: checking for stdarg.h
configure:11820: result: yes
configure:11820: checking stdbool.h usability
configure:11820: gcc -std=c99 -c -g -fms-extensions conftest.c >&5
configure:11820: $? = 0
configure:11820: result: yes
configure:11820: checking stdbool.h presence
configure:11820: gcc -E conftest.c
configure:11820: $? = 0
configure:11820: result: yes
configure:11820: checking for stdbool.h
configure:11820: result: yes
configure:11820: checking for stdint.h
configure:11820: result: yes
configure:11820: checking stdio.h usability
configure:11820: gcc -std=c99 -c -g -fms-extensions conftest.c >&5
configure:11820: $? = 0
configure:11820: result: yes
configure:11820: checking stdio.h presence
configure:11820: gcc -E conftest.c
configure:11820: $? = 0
configure:11820: result: yes
configure:11820: checking for stdio.h
configure:11820: result: yes
configure:11820: checking for stdlib.h
configure:11820: result: yes
configure:11820: checking for string.h
configure:11820: result: yes
configure:11820: checking sys/mman.h usability
configure:11820: gcc -std=c99 -c -g -fms-extensions conftest.c >&5
configure:11820: $? = 0
configure:11820: result: yes
configure:11820: checking sys/mman.h presence
configure:11820: gcc -E conftest.c
configure:11820: $? = 0
configure:11820: result: yes
configure:11820: checking for sys/mman.h
configure:11820: result: yes
configure:11820: checking sys/socket.h usability
configure:11820: gcc -std=c99 -c -g -fms-extensions conftest.c >&5
configure:11820: $? = 0
configure:11820: result: yes
configure:11820: checking sys/socket.h presence
configure:11820: gcc -E conftest.c
configure:11820: $? = 0
configure:11820: result: yes
configure:11820: checking for sys/socket.h
configure:11820: result: yes
configure:11820: checking for sys/stat.h
configure:11820: result: yes
configure:11820: checking sys/time.h usability
configure:11820: gcc -std=c99 -c -g -fms-extensions conftest.c >&5
configure:11820: $? = 0
configure:11820: result: yes
configure:11820: checking sys/time.h presence
configure:11820: gcc -E conftest.c
configure:11820: $? = 0
configure:11820: result: yes
configure:11820: checking for sys/time.h
configure:11820: result: yes
configure:11820: checking for sys/types.h
configure:11820: result: yes
configure:11820: checking for unistd.h
configure:11820: result: yes
configure:11840: checking for off_t
configure:11840: gcc -std=c99 -c -g -fms-extensions conftest.c >&5
configure:11840: $? = 0
configure:11840: gcc -std=c99 -c -g -fms-extensions conftest.c >&5
conftest.c: In function 'main':
conftest.c:80: error: expected expression before ')' token
configure:11840: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libmaxminddb"
| #define PACKAGE_TARNAME "libmaxminddb"
| #define PACKAGE_VERSION "0.5.5"
| #define PACKAGE_STRING "libmaxminddb 0.5.5"
| #define PACKAGE_BUGREPORT "support@maxmind.com"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define PACKAGE "libmaxminddb"
| #define VERSION "0.5.5"
| #define restrict __restrict
| #define HAVE_ARPA_INET_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_LIBGEN_H 1
| #define HAVE_MATH_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((off_t)))
| return 0;
| ;
| return 0;
| }
configure:11840: result: yes
configure:11851: checking for size_t
configure:11851: gcc -std=c99 -c -g -fms-extensions conftest.c >&5
configure:11851: $? = 0
configure:11851: gcc -std=c99 -c -g -fms-extensions conftest.c >&5
conftest.c: In function 'main':
conftest.c:80: error: expected expression before ')' token
configure:11851: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libmaxminddb"
| #define PACKAGE_TARNAME "libmaxminddb"
| #define PACKAGE_VERSION "0.5.5"
| #define PACKAGE_STRING "libmaxminddb 0.5.5"
| #define PACKAGE_BUGREPORT "support@maxmind.com"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define PACKAGE "libmaxminddb"
| #define VERSION "0.5.5"
| #define restrict __restrict
| #define HAVE_ARPA_INET_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_LIBGEN_H 1
| #define HAVE_MATH_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((size_t)))
| return 0;
| ;
| return 0;
| }
configure:11851: result: yes
configure:11862: checking for ssize_t
configure:11862: gcc -std=c99 -c -g -fms-extensions conftest.c >&5
configure:11862: $? = 0
configure:11862: gcc -std=c99 -c -g -fms-extensions conftest.c >&5
conftest.c: In function 'main':
conftest.c:80: error: expected expression before ')' token
configure:11862: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libmaxminddb"
| #define PACKAGE_TARNAME "libmaxminddb"
| #define PACKAGE_VERSION "0.5.5"
| #define PACKAGE_STRING "libmaxminddb 0.5.5"
| #define PACKAGE_BUGREPORT "support@maxmind.com"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define PACKAGE "libmaxminddb"
| #define VERSION "0.5.5"
| #define restrict __restrict
| #define HAVE_ARPA_INET_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_LIBGEN_H 1
| #define HAVE_MATH_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((ssize_t)))
| return 0;
| ;
| return 0;
| }
configure:11862: result: yes
configure:11873: checking for uint8_t
configure:11873: gcc -std=c99 -c -g -fms-extensions conftest.c >&5
configure:11873: $? = 0
configure:11873: result: yes
configure:11887: checking for uint32_t
configure:11887: gcc -std=c99 -c -g -fms-extensions conftest.c >&5
configure:11887: $? = 0
configure:11887: result: yes
configure:11901: checking for uint64_t
configure:11901: gcc -std=c99 -c -g -fms-extensions conftest.c >&5
configure:11901: $? = 0
configure:11901: result: yes
configure:11924: checking for unsigned __int128
configure:11924: gcc -std=c99 -c -g -fms-extensions conftest.c >&5
conftest.c: In function 'main':
conftest.c:80: error: expected ')' before '__int128'
configure:11924: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libmaxminddb"
| #define PACKAGE_TARNAME "libmaxminddb"
| #define PACKAGE_VERSION "0.5.5"
| #define PACKAGE_STRING "libmaxminddb 0.5.5"
| #define PACKAGE_BUGREPORT "support@maxmind.com"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define PACKAGE "libmaxminddb"
| #define VERSION "0.5.5"
| #define restrict __restrict
| #define HAVE_ARPA_INET_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_LIBGEN_H 1
| #define HAVE_MATH_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof (unsigned __int128))
| return 0;
| ;
| return 0;
| }
configure:11924: result: no
configure:11931: checking for unsigned int __attribute__((mode(TI)))
configure:11931: gcc -std=c99 -c -g -fms-extensions conftest.c >&5
configure:11931: $? = 0
configure:11931: gcc -std=c99 -c -g -fms-extensions conftest.c >&5
conftest.c: In function 'main':
conftest.c:80: error: expected expression before ')' token
configure:11931: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libmaxminddb"
| #define PACKAGE_TARNAME "libmaxminddb"
| #define PACKAGE_VERSION "0.5.5"
| #define PACKAGE_STRING "libmaxminddb 0.5.5"
| #define PACKAGE_BUGREPORT "support@maxmind.com"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define PACKAGE "libmaxminddb"
| #define VERSION "0.5.5"
| #define restrict __restrict
| #define HAVE_ARPA_INET_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_LIBGEN_H 1
| #define HAVE_MATH_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((unsigned int __attribute__((mode(TI))))))
| return 0;
| ;
| return 0;
| }
configure:11931: result: yes
configure:11948: checking for boolean
configure:11948: gcc -std=c99 -c -g -fms-extensions conftest.c >&5
conftest.c: In function 'main':
conftest.c:82: error: 'boolean' undeclared (first use in this function)
conftest.c:82: error: (Each undeclared identifier is reported only once
conftest.c:82: error: for each function it appears in.)
configure:11948: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libmaxminddb"
| #define PACKAGE_TARNAME "libmaxminddb"
| #define PACKAGE_VERSION "0.5.5"
| #define PACKAGE_STRING "libmaxminddb 0.5.5"
| #define PACKAGE_BUGREPORT "support@maxmind.com"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define PACKAGE "libmaxminddb"
| #define VERSION "0.5.5"
| #define restrict __restrict
| #define HAVE_ARPA_INET_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_LIBGEN_H 1
| #define HAVE_MATH_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define MMDB_UINT128_IS_BYTE_ARRAY 0
| #define MMDB_UINT128_USING_MODE 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof (boolean))
| return 0;
| ;
| return 0;
| }
configure:11948: result: no
configure:11959: checking for open_memstream
configure:11959: gcc -std=c99 -o conftest -g -fms-extensions conftest.c >&5
configure:11959: $? = 0
configure:11959: result: yes
configure:11969: checking for stdlib.h
configure:11969: result: yes
configure:11979: checking for GNU libc compatible malloc
configure:12003: gcc -std=c99 -o conftest -g -fms-extensions conftest.c >&5
configure:12003: $? = 0
configure:12003: ./conftest
configure:12003: $? = 0
configure:12013: result: yes
configure:12040: checking for stdlib.h
configure:12040: result: yes
configure:12040: checking for unistd.h
configure:12040: result: yes
configure:12040: checking for sys/param.h
configure:12040: gcc -std=c99 -c -g -fms-extensions conftest.c >&5
configure:12040: $? = 0
configure:12040: result: yes
configure:12060: checking for getpagesize
configure:12060: gcc -std=c99 -o conftest -g -fms-extensions conftest.c >&5
configure:12060: $? = 0
configure:12060: result: yes
configure:12069: checking for working mmap
configure:12216: gcc -std=c99 -o conftest -g -fms-extensions conftest.c >&5
configure:12216: $? = 0
configure:12216: ./conftest
configure:12216: $? = 0
configure:12226: result: yes
configure:12236: checking for library containing fabs
configure:12267: gcc -std=c99 -o conftest -g -fms-extensions conftest.c >&5
conftest.c:61: warning: conflicting types for built-in function 'fabs'
configure:12267: $? = 0
configure:12284: result: none required
configure:12292: checking for library containing fabsf
configure:12323: gcc -std=c99 -o conftest -g -fms-extensions conftest.c >&5
conftest.c:61: warning: conflicting types for built-in function 'fabsf'
/tmp//ccDdftNm.o: In function `main':
/home/3dev/data/geoip/libmaxminddb/conftest.c:65: undefined reference to `fabsf'
configure:12323: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libmaxminddb"
| #define PACKAGE_TARNAME "libmaxminddb"
| #define PACKAGE_VERSION "0.5.5"
| #define PACKAGE_STRING "libmaxminddb 0.5.5"
| #define PACKAGE_BUGREPORT "support@maxmind.com"
| #define PACKAGE_URL ""
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define PACKAGE "libmaxminddb"
| #define VERSION "0.5.5"
| #define restrict __restrict
| #define HAVE_ARPA_INET_H 1
| #define HAVE_ASSERT_H 1
| #define HAVE_FCNTL_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_LIBGEN_H 1
| #define HAVE_MATH_H 1
| #define HAVE_NETDB_H 1
| #define HAVE_NETINET_IN_H 1
| #define HAVE_STDARG_H 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_SYS_MMAN_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TIME_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define MMDB_UINT128_IS_BYTE_ARRAY 0
| #define MMDB_UINT128_USING_MODE 1
| #define HAVE_OPEN_MEMSTREAM 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char fabsf ();
| int
| main ()
| {
| return fabsf ();
| ;
| return 0;
| }
configure:12323: gcc -std=c99 -o conftest -g -fms-extensions conftest.c -lm >&5
conftest.c:61: warning: conflicting types for built-in function 'fabsf'
configure:12323: $? = 0
configure:12340: result: -lm
configure:12480: checking that generated files are newer than configure
configure:12486: result: done
configure:12513: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by libmaxminddb config.status 0.5.5, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on zohei.com
config.status:1114: creating Makefile
config.status:1114: creating src/Makefile
config.status:1114: creating bin/Makefile
config.status:1114: creating t/Makefile
config.status:1114: creating config.h
config.status:1295: config.h is unchanged
config.status:1114: creating include/maxminddb_config.h
config.status:1295: include/maxminddb_config.h is unchanged
config.status:1343: executing libtool commands
config.status:1343: executing depfiles commands
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=amd64-unknown-freebsd9.2
ac_cv_c_compiler_gnu=yes
ac_cv_c_restrict=__restrict
ac_cv_c_uint32_t=yes
ac_cv_c_uint64_t=yes
ac_cv_c_uint8_t=yes
ac_cv_env_CC_set=''
ac_cv_env_CC_value=''
ac_cv_env_CFLAGS_set=''
ac_cv_env_CFLAGS_value=''
ac_cv_env_CPPFLAGS_set=''
ac_cv_env_CPPFLAGS_value=''
ac_cv_env_CPP_set=''
ac_cv_env_CPP_value=''
ac_cv_env_LDFLAGS_set=''
ac_cv_env_LDFLAGS_value=''
ac_cv_env_LIBS_set=''
ac_cv_env_LIBS_value=''
ac_cv_env_build_alias_set=''
ac_cv_env_build_alias_value=''
ac_cv_env_host_alias_set=''
ac_cv_env_host_alias_value=''
ac_cv_env_target_alias_set=''
ac_cv_env_target_alias_value=''
ac_cv_func_getpagesize=yes
ac_cv_func_malloc_0_nonnull=yes
ac_cv_func_mmap_fixed_mapped=yes
ac_cv_func_open_memstream=yes
ac_cv_header_arpa_inet_h=yes
ac_cv_header_assert_h=yes
ac_cv_header_dlfcn_h=yes
ac_cv_header_fcntl_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_libgen_h=yes
ac_cv_header_math_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_netdb_h=yes
ac_cv_header_netinet_in_h=yes
ac_cv_header_stdarg_h=yes
ac_cv_header_stdbool_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdio_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_mman_h=yes
ac_cv_header_sys_param_h=yes
ac_cv_header_sys_socket_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_time_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=amd64-unknown-freebsd9.2
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_FGREP='/usr/bin/grep -F'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=nawk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_MANIFEST_TOOL=mt
ac_cv_prog_ac_ct_OBJDUMP=objdump
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=''
ac_cv_prog_cc_c99=-std=gnu99
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_search_fabs='none required'
ac_cv_search_fabsf=-lm
ac_cv_type_boolean=no
ac_cv_type_off_t=yes
ac_cv_type_size_t=yes
ac_cv_type_ssize_t=yes
ac_cv_type_unsigned___int128=no
ac_cv_type_unsigned_int___attribute____mode_TI___=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
am_cv_prog_cc_c_o=yes
lt_cv_ar_at_file=no
lt_cv_archive_cmds_need_lc=no
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=''
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/bin/ld
lt_cv_path_NM='/usr/bin/nm -B'
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_pic='-fPIC -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=yes
lt_cv_prog_gnu_ld=yes
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\'
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\'
lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\'
lt_cv_sys_max_cmd_len=196608
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/3dev/data/geoip/libmaxminddb/missing aclocal-1.14'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AR='ar'
AUTOCONF='${SHELL} /home/3dev/data/geoip/libmaxminddb/missing autoconf'
AUTOHEADER='${SHELL} /home/3dev/data/geoip/libmaxminddb/missing autoheader'
AUTOMAKE='${SHELL} /home/3dev/data/geoip/libmaxminddb/missing automake-1.14'
AWK='nawk'
CC='gcc -std=c99'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -fms-extensions'
CPP='gcc -E'
CPPFLAGS=''
CYGPATH_W='echo'
DEBUG_FALSE=''
DEBUG_TRUE='#'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
DLLTOOL='false'
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/usr/bin/grep -E'
EXEEXT=''
FGREP='/usr/bin/grep -F'
GREP='/usr/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD='/usr/bin/ld'
LDFLAGS=''
LIBOBJS=''
LIBS='-lm '
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO=''
LN_S='ln -s'
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/3dev/data/geoip/libmaxminddb/missing makeinfo'
MANIFEST_TOOL=':'
MKDIR_P='./install-sh -c -d'
NM='/usr/bin/nm -B'
NMEDIT=''
OBJDUMP='objdump'
OBJEXT='o'
OTOOL64=''
OTOOL=''
PACKAGE='libmaxminddb'
PACKAGE_BUGREPORT='support@maxmind.com'
PACKAGE_NAME='libmaxminddb'
PACKAGE_STRING='libmaxminddb 0.5.5'
PACKAGE_TARNAME='libmaxminddb'
PACKAGE_URL=''
PACKAGE_VERSION='0.5.5'
PATH_SEPARATOR=':'
RANLIB='ranlib'
SED='/usr/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='strip'
VERSION='0.5.5'
ac_ct_AR='ar'
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='amd64-unknown-freebsd9.2'
build_alias=''
build_cpu='amd64'
build_os='freebsd9.2'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='amd64-unknown-freebsd9.2'
host_alias=''
host_cpu='amd64'
host_os='freebsd9.2'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/3dev/data/geoip/libmaxminddb/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "libmaxminddb"
#define PACKAGE_TARNAME "libmaxminddb"
#define PACKAGE_VERSION "0.5.5"
#define PACKAGE_STRING "libmaxminddb 0.5.5"
#define PACKAGE_BUGREPORT "support@maxmind.com"
#define PACKAGE_URL ""
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define PACKAGE "libmaxminddb"
#define VERSION "0.5.5"
#define restrict __restrict
#define HAVE_ARPA_INET_H 1
#define HAVE_ASSERT_H 1
#define HAVE_FCNTL_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_MATH_H 1
#define HAVE_NETDB_H 1
#define HAVE_NETINET_IN_H 1
#define HAVE_STDARG_H 1
#define HAVE_STDBOOL_H 1
#define HAVE_STDINT_H 1
#define HAVE_STDIO_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_SOCKET_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TIME_H 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_UNISTD_H 1
#define MMDB_UINT128_IS_BYTE_ARRAY 0
#define MMDB_UINT128_USING_MODE 1
#define HAVE_OPEN_MEMSTREAM 1
#define HAVE_STDLIB_H 1
#define HAVE_MALLOC 1
#define HAVE_STDLIB_H 1
#define HAVE_UNISTD_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_GETPAGESIZE 1
#define HAVE_MMAP 1
configure: exit 0
I think, issue may be closed. Thanks)
Are the make check
tests still failing for you?
Yes.
====================================
5 of 15 tests failed
Please report to support@maxmind.com
====================================
*** [check-TESTS] Error code 1
Stop in /usr/home/3dev/data/geoip/libmaxminddb/t.
*** [check-am] Error code 1
Stop in /usr/home/3dev/data/geoip/libmaxminddb/t.
*** [check-recursive] Error code 1
Stop in /usr/home/3dev/data/geoip/libmaxminddb.
Thanks. I confirmed the test failures locally on a FreeBSD 9.2 VM image. I'll leave the issue open for now.
The test failures should be fixed by #32
Hi! Sorry for my english. I try to install libmaxminddb on freebsd 9.2
make check
Thanks