compiling on SunOS 5.5.1



Hi.
When i try to compile gtk-1.1.15, it dies on the following error:

gdkim.c: In function `gdk_im_real_open':
gdkim.c:382: warning: implicit declaration of function `XSetIMValues'
gdkim.c:382: `XNDestroyCallback' undeclared (first use in this function)
gdkim.c:382: (Each undeclared identifier is reported only once
gdkim.c:382: for each function it appears in.)
gdkim.c:382: warning: comparison between pointer and integer
make[2]: *** [gdkim.lo] Error 1
make[2]: Leaving directory `/home/lgrad/07/ketilf/src/gtk+-1.1.15/gdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lgrad/07/ketilf/src/gtk+-1.1.15'
make: *** [all-recursive-am] Error 2

I also get something like the following a *LOT*:
In file included from gdkprivate.h:23,
                 from gdkim.c:22:
/local/X11R5/include/X11/Xlib.h:1882: warning: type defaults to `int' in
declaration of `XSetTransientForHint'
/local/X11R5/include/X11/Xlib.h:1890: warning: type defaults to `int' in
declaration of `XActivateScreenSaver'
/local/X11R5/include/X11/Xlib.h:1897: warning: type defaults to `int' in
declaration of `XAddHost'
/local/X11R5/include/X11/Xlib.h:1905: warning: type defaults to `int' in
declaration of `XAddHosts'
/local/X11R5/include/X11/Xlib.h:1912: warning: type defaults to `int' in
declaration of `XAddToExtensionList'
/local/X11R5/include/X11/Xlib.h:1919: warning: type defaults to `int' in
declaration of `XAddToSaveSet'
/local/X11R5/include/X11/Xlib.h:1973: warning: type defaults to `int' in
declaration of `XAllowEvents'
etc... and

In file included from gdkprivate.h:24,
                 from gdkim.c:22:
/local/X11R5/include/X11/Xutil.h:335: warning: type defaults to `int' in
declaration of `XClipBox'
/local/X11R5/include/X11/Xutil.h:361: warning: type defaults to `int' in
declaration of `XDestroyRegion'
/local/X11R5/include/X11/Xutil.h:367: warning: type defaults to `int' in
declaration of `XEmptyRegion'
/local/X11R5/include/X11/Xutil.h:374: warning: type defaults to `int' in
declaration of `XEqualRegion'
/local/X11R5/include/X11/Xutil.h:520: warning: type defaults to `int' in
declaration of `XIntersectRegion'
/local/X11R5/include/X11/Xutil.h:548: warning: type defaults to `int' in
declaration of `XOffsetRegion'
/local/X11R5/include/X11/Xutil.h:591: warning: type defaults to `int' in
declaration of `XSetClassHint'
/local/X11R5/include/X11/Xutil.h:600: warning: type defaults to `int' in
declaration of `XSetIconSizes'

Since this is apparently soon to be gtk-1.2, it would be nice if it
compiled here too out-of-the-box :) I had the same problem with 1.1.14, if
that makes a difference.

Ketil Froyn
--
The Heineken Uncertainty Principle:
        You can never be sure how many beers you had last night.

http://www.ifi.uio.no/~ketilf/       
mailto:ketilf@ifi.uio.no



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