Compile Problem



Hi!

I tried to compile gtk+-1.2.7 and gtk+-1.2.8 but I always get the attached 
error message. I searched with fgrep for GTK_TYPE_ACCEL_GROUP but didn't find 
anything in glib or gtk+. Do I have to install anything else besides glib and 
gtk?

I'm using SuSE-Linux 7.0 with kernel-2.2.18, glibc-2.1.3, XFree 4.0.2 and 
SuSEs gcc-2.95.2. Could there be some "evil" files left on my system that 
break compilation?

I'm sorry but I'm really clueless how to proceed :-(

Thanks for your help,
  Michael

-- 

       Some operating systems are called `user friendly',
             Linux however is `expert friendly'.
make  all-recursive
make[1]: Entering directory `/usr/src/gtk+-1.2.7'
Making all in po
make[2]: Entering directory `/usr/src/gtk+-1.2.7/po'
make[2]: Leaving directory `/usr/src/gtk+-1.2.7/po'
Making all in gdk
make[2]: Entering directory `/usr/src/gtk+-1.2.7/gdk'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/src/gtk+-1.2.7/gdk'
Making all in gtk
make[2]: Entering directory `/usr/src/gtk+-1.2.7/gtk'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gtk\" -DGTK_DISABLE_COMPAT_H -DGTK_EXE_PREFIX=\"/usr/local\" -DGTK_DATA_PREFIX=\"/usr/local\" -DGTK_SYSCONFDIR=\"/usr/local/etc\" -DGTK_LOCALEDIR=\"/usr/local/share/locale\" -I.. -DGTK_NO_CHECK_CASTS -DUSE_XIM -I../../glib-1.2.7 -I../../glib-1.2.7/gmodule -I/usr/X11R6/include    -g -O2 -Wall -c gtkaccelgroup.c
rm -f .libs/gtkaccelgroup.lo
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gtk\" -DGTK_DISABLE_COMPAT_H -DGTK_EXE_PREFIX=\"/usr/local\" -DGTK_DATA_PREFIX=\"/usr/local\" -DGTK_SYSCONFDIR=\"/usr/local/etc\" -DGTK_LOCALEDIR=\"/usr/local/share/locale\" -I.. -DGTK_NO_CHECK_CASTS -DUSE_XIM -I../../glib-1.2.7 -I../../glib-1.2.7/gmodule -I/usr/X11R6/include -g -O2 -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 `/usr/src/gtk+-1.2.7/gtk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/gtk+-1.2.7'
make: *** [all-recursive-am] Error 2


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