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



Joseph Turian wrote:

> Make sure that the path to libglib.so is in /etc/ld.so.conf and run
> /sbin/ldconfig
>
>                                                            ---
>

I mad sure /usr/local/libs was in /etc/ld.so.conf and re-ran ldconfigbut
still get the same errors.  It it ok if there is more entries in the
ld.so.config that just /usr/local/lib (were glib currently resides).

Attached is the output from the compile,, after it compiles all the
gtk stuff fine and then get's errors on the testgtk program.

I appreciate the help, as I've been battling this for over a week
and this list is my last hope.

-jason
gcc -g -O2 -DGTK_NO_CHECK_CASTS -Wall -DUSE_XIM -o .libs/testgtk testgtk.o -Wl,--rpath -Wl,/usr/local/lib .libs/libgtk.so -Wl,--rpath -Wl,/usr/local/lib ../gdk/.libs/libgdk.so -L/usr/X11R6/lib -lXext -lX11 -L/usr/X11R6/lib -lXext -lX11 -L/usr/local/lib -rdynamic -lgmodule -lglib -ldl -lm
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_destroy'
.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'
.libs/libgtk.so: undefined reference to `g_datalist_id_remove_no_notify'
.libs/libgtk.so: undefined reference to `g_completion_add_items'
.libs/libgtk.so: undefined reference to `g_node_last_child'  
.libs/libgtk.so: undefined reference to `g_scanner_scope_remove_symbol'
.libs/libgtk.so: undefined reference to `g_completion_free'
.libs/libgtk.so: undefined reference to `g_hook_unref'
.libs/libgtk.so: undefined reference to `g_quark_try_string'
.libs/libgtk.so: undefined reference to `g_scanner_stat_mode'
../gdk/.libs/libgdk.so: undefined reference to `g_dataset_destroy'
.libs/libgtk.so: undefined reference to `g_hook_alloc'
.libs/libgtk.so: undefined reference to `g_hook_destroy_link'
.libs/libgtk.so: undefined reference to `g_node_insert_before'
../gdk/.libs/libgdk.so: undefined reference to `g_set_prgname'
.libs/libgtk.so: undefined reference to `g_hook_ref'
.libs/libgtk.so: undefined reference to `g_quark_from_string'
.libs/libgtk.so: undefined reference to `g_scanner_set_scope'
.libs/libgtk.so: undefined reference to `g_node_new'
.libs/libgtk.so: undefined reference to `g_hook_find_data'
.libs/libgtk.so: undefined reference to `g_strsplit'
.libs/libgtk.so: undefined reference to `g_completion_new'
.libs/libgtk.so: undefined reference to `g_datalist_init'
.libs/libgtk.so: undefined reference to `g_hook_destroy'
.libs/libgtk.so: undefined reference to `g_completion_complete'
.libs/libgtk.so: undefined reference to `g_atexit'
.libs/libgtk.so: undefined reference to `g_dataset_id_get_data'  
.libs/libgtk.so: undefined reference to `g_scanner_scope_add_symbol'
.libs/libgtk.so: undefined reference to `g_list_find_custom'
.libs/libgtk.so: undefined reference to `g_datalist_id_get_data'
.libs/libgtk.so: undefined reference to `g_hook_first_valid'
.libs/libgtk.so: undefined reference to `g_dataset_id_set_data_full'
.libs/libgtk.so: undefined reference to `g_log_set_always_fatal'
.libs/libgtk.so: undefined reference to `g_scanner_unexp_token'
.libs/libgtk.so: undefined reference to `g_hook_insert_sorted'
.libs/libgtk.so: undefined reference to `g_mem_chunk_alloc0'
.libs/libgtk.so: undefined reference to `g_scanner_thaw_symbol_table'
.libs/libgtk.so: undefined reference to `g_scanner_freeze_symbol_table'
.libs/libgtk.so: undefined reference to `g_strreverse'
.libs/libgtk.so: undefined reference to `g_get_current_dir'
.libs/libgtk.so: undefined reference to `g_get_prgname'
.libs/libgtk.so: undefined reference to `g_node_reverse_children'
.libs/libgtk.so: undefined reference to `g_quark_from_static_string'
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


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