Re: gtk+-1.2.9 build problem



Ed Osinski <osinski CIMS nyu edu> writes:

> 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?

Simply change 'equal_pos + 1' to 'option'
(See http://bugzilla.gnome.org/show_bug.cgi?id=51973)

But someone tell me, why is everbody compiling 
GTK+ --with-xinput=gxi? ;-(

I really don't expect --with-xinput=gxi to work. I've never had a
succesful report of anybody using GTK+ XInput support on anything but
XFree; the gxid daemon was developed on XFree before the extensions
used by --with-xinput=xfree were added. I don't think I've tested it
in at least 2 years.

There will be a 1.2.10 out soon with this and some other minor fixes,
and I think also a doc / configure change to tell people that
--with-xinput=gxi is use-at-your-own risk stuff.

Regards,
                                        Owen





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