trunk build bustage
- Date: Wed, 2 Jul 2008 17:26:01 -0400
- From: "Colin Walters" <walters@xxxxxxxxxx>
- Subject: trunk build bustage
Trunk fails to build in this way:
make[4]: Entering directory `/src/jhbuild/checkout/glib/gio'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I.. -I../glib -I../gmodule -DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED -DGIO_COMPILATION -DGIO_MODULE_DIR=\"/src/build/jhbuild/lib64/gio/modules\" -DG_DISABLE_SINGLE_INCLUDES -pthread -ggdb -O0 -Wall -MT gfilemonitor.lo -MD -MP -MF .deps/gfilemonitor.Tpo -c -o gfilemonitor.lo gfilemonitor.c
gcc -DHAVE_CONFIG_H -I. -I.. -DG_LOG_DOMAIN=\"GLib-GIO\" -I.. -I.. -I../glib -I../gmodule -DG_ENABLE_DEBUG -DG_DISABLE_DEPRECATED -DGIO_COMPILATION -DGIO_MODULE_DIR=\"/src/build/jhbuild/lib64/gio/modules\" -DG_DISABLE_SINGLE_INCLUDES -pthread -ggdb -O0 -Wall -MT gfilemonitor.lo -MD -MP -MF .deps/gfilemonitor.Tpo -c gfilemonitor.c -fPIC -DPIC -o .libs/gfilemonitor.o
gfilemonitor.c: In function 'g_file_monitor_finalize':
gfilemonitor.c:161: error: 'g_file_monitor_parent_class' undeclared (first use in this function)
gfilemonitor.c:161: error: (Each undeclared identifier is reported only once
gfilemonitor.c:161: error: for each function it appears in.)
gfilemonitor.c: In function 'g_file_monitor_dispose':
gfilemonitor.c:174: error: 'g_file_monitor_parent_class' undeclared (first use in this function)
It turns out this is a bit of a mess because there is a global function in gfile.c called "g_file_monitor". The alias definition machinery then #define's g_file_monitor, which breaks the G_DEFINE_ABSTRACT_TYPE (GFileMonitor, g_file_monitor, G_TYPE_OBJECT); call.
I think it might work to unravel this particular G_DEFINE_ABSTRACT_TYPE macro into regular C code.
_______________________________________________ gtk-devel-list mailing list gtk-devel-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-devel-list
- Prev by Date: Re: gdk_cursor_new_from_pixmap color parameters no effect in MS windows
- Next by Date: [PATCH RESEND] bug fix incremental base64 encoding (glib)
- Previous by thread: GTK Links
- Next by thread: [PATCH RESEND] bug fix incremental base64 encoding (glib)
- Index(es):