[Gpg4win-devel] Compile error glib/gio current SVN

Marc Mutz marc.mutz at kdab.com
Wed Jun 23 09:29:16 CEST 2010


Hi,

While trying to build current gpg4win SVN:

make[7]: Entering directory 
`/home/marc/gpg4win/scripts/debian-xcompile/build/gpg4win-stage1/src/playground/build/glib-2.24.0-build/gio'
/bin/sh ../libtool  --tag=CC   --mode=compile 
i586-mingw32msvc-gcc -DHAVE_CONFIG_H -I. -I../../glib-2.24.0/gio -I..  -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I../../glib-2.24.0 -I../../glib-2.24.0/glib -I../../glib-2.24.0/gmodule -DG_DISABLE_CAST_CHECKS -DG_THREADS_MANDATORY -DG_DISABLE_DEPRECATED -DGIO_COMPILATION -DGIO_MODULE_DIR=\"/home/marc/gpg4win/scripts/debian-xcompile/build/gpg4win-stage1/src/playground/install/pkgs/glib-2.24.0/lib/gio/modules\"  -I/home/marc/gpg4win/scripts/debian-xcompile/build/gpg4win-stage1/src/playground/install/include -DG_DISABLE_SINGLE_INCLUDES   -mms-bitfields -mms-bitfields -Wall -MT 
gresolver.lo -MD -MP -MF .deps/gresolver.Tpo -c -o 
gresolver.lo ../../glib-2.24.0/gio/gresolver.c
libtool: compile:  
i586-mingw32msvc-gcc -DHAVE_CONFIG_H -I. -I../../glib-2.24.0/gio -I.. -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I../../glib-2.24.0 -I../../glib-2.24.0/glib -I../../glib-2.24.0/gmodule -DG_DISABLE_CAST_CHECKS -DG_THREADS_MANDATORY -DG_DISABLE_DEPRECATED -DGIO_COMPILATION -DGIO_MODULE_DIR=\"/home/marc/gpg4win/scripts/debian-xcompile/build/gpg4win-stage1/src/playground/install/pkgs/glib-2.24.0/lib/gio/modules\" -I/home/marc/gpg4win/scripts/debian-xcompile/build/gpg4win-stage1/src/playground/install/include -DG_DISABLE_SINGLE_INCLUDES -mms-bitfields -mms-bitfields -Wall -MT 
gresolver.lo -MD -MP -MF .deps/gresolver.Tpo -c ../../glib-2.24.0/gio/gresolver.c  -DDLL_EXPORT -DPIC -o .libs/gresolver.o
../../glib-2.24.0/gio/gresolver.c: In function `_g_resolver_addresses_from_addrinfo':
../../glib-2.24.0/gio/gresolver.c:737: warning: implicit declaration of function `gai_strerror'
../../glib-2.24.0/gio/gresolver.c:737: warning: format argument is not a pointer (arg 6)
../../glib-2.24.0/gio/gresolver.c: In function `_g_resolver_name_from_nameinfo':
../../glib-2.24.0/gio/gresolver.c:787: warning: format argument is not a pointer (arg 6)
../../glib-2.24.0/gio/gresolver.c: In function `_g_resolver_targets_from_DnsQuery':
../../glib-2.24.0/gio/gresolver.c:919: error: `DNS_TYPE_SRV' undeclared (first use in this 
function)
../../glib-2.24.0/gio/gresolver.c:919: error: (Each undeclared identifier is reported only 
once
../../glib-2.24.0/gio/gresolver.c:919: error: for each function it appears in.)

Can anyone reproduce this?

Compiler too old?

$ i586-mingw32msvc-gcc -v
Reading specs from /usr/lib/gcc/i586-mingw32msvc/3.4.5/specs
Configured 
with: /home/ron/devel/debian/mingw32/mingw32-3.4.5.20060117.1.dfsg/build_dir/src/gcc-3.4.5-20060117-1-dfsg/configure -v --prefix=/usr --target=i586-mingw32msvc --enable-languages=c,c++ --enable-threads --enable-sjlj-exceptions --disable-multilib --enable-version-specific-runtime-libs
Thread model: win32
gcc version 3.4.5 (mingw special)

Thanks,
Marc

-- 
Marc Mutz <marc.mutz at kdab.com> | Senior Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independent Software Solutions



More information about the Gpg4win-devel mailing list