Problems compiling gtk+-2.40 on Solaris 8



I'm having issues compiling gtk 2.40 on Solaris 8. I've dumped  the output from make below. I've corrected issues I can identify but have no clue how to fix this. I'll appreciate every tips and hints.I need gtk to compile abiword on solaris.
it seems sonthing is wrong with my Xlib.h, I have trimmed the dump to fit
 
Thanks a million !

 
> make
make  all-recursive
..everythink ok here .
Making all in x11
make[4]: Entering directory `/export/home/dotun/gtk+-2.4.0/gdk/x11'
if /bin/bash ../../libtool --mode=compile /usr/local/bin/gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -threads -DXTHREADS -I/usr/local/include/glib- 2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/X11R6/include -I/usr/openwin/include -I/usr/local/include/freetype2      -L/usr/local/include/freetpye2  -g -O2 -Wall -MT gdkasync.lo -MD -MP -MF ".deps/gdkasync.Tpo" \
  -c -o gdkasync.lo `test -f 'gdkasync.c' || echo './'`gdkasync.c; \
then mv -f ".deps/gdkasync.Tpo" ".deps/gdkasync.Plo"; \
else rm -f ".deps/gdkasync.Tpo"; exit 1; \
fi
 /usr/local/bin/gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DGDK_COMPILATION -I../.. -I../../gdk -I../../gdk -DG_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DG_DISABLE_CAST_CHECKS -threads -DXTHREADS -I/usr/local/include/glib- 2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/X11R6/include -I/usr/openwin/include -I/usr/local/include/freetype2 -L/usr/local/include/freetpye2 -g -O2 -Wall -MT gdkasync.lo -MD -MP -MF .deps/gdkasync.Tpo -c gdkasync.c  -fPIC -DPIC -o .libs/gdkasync.o
In file included from /usr/X11R6/include/X11/Xlibint.h:45,
                 from gdkasync.c:47:
/usr/X11R6/include/X11/Xlib.h:2063: warning: type defaults to `int' in declaration of `XSetTransientForHint'
/usr/X11R6/include/X11/Xlib.h:2071: warning: type defaults to `int' in declaration of `XActivateScreenSaver'
/usr/X11R6/include/X11/Xlib.h:2078: warning: type defaults to `int' in declaration of `XAddHost'
/usr/X11R6/include/X11/Xlib.h:2086: warning: type defaults to `int' in declaration of `XAddHosts'
/usr/X11R6/include/X11/Xlib.h:4162: warning: type defaults to `int' in declaration of `XWindowEvent'
In file included from /usr/include/string.h:18,
                 from /usr/X11R6/include/X11/Xlibint.h:201,
                 from gdkasync.c:47:
/usr/include/iso/string_iso.h:62: error: parse error before '(' token
/usr/include/iso/string_iso.h:62: error: `bcopy' declared as function returning a function
/usr/include/iso/string_iso.h:62: error: conflicting types for 'bcopy'
/usr/include/iso/string_iso.h:62: error: conflicting types for 'bcopy'
/usr/include/iso/string_iso.h:62: error: parse error before "char"
In file included from gdkasync.c:47:
/usr/X11R6/include/X11/Xlibint.h:842: warning: type defaults to `int' in declaration of `_XFlush'
/usr/X11R6/include/X11/Xlibint.h:853: warning: type defaults to `int' in declaration of `_XReadEvents'
/usr/X11R6/include/X11/Xlibint.h:860: warning: type defaults to `int' in declaration of `_XRead'
/usr/X11R6/include/X11/Xlibint.h:867: warning: type defaults to `int' in declaration of `_XReadPad'
/usr/X11R6/include/X11/Xlibint.h:874: warning: type defaults to `int' in declaration of `_XSend'
/usr/X11R6/include/X11/Xlibint.h:888: warning: type defaults to `int' in declaration of `_XEnq'
/usr/X11R6/include/X11/Xlibint.h:895: warning: type defaults to `int' in declaration of `_XDeq'
In file included from gdkx.h:34,
                 from gdkasync.c:49:
/usr/X11R6/include/X11/Xutil.h:363: warning: type defaults to `int' in declaration of `XClipBox'
/usr/X11R6/include/X11/Xutil.h:389: warning: type defaults to `int' in declaration of `XDestroyRegion'
/usr/X11R6/include/X11/Xutil.h:395: warning: type defaults to `int' in declaration of `XEmptyRegion'
/usr/X11R6/include/X11/Xutil.h:402: warning: type defaults to `int' in declaration of `XEqualRegion'
/usr/X11R6/include/X11/Xutil.h:548: warning: type defaults to `int' in declaration of `XIntersectRegion'
/usr/X11R6/include/X11/Xutil.h:584: warning: type defaults to `int' in declaration of `XOffsetRegion'
/usr/X11R6/include/X11/Xutil.h:627: warning: type defaults to `int' in declaration /usr/X11R6/include/X11/Xutil.h:871: warning: type defaults to `int' in declaration of `XUnionRectWithRegion'
/usr/X11R6/include/X11/Xutil.h:879: warning: type defaults to `int' in declaration of `XUnionRegion'
/usr/X11R6/include/X11/Xutil.h:903: warning: type defaults to `int' in declaration of `XXorRegion'
gdkasync.c: In function `send_event_handler':
gdkasync.c:148: warning: implicit declaration of function `_XDeqAsyncHandler'
make[4]: *** [gdkasync.lo] Error 1
make[4]: Leaving directory `/export/home/dotun/gtk+-2.4.0/gdk/x11'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/export/home/dotun/gtk+-2.4.0/gdk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/export/home/dotun/gtk+-2.4.0/gdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/export/home/dotun/gtk+- 2.4.0'
make: *** [all] Error 2

_______________________________
Dotun Olafunmiloye
dotuno gmail com
 


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