hey all,
i need some help from some GTK+/GLIB programmers out there.
i'm making my way through "Developing Linux Applications using
GTK+ and GLIB" and decided to stop for a moment and try an
example.  I'm on the verge of concluding that the examples
in this book are worthless, as I've already found some typos
and misspellings in them.  But, nonetheless, I think this
code should work but it's barking back the the errors below:
if anyone out there could help i'd really appreciate it, i
really don't want to move on in the book until i can at
least do the things i am try to here.

see the code here:
        http://sacrilege.org/misc/glib.c


~/gtk >> gcc -o glib `gtk-config --cflags` glib.c
glib.c: In function `main':
glib.c:32: warning: passing arg 1 of `g_hash_table_new' from incompatible pointer type
glib.c:32: warning: passing arg 2 of `g_hash_table_new' from incompatible pointer type
/tmp/cca085911.o: In function `PrintNames':
/tmp/cca085911.o(.text+0xa9): undefined reference to `g_print'
/tmp/cca085911.o: In function `main':
/tmp/cca085911.o(.text+0xc5): undefined reference to `g_hash_table_new'
/tmp/cca085911.o(.text+0xe0): undefined reference to `g_hash_table_insert'
/tmp/cca085911.o(.text+0xf1): undefined reference to `g_hash_table_lookup'




-- 
Tom Carlile                     [EMAIL PROTECTED]

"So here's a picture of reality: (picture of circle with lots of sqiggles in 
it) As we all know, reality is a mess."

  -- Larry Wall
---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]

Reply via email to