Compile problem with GMutex for >= gtk+-1.1.7



Hello all,

Starting with v1.1.8 I'm unable to compile gtk. Can someone please
help me with this. Is there anything I can do to fix this?

Error:
Making all in gdk
make[2]: Entering directory `/usr/src/redhat/BUILD/gtk+-1.1.12/gdk'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-DG_LOG_DOMAIN=\"Gdk\" -I.. -DGTK_NO_CHECK_CASTS -DUSE_XIM
-I/usr/lib/glib/include -D_REENTRANT -I/usr/X11R6/include   -O2 -m486
-fno-strength-reduce -Wall -c gdk.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gdk\" -I..
-DGTK_NO_CHECK_CASTS -DUSE_XIM -I/usr/lib/glib/include -D_REENTRANT
-I/usr/X11R6/include -O2 -m486 -fno-strength-reduce -Wall -c -fPIC
-DPIC gdk.c
In file included from gdk.c:38:
gdk.h:965: parse error before `*'
gdk.h:965: warning: data definition has no type or storage class
gdk.c: In function `gdk_init':
gdk.c:151: warning: implicit declaration of function
`g_thread_supported'
gdk.c:152: warning: implicit declaration of function `g_mutex_new'
gdk.c:152: warning: assignment makes pointer from integer without a
cast
gdk.c: In function `gdk_threads_enter':
gdk.c:1241: warning: implicit declaration of function `g_mutex_lock'
gdk.c: In function `gdk_threads_leave':
gdk.c:1247: warning: implicit declaration of function `g_mutex_unlock'
make[2]: *** [gdk.lo] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/gtk+-1.1.12/gdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/gtk+-1.1.12'
make: *** [all-recursive-am] Error 2


thanks a lot
sudhakar.



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