Using latest glib CVS, trying to port gnet to glib-2.0. I've added the PKG_CHECK_MODULES stuff to configure.in, and I've run make. However, the compiler error occurs within the glib headers :
make[2]: Entering directory `/net/home/rossg/workshop/gnome/gnet/src' /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -DG_ENABLE_DEBUG -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -Wall -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -c gnet.c rm -f .libs/gnet.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"GNet\" -DG_ENABLE_DEBUG -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -Wall -D_REENTRANT -DGNET_EXPERIMENTAL -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wp,-MD,.deps/gnet.pp -c gnet.c -fPIC -DPIC -o .libs/gnet.lo In file included from /usr/include/glib-2.0/glib.h:47, from gnet-private.h:44, from gnet.c:21: /usr/include/glib-2.0/glib/gmarkup.h:43: warning: function declaration isn't a prototype In file included from gnet-private.h:45, from gnet.c:21: gnet.h:54: syntax error before `const' gnet.h:55: syntax error before `const' gnet.h:56: syntax error before `const' gnet.h:57: syntax error before `const' gnet.h:58: syntax error before `const' make[2]: *** [gnet.lo] Error 1 make[2]: Leaving directory `/net/home/rossg/workshop/gnome/gnet/src' System is RedHat 7.2, fairly standard. -- Ross _______________________________________________ gtk-list mailing list [EMAIL PROTECTED] http://mail.gnome.org/mailman/listinfo/gtk-list