Skip to content

Instantly share code, notes, and snippets.

@tpoechtrager
Created December 29, 2014 17:31
Show Gist options
  • Save tpoechtrager/c6173e5e9904e87f7abc to your computer and use it in GitHub Desktop.
Save tpoechtrager/c6173e5e9904e87f7abc to your computer and use it in GitHub Desktop.
$ ./configure --enable-static --disable-shared --host=i686-w64-mingw32
checking for i686-w64-mingw32-gcc... i686-w64-mingw32-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-w64-mingw32-gcc accepts -g... yes
checking for i686-w64-mingw32-gcc option to accept ISO C89... none needed
checking whether i686-w64-mingw32-gcc understands -c and -o together... yes
checking how to run the C preprocessor... i686-w64-mingw32-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/bin/bash: /home/thomas/missing: No such file or directory
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of i686-w64-mingw32-gcc... gcc3
checking for i686-w64-mingw32-gcc... (cached) i686-w64-mingw32-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether i686-w64-mingw32-gcc accepts -g... (cached) yes
checking for i686-w64-mingw32-gcc option to accept ISO C89... (cached) none needed
checking whether i686-w64-mingw32-gcc understands -c and -o together... (cached) yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... i686-w64-mingw32
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by i686-w64-mingw32-gcc... /usr/bin/i686-w64-mingw32-ld
checking if the linker (/usr/bin/i686-w64-mingw32-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /opt/compiler/llvm-3.5/bin/i686-w64-mingw32-nm -B
checking the name lister (/opt/compiler/llvm-3.5/bin/i686-w64-mingw32-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to i686-w64-mingw32 format... func_convert_file_nix_to_w32
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/i686-w64-mingw32-ld option to reload object files... -r
checking for i686-w64-mingw32-objdump... i686-w64-mingw32-objdump
checking how to recognize dependent libraries... file_magic ^x86 archive import|^x86 DLL
checking for i686-w64-mingw32-dlltool... i686-w64-mingw32-dlltool
checking how to associate runtime and link libraries... func_cygming_dll_for_implib
checking for i686-w64-mingw32-ar... i686-w64-mingw32-ar
checking for archiver @FILE support... @
checking for i686-w64-mingw32-strip... i686-w64-mingw32-strip
checking for i686-w64-mingw32-ranlib... i686-w64-mingw32-ranlib
checking command to parse /opt/compiler/llvm-3.5/bin/i686-w64-mingw32-nm -B output from i686-w64-mingw32-gcc object... ok
checking for sysroot... no
checking for i686-w64-mingw32-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... no
checking for objdir... .libs
checking if i686-w64-mingw32-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-w64-mingw32-gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if i686-w64-mingw32-gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if i686-w64-mingw32-gcc static flag -static works... yes
checking if i686-w64-mingw32-gcc supports -c -o file.o... yes
checking if i686-w64-mingw32-gcc supports -c -o file.o... (cached) yes
checking whether the i686-w64-mingw32-gcc linker (/usr/bin/i686-w64-mingw32-ld) supports shared libraries... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for byte... no
checking for ushort... no
checking for ulong... no
checking for u16... no
checking for u32... no
checking for off_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking whether byte ordering is bigendian... no
checking for getopt... yes
checking for gettimeofday... yes
checking for pread... no
checking for vasprintf... yes
checking for vsnprintf... yes
checking for vsprintf... yes
checking for gethostbyname... no
checking for gethostbyname in -lnsl... no
checking for gethostbyname_r... no
checking for memset... yes
checking for memchr... yes
checking for munmap... no
checking for strrchr... yes
checking for socket... no
checking for strchr... yes
checking for strdup... yes
checking for strstr... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... no
checking that generated files are newer than configure... done
configure: creating ./config.status
mconfig.status: creating Makefile
config.status: creating GeoIP.spec
config.status: creating geoip.pc
config.status: creating libGeoIP/Makefile
config.status: creating apps/Makefile
config.status: creating man/Makefile
aconfig.status: creating test/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
kethomas@thomas-pc:~/tmp/test/geoip-api-c$ make
Making all in libGeoIP
make[1]: Entering directory '/data/tmp/test/geoip-api-c/libGeoIP'
/bin/bash ../libtool --tag=CC --mode=compile i686-w64-mingw32-gcc -DPACKAGE_NAME=\"GeoIP\" -DPACKAGE_TARNAME=\"GeoIP\" -DPACKAGE_VERSION=\"1.6.3\" -DPACKAGE_STRING=\"GeoIP\ 1.6.3\" -DPACKAGE_BUGREPORT=\"support@maxmind.com\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"GeoIP\" -DVERSION=\"1.6.3\" -DLT_OBJDIR=\".libs/\" -DLITTLE_ENDIAN_HOST=1 -DHAVE_GETOPT=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_VASPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_MEMSET=1 -DHAVE_MEMCHR=1 -DHAVE_STRRCHR=1 -DHAVE_STRCHR=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -I. -DGEOIPDATADIR=\"/usr/local/share/GeoIP\" -Wall -g -O2 -MT GeoIP.lo -MD -MP -MF .deps/GeoIP.Tpo -c -o GeoIP.lo GeoIP.c
libtool: compile: i686-w64-mingw32-gcc -DPACKAGE_NAME=\"GeoIP\" -DPACKAGE_TARNAME=\"GeoIP\" -DPACKAGE_VERSION=\"1.6.3\" "-DPACKAGE_STRING=\"GeoIP 1.6.3\"" -DPACKAGE_BUGREPORT=\"support@maxmind.com\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"GeoIP\" -DVERSION=\"1.6.3\" -DLT_OBJDIR=\".libs/\" -DLITTLE_ENDIAN_HOST=1 -DHAVE_GETOPT=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_VASPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_MEMSET=1 -DHAVE_MEMCHR=1 -DHAVE_STRRCHR=1 -DHAVE_STRCHR=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -I. -DGEOIPDATADIR=\"/usr/local/share/GeoIP\" -Wall -g -O2 -MT GeoIP.lo -MD -MP -MF .deps/GeoIP.Tpo -c GeoIP.c -o GeoIP.o
GeoIP.c:92:12: warning: 'GeoIP_country_code' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
const char GeoIP_country_code[256][3] =
^
GeoIP.c:148:12: warning: 'GeoIP_country_code3' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
const char GeoIP_country_code3[256][4] =
^
GeoIP.c:202:14: warning: 'GeoIP_utf8_country_name' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
const char * GeoIP_utf8_country_name[256] =
^
GeoIP.c:364:14: warning: 'GeoIP_country_name' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
const char * GeoIP_country_name[256] =
^
GeoIP.c:529:12: warning: 'GeoIP_country_continent' redeclared without dllimport attribute: previous dllimport ignored [-Wattributes]
const char GeoIP_country_continent[256][3] = {
^
GeoIP.c:669:14: warning: 'GeoIPDBDescription' redeclared without dllimport attribute after being referenced with dll linkage
const char * GeoIPDBDescription[NUM_DB_TYPES] = {
^
mv -f .deps/GeoIP.Tpo .deps/GeoIP.Plo
/bin/bash ../libtool --tag=CC --mode=compile i686-w64-mingw32-gcc -DPACKAGE_NAME=\"GeoIP\" -DPACKAGE_TARNAME=\"GeoIP\" -DPACKAGE_VERSION=\"1.6.3\" -DPACKAGE_STRING=\"GeoIP\ 1.6.3\" -DPACKAGE_BUGREPORT=\"support@maxmind.com\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"GeoIP\" -DVERSION=\"1.6.3\" -DLT_OBJDIR=\".libs/\" -DLITTLE_ENDIAN_HOST=1 -DHAVE_GETOPT=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_VASPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_MEMSET=1 -DHAVE_MEMCHR=1 -DHAVE_STRRCHR=1 -DHAVE_STRCHR=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -I. -DGEOIPDATADIR=\"/usr/local/share/GeoIP\" -Wall -g -O2 -MT GeoIP_deprecated.lo -MD -MP -MF .deps/GeoIP_deprecated.Tpo -c -o GeoIP_deprecated.lo GeoIP_deprecated.c
libtool: compile: i686-w64-mingw32-gcc -DPACKAGE_NAME=\"GeoIP\" -DPACKAGE_TARNAME=\"GeoIP\" -DPACKAGE_VERSION=\"1.6.3\" "-DPACKAGE_STRING=\"GeoIP 1.6.3\"" -DPACKAGE_BUGREPORT=\"support@maxmind.com\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"GeoIP\" -DVERSION=\"1.6.3\" -DLT_OBJDIR=\".libs/\" -DLITTLE_ENDIAN_HOST=1 -DHAVE_GETOPT=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_VASPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_MEMSET=1 -DHAVE_MEMCHR=1 -DHAVE_STRRCHR=1 -DHAVE_STRCHR=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -I. -DGEOIPDATADIR=\"/usr/local/share/GeoIP\" -Wall -g -O2 -MT GeoIP_deprecated.lo -MD -MP -MF .deps/GeoIP_deprecated.Tpo -c GeoIP_deprecated.c -o GeoIP_deprecated.o
mv -f .deps/GeoIP_deprecated.Tpo .deps/GeoIP_deprecated.Plo
/bin/bash ../libtool --tag=CC --mode=compile i686-w64-mingw32-gcc -DPACKAGE_NAME=\"GeoIP\" -DPACKAGE_TARNAME=\"GeoIP\" -DPACKAGE_VERSION=\"1.6.3\" -DPACKAGE_STRING=\"GeoIP\ 1.6.3\" -DPACKAGE_BUGREPORT=\"support@maxmind.com\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"GeoIP\" -DVERSION=\"1.6.3\" -DLT_OBJDIR=\".libs/\" -DLITTLE_ENDIAN_HOST=1 -DHAVE_GETOPT=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_VASPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_MEMSET=1 -DHAVE_MEMCHR=1 -DHAVE_STRRCHR=1 -DHAVE_STRCHR=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -I. -DGEOIPDATADIR=\"/usr/local/share/GeoIP\" -Wall -g -O2 -MT GeoIPCity.lo -MD -MP -MF .deps/GeoIPCity.Tpo -c -o GeoIPCity.lo GeoIPCity.c
libtool: compile: i686-w64-mingw32-gcc -DPACKAGE_NAME=\"GeoIP\" -DPACKAGE_TARNAME=\"GeoIP\" -DPACKAGE_VERSION=\"1.6.3\" "-DPACKAGE_STRING=\"GeoIP 1.6.3\"" -DPACKAGE_BUGREPORT=\"support@maxmind.com\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"GeoIP\" -DVERSION=\"1.6.3\" -DLT_OBJDIR=\".libs/\" -DLITTLE_ENDIAN_HOST=1 -DHAVE_GETOPT=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_VASPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_MEMSET=1 -DHAVE_MEMCHR=1 -DHAVE_STRRCHR=1 -DHAVE_STRCHR=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -I. -DGEOIPDATADIR=\"/usr/local/share/GeoIP\" -Wall -g -O2 -MT GeoIPCity.lo -MD -MP -MF .deps/GeoIPCity.Tpo -c GeoIPCity.c -o GeoIPCity.o
mv -f .deps/GeoIPCity.Tpo .deps/GeoIPCity.Plo
/bin/bash ../libtool --tag=CC --mode=compile i686-w64-mingw32-gcc -DPACKAGE_NAME=\"GeoIP\" -DPACKAGE_TARNAME=\"GeoIP\" -DPACKAGE_VERSION=\"1.6.3\" -DPACKAGE_STRING=\"GeoIP\ 1.6.3\" -DPACKAGE_BUGREPORT=\"support@maxmind.com\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"GeoIP\" -DVERSION=\"1.6.3\" -DLT_OBJDIR=\".libs/\" -DLITTLE_ENDIAN_HOST=1 -DHAVE_GETOPT=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_VASPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_MEMSET=1 -DHAVE_MEMCHR=1 -DHAVE_STRRCHR=1 -DHAVE_STRCHR=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -I. -DGEOIPDATADIR=\"/usr/local/share/GeoIP\" -Wall -g -O2 -MT regionName.lo -MD -MP -MF .deps/regionName.Tpo -c -o regionName.lo regionName.c
libtool: compile: i686-w64-mingw32-gcc -DPACKAGE_NAME=\"GeoIP\" -DPACKAGE_TARNAME=\"GeoIP\" -DPACKAGE_VERSION=\"1.6.3\" "-DPACKAGE_STRING=\"GeoIP 1.6.3\"" -DPACKAGE_BUGREPORT=\"support@maxmind.com\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"GeoIP\" -DVERSION=\"1.6.3\" -DLT_OBJDIR=\".libs/\" -DLITTLE_ENDIAN_HOST=1 -DHAVE_GETOPT=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_VASPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_MEMSET=1 -DHAVE_MEMCHR=1 -DHAVE_STRRCHR=1 -DHAVE_STRCHR=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -I. -DGEOIPDATADIR=\"/usr/local/share/GeoIP\" -Wall -g -O2 -MT regionName.lo -MD -MP -MF .deps/regionName.Tpo -c regionName.c -o regionName.o
mv -f .deps/regionName.Tpo .deps/regionName.Plo
/bin/bash ../libtool --tag=CC --mode=compile i686-w64-mingw32-gcc -DPACKAGE_NAME=\"GeoIP\" -DPACKAGE_TARNAME=\"GeoIP\" -DPACKAGE_VERSION=\"1.6.3\" -DPACKAGE_STRING=\"GeoIP\ 1.6.3\" -DPACKAGE_BUGREPORT=\"support@maxmind.com\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"GeoIP\" -DVERSION=\"1.6.3\" -DLT_OBJDIR=\".libs/\" -DLITTLE_ENDIAN_HOST=1 -DHAVE_GETOPT=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_VASPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_MEMSET=1 -DHAVE_MEMCHR=1 -DHAVE_STRRCHR=1 -DHAVE_STRCHR=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -I. -DGEOIPDATADIR=\"/usr/local/share/GeoIP\" -Wall -g -O2 -MT timeZone.lo -MD -MP -MF .deps/timeZone.Tpo -c -o timeZone.lo timeZone.c
libtool: compile: i686-w64-mingw32-gcc -DPACKAGE_NAME=\"GeoIP\" -DPACKAGE_TARNAME=\"GeoIP\" -DPACKAGE_VERSION=\"1.6.3\" "-DPACKAGE_STRING=\"GeoIP 1.6.3\"" -DPACKAGE_BUGREPORT=\"support@maxmind.com\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"GeoIP\" -DVERSION=\"1.6.3\" -DLT_OBJDIR=\".libs/\" -DLITTLE_ENDIAN_HOST=1 -DHAVE_GETOPT=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_VASPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_MEMSET=1 -DHAVE_MEMCHR=1 -DHAVE_STRRCHR=1 -DHAVE_STRCHR=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -I. -DGEOIPDATADIR=\"/usr/local/share/GeoIP\" -Wall -g -O2 -MT timeZone.lo -MD -MP -MF .deps/timeZone.Tpo -c timeZone.c -o timeZone.o
mv -f .deps/timeZone.Tpo .deps/timeZone.Plo
/bin/bash ../libtool --tag=CC --mode=link i686-w64-mingw32-gcc -g -O2 -no-undefined -version-info 7:3:6 -o libGeoIP.la -rpath /usr/local/lib GeoIP.lo GeoIP_deprecated.lo GeoIPCity.lo regionName.lo timeZone.lo
libtool: link: i686-w64-mingw32-ar cru .libs/libGeoIP.a GeoIP.o GeoIP_deprecated.o GeoIPCity.o regionName.o timeZone.o
libtool: link: i686-w64-mingw32-ranlib .libs/libGeoIP.a
libtool: link: ( cd ".libs" && rm -f "libGeoIP.la" && ln -s "../libGeoIP.la" "libGeoIP.la" )
make[1]: Leaving directory '/data/tmp/test/geoip-api-c/libGeoIP'
Making all in apps
make[1]: Entering directory '/data/tmp/test/geoip-api-c/apps'
i686-w64-mingw32-gcc -DPACKAGE_NAME=\"GeoIP\" -DPACKAGE_TARNAME=\"GeoIP\" -DPACKAGE_VERSION=\"1.6.3\" -DPACKAGE_STRING=\"GeoIP\ 1.6.3\" -DPACKAGE_BUGREPORT=\"support@maxmind.com\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DPACKAGE=\"GeoIP\" -DVERSION=\"1.6.3\" -DLT_OBJDIR=\".libs/\" -DLITTLE_ENDIAN_HOST=1 -DHAVE_GETOPT=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_VASPRINTF=1 -DHAVE_VSNPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_MEMSET=1 -DHAVE_MEMCHR=1 -DHAVE_STRRCHR=1 -DHAVE_STRCHR=1 -DHAVE_STRDUP=1 -DHAVE_STRSTR=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_REALLOC=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -I. -I../libGeoIP -DSYSCONFDIR=\"/usr/local/etc\" -Wall -g -O2 -MT geoiplookup.o -MD -MP -MF .deps/geoiplookup.Tpo -c -o geoiplookup.o geoiplookup.c
mv -f .deps/geoiplookup.Tpo .deps/geoiplookup.Po
/bin/bash ../libtool --tag=CC --mode=link i686-w64-mingw32-gcc -g -O2 -o geoiplookup.exe geoiplookup.o ../libGeoIP/libGeoIP.la
libtool: link: i686-w64-mingw32-gcc -g -O2 -o geoiplookup.exe geoiplookup.o ../libGeoIP/.libs/libGeoIP.a
geoiplookup.o: In function `geoiplookup':
/home/thomas/tmp/test/geoip-api-c/apps/geoiplookup.c:291: undefined reference to `_imp__GeoIPDBDescription'
/home/thomas/tmp/test/geoip-api-c/apps/geoiplookup.c:264: undefined reference to `_imp__GeoIPDBDescription'
/home/thomas/tmp/test/geoip-api-c/apps/geoiplookup.c:274: undefined reference to `_imp__GeoIPDBDescription'
/home/thomas/tmp/test/geoip-api-c/apps/geoiplookup.c:310: undefined reference to `_imp__GeoIPDBDescription'
/home/thomas/tmp/test/geoip-api-c/apps/geoiplookup.c:310: undefined reference to `_imp__GeoIPDBDescription'
geoiplookup.o:/home/thomas/tmp/test/geoip-api-c/apps/geoiplookup.c:272: more undefined references to `_imp__GeoIPDBDescription' follow
geoiplookup.o: In function `geoiplookup':
/home/thomas/tmp/test/geoip-api-c/apps/geoiplookup.c:298: undefined reference to `_imp__GeoIP_country_name'
/home/thomas/tmp/test/geoip-api-c/apps/geoiplookup.c:300: undefined reference to `_imp__GeoIPDBDescription'
/home/thomas/tmp/test/geoip-api-c/apps/geoiplookup.c:325: undefined reference to `_imp__GeoIPDBDescription'
/home/thomas/tmp/test/geoip-api-c/apps/geoiplookup.c:340: undefined reference to `_imp__GeoIPDBDescription'
/home/thomas/tmp/test/geoip-api-c/apps/geoiplookup.c:302: undefined reference to `_imp__GeoIP_country_code'
/home/thomas/tmp/test/geoip-api-c/apps/geoiplookup.c:302: undefined reference to `_imp__GeoIPDBDescription'
/home/thomas/tmp/test/geoip-api-c/apps/geoiplookup.c:312: undefined reference to `_imp__GeoIPDBDescription'
/home/thomas/tmp/test/geoip-api-c/apps/geoiplookup.c:364: undefined reference to `_imp__GeoIPDBDescription'
/home/thomas/tmp/test/geoip-api-c/apps/geoiplookup.c:366: undefined reference to `_imp__GeoIPDBDescription'
/home/thomas/tmp/test/geoip-api-c/apps/geoiplookup.c:370: undefined reference to `_imp__GeoIPDBDescription'
geoiplookup.o:/home/thomas/tmp/test/geoip-api-c/apps/geoiplookup.c:368: more undefined references to `_imp__GeoIPDBDescription' follow
../libGeoIP/.libs/libGeoIP.a(GeoIP.o): In function `check_mtime':
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIP.c:1134: undefined reference to `pread'
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIP.c:1172: undefined reference to `pread'
../libGeoIP/.libs/libGeoIP.a(GeoIP.o): In function `GeoIP_inet_ntop':
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIP.c:590: undefined reference to `_imp__getnameinfo@28'
../libGeoIP/.libs/libGeoIP.a(GeoIP.o): In function `GeoIP_seek_record_v6_gl':
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIP.c:1209: undefined reference to `pread'
../libGeoIP/.libs/libGeoIP.a(GeoIP.o): In function `get_name_v6_gl':
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIP.c:2357: undefined reference to `pread'
../libGeoIP/.libs/libGeoIP.a(GeoIP.o): In function `get_db_description':
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIP.c:564: undefined reference to `_imp__GeoIPDBDescription'
../libGeoIP/.libs/libGeoIP.a(GeoIP.o): In function `GeoIP_inet_pton':
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIP.c:606: undefined reference to `_imp__getaddrinfo@16'
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIP.c:617: undefined reference to `_imp__freeaddrinfo@4'
../libGeoIP/.libs/libGeoIP.a(GeoIP.o): In function `GeoIP_seek_record_gl':
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIP.c:1299: undefined reference to `pread'
../libGeoIP/.libs/libGeoIP.a(GeoIP.o): In function `get_name_gl':
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIP.c:2298: undefined reference to `pread'
../libGeoIP/.libs/libGeoIP.a(GeoIP.o): In function `get_db_description':
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIP.c:564: undefined reference to `_imp__GeoIPDBDescription'
../libGeoIP/.libs/libGeoIP.a(GeoIP.o): In function `GeoIP_open':
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIP.c:1547: undefined reference to `pread'
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIP.c:1494: undefined reference to `pread'
../libGeoIP/.libs/libGeoIP.a(GeoIP.o): In function `GeoIP_lookupaddress':
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIP.c:1644: undefined reference to `_imp__inet_addr@4'
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIP.c:1692: undefined reference to `_imp__ntohl@4'
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIP.c:1677: undefined reference to `_imp__gethostbyname@4'
../libGeoIP/.libs/libGeoIP.a(GeoIP.o): In function `GeoIP_lookupaddress_v6':
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIP.c:1707: undefined reference to `_imp__getaddrinfo@16'
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIP.c:1714: undefined reference to `_imp__freeaddrinfo@4'
../libGeoIP/.libs/libGeoIP.a(GeoIP.o): In function `get_db_description':
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIP.c:564: undefined reference to `_imp__GeoIPDBDescription'
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIP.c:564: undefined reference to `_imp__GeoIPDBDescription'
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIP.c:564: undefined reference to `_imp__GeoIPDBDescription'
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIP.c:564: undefined reference to `_imp__GeoIPDBDescription'
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIP.c:564: undefined reference to `_imp__GeoIPDBDescription'
../libGeoIP/.libs/libGeoIP.a(GeoIP.o):/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIP.c:564: more undefined references to `_imp__GeoIPDBDescription' follow
../libGeoIP/.libs/libGeoIP.a(GeoIP.o): In function `GeoIP_assign_region_by_inetaddr_gl':
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIP.c:2030: undefined reference to `_imp__ntohl@4'
../libGeoIP/.libs/libGeoIP.a(GeoIP.o): In function `get_region_gl':
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIP.c:2132: undefined reference to `_imp__htonl@4'
../libGeoIP/.libs/libGeoIP.a(GeoIP.o): In function `get_db_description':
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIP.c:564: undefined reference to `_imp__GeoIPDBDescription'
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIP.c:564: undefined reference to `_imp__GeoIPDBDescription'
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIP.c:564: undefined reference to `_imp__GeoIPDBDescription'
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIP.c:564: undefined reference to `_imp__GeoIPDBDescription'
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIP.c:564: undefined reference to `_imp__GeoIPDBDescription'
../libGeoIP/.libs/libGeoIP.a(GeoIP.o):/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIP.c:564: more undefined references to `_imp__GeoIPDBDescription' follow
../libGeoIP/.libs/libGeoIP.a(GeoIPCity.o): In function `extract_record':
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIPCity.c:97: undefined reference to `_imp__GeoIP_country_continent'
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIPCity.c:98: undefined reference to `_imp__GeoIP_country_code'
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIPCity.c:99: undefined reference to `_imp__GeoIP_country_code3'
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIPCity.c:83: undefined reference to `pread'
../libGeoIP/.libs/libGeoIP.a(GeoIPCity.o): In function `get_record_gl':
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIPCity.c:187: undefined reference to `_imp__GeoIPDBDescription'
../libGeoIP/.libs/libGeoIP.a(GeoIPCity.o): In function `get_record_v6_gl':
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIPCity.c:217: undefined reference to `_imp__GeoIPDBDescription'
../libGeoIP/.libs/libGeoIP.a(GeoIPCity.o): In function `GeoIP_record_id_by_addr':
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIPCity.c:302: undefined reference to `_imp__GeoIPDBDescription'
../libGeoIP/.libs/libGeoIP.a(GeoIPCity.o): In function `GeoIP_record_id_by_addr_v6':
/home/thomas/tmp/test/geoip-api-c/libGeoIP/GeoIPCity.c:320: undefined reference to `_imp__GeoIPDBDescription'
collect2: error: ld returned 1 exit status
Makefile:382: recipe for target 'geoiplookup.exe' failed
make[1]: *** [geoiplookup.exe] Error 1
make[1]: Leaving directory '/data/tmp/test/geoip-api-c/apps'
Makefile:429: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment