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



Actually, it shouldn't let you get through configure if glib isn't
installed. GTK+ 1.1.5 *should* be requiring GLib 1.1.5 to make it 
though configure, so if that's broke we should figure out why.

Try running 'ldconfig'.  Then run make again.

-Shawn


On Sun, Dec 06, 1998 at 11:30:30PM -0700, tile@primenet.com wrote:
> 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
> 
> -- 
> To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
> 
--
Shawn T. Amundson               
amundson@gimp.org               http://www.gimp.org/~amundson

"The assumption that the universe looks the same in every
 direction is clearly not true in reality." - Stephen Hawking



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