gtk build failure



Hi,

while trying to build gtk 1.2.[67], gcc bails out with this errors:

Making all in gtk
make[2]: Entering directory `/home/hp/Downloads/graphics/gtk+-1.2.7/gtk'
/bin/sh ../libtool --mode=compile gcc -O3 -mpentium -DHAVE_CONFIG_H -I. -I. -I..
 -DG_LOG_DOMAIN=\"Gtk\" -DGTK_DISABLE_COMPAT_H -DGTK_EXE_PREFIX=\"/usr\" -DGTK_D
ATA_PREFIX=\"/usr\" -DGTK_SYSCONFDIR=\"/etc\" -DGTK_LOCALEDIR=\"/usr/share/local
e\" -I.. -DGTK_NO_CHECK_CASTS -DUSE_XIM -I/usr/lib/glib/include -D_REENTRANT -I/
usr/X11R6/include    -O3 -march=i686 -fschedule-insns2 -malign-double -funroll-l
IR=\"/etc\" -DGTK_LOCALEDIR=\"/usr/share/locale\" -I.. -DGTK_NO_CHECK_CASTS -DUSE_XIM
-I/usr/lib/glib/include -D_REENTRANT -I/usr/X11R6/include -O3 -march=i686
-fschedule-insns2 -malign-double -funroll-loops -fomit-frame-pointer -malign-loops=2
-malign-functions=2 -malign-jumps=2 -I/usr/local/include -Wall -c gtkaccelgroup.c  -fPIC -DPIC -o
.libs/gtkaccelgroup.lo
gtkaccelgroup.c: In function `gtk_accel_group_create_add':
gtkaccelgroup.c:668: `GTK_TYPE_ACCEL_GROUP' undeclared (first use in this function)
gtkaccelgroup.c:668: (Each undeclared identifier is reported only once
gtkaccelgroup.c:668: for each function it appears in.)
gtkaccelgroup.c:670: `GTK_TYPE_GDK_MODIFIER_TYPE' undeclared (first use in this
function)
gtkaccelgroup.c:671: `GTK_TYPE_ACCEL_FLAGS' undeclared (first use in this function)
gtkaccelgroup.c: In function `gtk_accel_group_create_remove':
gtkaccelgroup.c:687: `GTK_TYPE_ACCEL_GROUP' undeclared (first use in this function)
gtkaccelgroup.c:689: `GTK_TYPE_GDK_MODIFIER_TYPE' undeclared (first use in this
function)
make[2]: *** [gtkaccelgroup.lo] Error 1
make[2]: Leaving directory `/home/hp/Downloads/graphics/gtk+-1.2.7/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hp/Downloads/graphics/gtk+-1.2.7'
make: *** [all-recursive-am] Error 2 

When searching thru the sources, none of the above macro appears somewhere
else, so I wonder, how others build this stuff properly.

./gtk/gtkaccelgroup.c:
668:                     GTK_TYPE_ACCEL_GROUP,
687:                     GTK_TYPE_ACCEL_GROUP,

./gtk/gtkaccelgroup.c:
671:                    
GTK_TYPE_ACCEL_FLAGS);                                                                      

./gtk/gtkaccelgroup.c:
670:                     GTK_TYPE_GDK_MODIFIER_TYPE,
689:                     GTK_TYPE_GDK_MODIFIER_TYPE);
                                                                                
Would someone please clearify.

Thanks in advance

	Hans-Peter



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