Compilation error (FreeBSD)- GTK_TYPE_ACCEL_GROUP undefined



Hello.

I cannot find a way to get GTK 1.2.10 compiled on
FreeBSD 4.2. I got glib 1.2.10 (successfuly compiled),
gcc version 2.95.2, GNU Make version 3.79.1, and
standard libc from FreeBSD 4.2 (libc4). The compiler
cannot find a definition of some symbols, namely
GTK_TYPE_ACCEL_GROUP, GTK_TYPE_GDK_MODIFIER_TYPE,
GTK_TYPE_ACCEL_FLAGS. I tried to locate these symbols
myself using grep, but I did not find them anywhere in
the sources. Thanks much for any help. 

tripie
tripiecz yahoo com

The compilation error message follows:

mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I..
-DG_LOG_DOMAIN=\"Gtk\" -DGTK_DISABLE_COMPAT_H 
DGTK_LIBDIR=\"/usr/local/lib\"
-DGTK_DATA_PREFIX=\"/usr/local\" -DGTK_SYSCONFDI
=\"/usr/local/etc\"
-DGTK_LOCALEDIR=\"/usr/local/share/locale\" -I..
-DGTK_NO_C ECK_CASTS -DUSE_XIM
-I/usr/local/lib/glib/include -I/usr/local/include
-D_REENT ANT -I/usr/X11R6/include -g -O2 -Wall -c
gtkaccelgroup.c  -fPIC -DPIC -o .libs/
tkaccelgroup.lo
gtkaccelgroup.c: In function
`gtk_accel_group_create_add':
gtkaccelgroup.c:668: `GTK_TYPE_ACCEL_GROUP' undeclared
(first use in this funct on)
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 funct on)
gtkaccelgroup.c: In function
`gtk_accel_group_create_remove':
gtkaccelgroup.c:687: `GTK_TYPE_ACCEL_GROUP' undeclared
(first use in this funct on)
gtkaccelgroup.c:689: `GTK_TYPE_GDK_MODIFIER_TYPE'
undeclared (first use in this function)
gmake[2]: *** [gtkaccelgroup.lo] Error 1
gmake[2]: Leaving directory
`/usr/local/src/gtk+-1.2.8/gtk'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/local/src/gtk+-1.2.8'
gmake: *** [all-recursive-am] Error 2


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/




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