Re: compile problems with gnome-objc




I had this same problem.  I bet you have gtk 1.2.0, right?  I grabbed all the tar files one night and compiled them with
this problem.  You need to get gtk 1.2.1 or better.  There are several functions (the gtk_menu<blah> ones for example)
that weren't exported from gtk that should have been..  Grab GLIB and GTK 1.2.2 and recompile those two libraries then
do gnome-objc again clean.

-Mike
mathers2@linuxsoftware.org



>Below is the output....help would be appreciated :)
>
>linux:/usr/download/gnome/gnome-objc-1.0.2/obgtk# make
>Makefile:999: warning: overriding commands for target `.m.o'
>Makefile:330: warning: ignoring old commands for target `.m.o'
>Makefile:1002: warning: overriding commands for target `.m.lo'
>Makefile:332: warning: ignoring old commands for target `.m.lo'
>/bin/sh ./libtool --mode=link egcc  -g -O2  -o obgtk-test  obgtk-test.o
./libobgtk.la -lSM -lICE -L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXext -lX11 -lm 
-lobjc -lpthread
>egcc -g -O2 -o .libs/obgtk-test obgtk-test.o -Wl,--rpath -Wl,/usr/local/lib
./.libs/libobgtk.so -lSM -lICE -L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk -lgmodule -lglib -ldl -lXext -lX11 -lm -lSM
 -lICE -L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXext -lX11 -lm -lobjc -lpthread
>/usr/bin/ld: warning: type and size of dynamic symbol `__objc_class_name_Gtk_App' are not defined
>/usr/bin/ld: warning: type and size of dynamic symbol `__objc_class_name_Gtk_Window' are not defined
>/usr/bin/ld: warning: type and size of dynamic symbol `__objc_class_name_Gtk_Button' are not defined
>./.libs/libobgtk.so: undefined reference to `gtk_menu_shell_deselect'
>./.libs/libobgtk.so: undefined reference to `gtk_menu_get_accel_group'
>./.libs/libobgtk.so: undefined reference to `gtk_menu_ensure_uline_accel_group'
>./.libs/libobgtk.so: undefined reference to `gtk_menu_get_uline_accel_group'
>./.libs/libobgtk.so: undefined reference to `gtk_widget_accelerators_locked'
>collect2: ld returned 1 exit status
>make: *** [obgtk-test] Error 1
>
>
>--
>        FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>         To unsubscribe: mail gnome-list-request@gnome.org with
>                       "unsubscribe" as the Subject.
>



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