gmenu.c compile fails with gtk+ 1.1.13



Hi,

Here's the output (this is gnome-core-0.99.3.2):

gcc28 -DHAVE_CONFIG_H -I. -I. -I.. -DGNOMELOCALEDIR=\""/home/lyndon/share/locale"\" -I../intl -I../intl -I/home/lyndon/include -I/home/lyndon/include -DNEED_GNOMESUPPORT_H -I/home/lyndon/lib/gnome-libs/include -I/home/lyndon/lib/glib/include -I/home/lyndon//include -I/usr/X11R6/include -I/home/lyndon//include -I/usr/X11R6/include -I/home/lyndon/lib/glib/include -I/home/lyndon/include -g -O2 -Wall -Wno-unused  -c gmenu.c
gmenu.c: In function `main':
gmenu.c:356: warning: implicit declaration of function `gtk_ctree_set_reorderable'

<snip>

/bin/sh ../libtool --mode=link gcc28 -g -O2 -Wall -Wno-unused   -o gmenu  gmenu.o tree.o edit.o order.o dialogs.o -L/home/lyndon/lib -L/home/lyndon//lib -L/usr/X11R6/lib -lgnomeui -lart_lgpl -lgdk_imlib -ltiff34 -ljpeg -lungif -lpng -lz -lSM -lICE -lgtk -lgdk -lgmodule -lintl -lXext -lX11 -lm -lgnome -lgnomesupport -laudiofile -lglib  
gcc28 -g -O2 -Wall -Wno-unused -o gmenu gmenu.o tree.o edit.o order.o dialogs.o -L/home/lyndon/lib -L/home/lyndon//lib -L/usr/X11R6/lib -lgnomeui -lart_lgpl -lgdk_imlib -ltiff34 -ljpeg -lungif -lpng -lz -lSM -lICE -lgtk -lgdk -lgmodule -lintl -lXext -lX11 -lm -lgnome -lgnomesupport -laudiofile -lglib
gmenu.c:356: Undefined symbol `_gtk_ctree_set_reorderable' referenced from text segment
make[2]: *** [gmenu] Error 1



Here's the appropriate gtk+ ChangeLog entry:

Sun Jan 17 22:47:15 1999  Tim Janik  <timj@gtk.org>
<snip>
        * gtk/gtkctree.[hc]:
        * gtk/gtkcontainer.[hc]:
        * gtk/gtkclist.[hc]:
        removed deprecated functions: gtk_clist_set_border,
        gtk_container_block_resize, gtk_container_unblock_resize,
        gtk_container_need_resize, gtk_ctree_set_reorderable,
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^

Removing the call makes things OK.

Lyndon



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]