g_int64_hash can not be found



Hi, 
I include #include<glib.h>  
gcc -Wall  -g -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include     -c -o parda.o parda.c
parda.c: In function ‘parda_init’:
parda.c:34: error: ‘g_int64_hash’ undeclared (first use in this function)
parda.c:34: error: (Each undeclared identifier is reported only once
parda.c:34: error: for each function it appears in.)
parda.c:34: error: ‘g_int64_equal’ undeclared (first use in this function)
make: *** [parda.o] Error 1

But when i compile it shows the following.


--
Qingpeng Niu
Department of Computer Science and Engineering at OSU


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