gtk+ compile problems...


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/
-L/usr/X11R6/lib -lXext -lX11 -lm ../gdk/.libs/ -lXext -lX11
-lm -L/usr/X11R6/lib -lXext -lX11 ../../glib/.libs/
../../glib/gmodule/.libs/ -ldl -lm -Wl,--rpath
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...

more undefined references to `g_type_check_instance_cast' follow
.libs/ undefined reference to `g_enum_get_value_by_name'
.libs/ undefined reference to `g_type_register_fundamental'

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
What should I do?

Public key:

PGP signature

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