Later version of gtk required?

John (J5) Palmieri johnp at redhat.com
Mon Apr 24 08:15:51 PDT 2006


On Mon, 2006-04-24 at 06:58 +1000, Brad Hards wrote:
> gcc -g -O2 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes 
> -Wnested-externs -Wpointer-arith -Wcast-align -Wfloat-equal -Wsign-compare 
> -o .libs/statemachine-client statemachine-client.o sm-marshal.o 
> -Wl,--export-dynamic  ../../../glib/.libs/libdbus-glib-1.so /home/bradh/coding/cvs-vers/dbus/dbus/.libs/libdbus-1.so 
> -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm 
> -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl 
> -lgthread-2.0 -lglib-2.0 -lnsl
> statemachine-client.o(.text+0x9a): In function `lose_gerror':
> /home/bradh/coding/cvs-vers/dbus/glib/examples/statemachine/statemachine-client.c:49: 
> undefined reference to `gtk_message_dialog_format_secondary_text'
> statemachine-client.o(.text+0xe76): In function `get_machines_cb':
> /home/bradh/coding/cvs-vers/dbus/glib/examples/statemachine/statemachine-client.c:573: 
> undefined reference to `gtk_cell_renderer_progress_new'
> collect2: ld returned 1 exit status
> 
> I just worked around this with --disable-gtk, which works fine.
> 
> I have gtk 2.4.14. Perhaps the configure check needs to be updated to show a 
> later version?
> 
> Brad

Or we need to chuck that piece from the examples (or just provide a
check for the example itself).  No reason to up the gtk requirement for
everything if they are happy with older versions.
 
-- 



More information about the dbus mailing list