Re: [gtk-list] glib 1.1.3



On Sat, 26 Sep 1998, Matt wrote:

> 
> I have a problem with glib 1.1.3.  It compiles ok
> but when I run testglib I get this...
> 
> -------------------------------------
> checking strings...ok
> checking timers...
>   spinning for 3 seconds...
> ok
> checking g_strcasecmp...
> checking relations...ok
> checking pointer arrays...ok
> checking byte arrays...ok
> g_log tests:
> ** WARNING **: harmless warning
> Message: the next warning is a test:
> 
> GLib-CRITICAL **: file gmessages.c: line 536 (g_print): assertion `format
> != NU (there might be more after this)

the above WARNING, Message and GLib-CRITICAL texts are harmelss, and a test
(of the g_log() stuff) like they say.

> ---------------------------------------------------
> 
> It seems this g_log thing pops up in compile errors alot.  I've been trying
> to fix this thing for days...my eyes are bloodshot.  I'm not a master or
> anthing like you guys but I like bleeding edge software.
> 
> Also, if I try to compile gtk 1.1.2 after installing glib 1.1.3 I get 
> 
> -----------------------------------------------------
> 
> testgtk.o: In function `create_tree_sample':
> /usr/local/src/gtk+-1.1.2/gtk/testgtk.c:1189: undefined reference to `g_log'
> testgtk.o: In function `gtk_ifactory_cb':
> /usr/local/src/gtk+-1.1.2/gtk/testgtk.c:2132: undefined reference to `g_log'
> testgtk.o: In function `cursor_expose_event':
> /usr/local/src/gtk+-1.1.2/gtk/testgtk.c:2867: undefined reference to `g_log'
> testgtk.o: In function `export_ctree':
> /usr/local/src/gtk+-1.1.2/gtk/testgtk.c:4232: undefined reference to
> `g_node_de'
> ...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_datalist_clear'
> ...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_quark_try_string'
> ...libs/libgtk.so: undefined reference to `g_scanner_stat_mode'

this is a linkage issue, if you encounter actuall compilation problems
please report them as well, but the above link errors seem to come up
because you still link to an old libglib.so version, eventhough the
code compiles against the new headers.

> 
> More of the same after
> ---------------------------------------------------
> 
> 
> 
> Matt
> The PressRoom Online Services
> 

---
ciaoTJ



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