gtk+-1.2.9 build problem



Hi,

I get the following error when I try to do a 'make' of 1.2.9:

Making all in gdk
make[2]: Entering directory `/solaris/src/compile/gtk+-1.2.9/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/local/include/glib-1.2 -I/usr/local/lib/glib/include -D_REENTRANT -I/usr/X11R6/include/X11    -g -O2 -Wall -ansi -pedantic -c gdk.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gdk\" -I.. -DGTK_NO_CHECK_CASTS -DUSE_XIM -I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include -D_REENTRANT -I/usr/X11R6/include/X11 -g -O2 -Wall -ansi -pedantic -c gdk.c  -fPIC -DPIC -o .libs/gdk.lo
gdk.c: In function `gdk_init_check':
gdk.c:340: `equal_pos' undeclared (first use in this function)
gdk.c:340: (Each undeclared identifier is reported only once
gdk.c:340: for each function it appears in.)
gdk.c: In function `gdk_set_sm_client_id':
gdk.c:966: warning: pointer targets in passing arg 7 of `XChangeProperty' differ in signedness
make[2]: *** [gdk.lo] Error 1
make[2]: Leaving directory `/solaris/src/compile/gtk+-1.2.9/gdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/solaris/src/compile/gtk+-1.2.9'
make: *** [all-recursive-am] Error 2

I already installed glib-1.2.9 successfully.  In fact, I've been able
to install numerous previous versions of glib & gtk+ w/o any problems.

I took a look at gdk.c, and the error message seems to be correct;
there is a use of 'equal_pos' on that line, and a backward search for
equal_pos doesn't find a declaration for it within the same routine
(i.e. gdk_init_check).  I used the "--with-xinput=gxi" switch at
configure time.  A search of the mailing list doesn't find any mention
of this problem.  Is this a real bug, or am I overlooking something?

- Ed




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