Am 24.02.2002 01:59:35, schrieb "Johnny B ." <[EMAIL PROTECTED]>:

[...]
>/tmp/ccOr5DPh.o(.text+0x80): undefined reference to `G_CALLBACK'
>/tmp/ccOr5DPh.o(.text+0x93): undefined reference to `G_OBJECT'
>/tmp/ccOr5DPh.o(.text+0x9e): undefined reference to `g_signal_connect'

[...]
>
>[johnnyb@tasha lib]$ gtk-config --cflags --libs
>-I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2
>-I/usr/local/lib/glib/include -I/usr/X11R6/include
>-L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule
>-lglib -ldl -lXext -lX11 -lm

You link against  gtk+-1.2, don't you? But as far as I know the missing things 
(g_signal_connect, G_OBJECT ans so) are part of gtk+-2.0 (or more exactly glib-2.0). 
Are 
you really sure that your installation is correct. This seems like a mixture of 
gtk+-1.2 and gtk+-2.0.

Use the -v option when compiling to see exactly what is included and what linked to 
your application.

Ciao

Olaf


_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to