RE: [gtk-list] trouble compiling gtk+1.1.5



Doesn't sound like you have glib installed.  Get and install the glib archive
from the same place you downloaded Gtk.

--
tile

According to Jason Radford:
| hi all,
| 
| I hope this is going to the right list.
| 
| I'm having a horrible time compiling gtk+1.1.5 (I've tried 1.1.2 also)
| with the same
| results
| 
| I run the config script, all is good, then do a make.  After that
| everything compiles
| just dandy until I get to the testgtk.c program and then I get the
| following:
| 
| testgtk.o: In function `create_tree_sample':
| /home/jradford/gtk+-1.1.5/gtk/testgtk.c:1189: undefined reference to
| `g_log'
| testgtk.o: In function `gtk_ifactory_cb':
| /home/jradford/gtk+-1.1.5/gtk/testgtk.c:2242: undefined reference to
| `g_log'
| testgtk.o: In function `cursor_expose_event':
| /home/jradford/gtk+-1.1.5/gtk/testgtk.c:2977: undefined reference to
| `g_log'
| testgtk.o: In function `export_ctree':
| /home/jradford/gtk+-1.1.5/gtk/testgtk.c:4478: undefined reference to
| `g_node_des
| troy'
| .libs/libgtk.so: undefined reference to `g_node_depth'
| .libs/libgtk.so: undefined reference to `g_datalist_id_set_data_full'
| .libs/libgtk.so: undefined reference to `g_hook_next_valid'
| .libs/libgtk.so: undefined reference to `g_hook_list_init'
| .libs/libgtk.so: undefined reference to `g_datalist_clear'
| 
| I get about 20 lines of the undefined reference to' line, and it ends
| lke this:
| 
| make[2]: *** [testgtk] Error 1
| make[2]: Leaving directory `/home/jradford/gtk+-1.1.5/gtk'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/home/jradford/gtk+-1.1.5'
| make: *** [all-recursive-am] Error 2
| 
| 
| I have several gtk programs I'd LOVE to try out, please help if can.
| 
| 
| -Jason



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