gtk+ compile problems...



Hi-

Sorry to bother, but I'm having trouble building gtk+.
I checked out the latest glib and gtk+, and glib compiles fine, while
gtk+ dies with error:
----------------------------------------------------------------------
gcc -g -O2 -g -Wall -o .libs/testgtk testgtk.o .libs/libgtk.so
-L/usr/X11R6/lib -lXext -lX11 -lm ../gdk/.libs/libgdk.so -lXext -lX11
-lm -L/usr/X11R6/lib -lXext -lX11 ../../glib/.libs/libglib.so
../../glib/gmodule/.libs/libgmodule.so -ldl -lm -Wl,--rpath
-Wl,/usr/local/lib
testgtk.o: In function `build_option_menu':
/home/nbarth/work/software/gtk+/gtk/testgtk.c:111: undefined reference
to `g_type_check_instance_cast'

...many more g_type_check_instance_cast undefineds...

testgtk.o:/home/nbarth/work/software/gtk+/gtk/testgtk.c:5522:
more undefined references to `g_type_check_instance_cast' follow
.libs/libgtk.so: undefined reference to `g_enum_get_value_by_name'
.libs/libgtk.so: undefined reference to `g_type_register_fundamental'

...etc...
collect2: ld returned 1 exit status
make[2]: *** [testgtk] Error 1
----------------------------------------------------------------------

So. . .I'd like to hack on gtk menus (add long menus? fix submenu
navigation?).
What should I do?

-- 
  -nils
Public key: http://www.fas.harvard.edu/~nbarth/pub-key.txt

PGP signature



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