Results 1 to 1 of 1
Hi everyone,
I've got a problem to use the hashtable functions on my debian lenny...
I've done the apt-get install of the glib2.0
I can compile and link my program ...
- 07-24-2009 #1Just Joined!
- Join Date
- Jul 2009
- Posts
- 1
Problem using the hashtable on Debian Lenny
Hi everyone,
I've got a problem to use the hashtable functions on my debian lenny...
I've done the apt-get install of the glib2.0
I can compile and link my program but when I launch it I got this error message :
/usr/.../mod_accesslog.so: undefined symbol: g_str_hash
I just got this code to test if I can use the hashtable:
I've done this before using my makefile:Code:#include <glib.h> GHashTable *h; h = g_hash_table_new(g_str_hash, g_str_equal);
$ pkg-config --cflags glib-2.0
$ pkg-config --libs glib-2.0
I've wrote this in my makefile:
`pkg-config --cflags --libs glib-2.0`
Can anyone help me please?
Thanks and sorry for my bad english.


Reply With Quote
