<X11/Xfuncproto.h> should #define _Xconst to either "const" or nothing depending on whether or not it detects an ANSI-C-compatible compiler. What SunOS version are you trying to build on? If not a recent 5.x (aka Solaris), you may need to install a recent X11R6 first. -Alan Coopersmith- alan.coopersmith@xxxxxxx Sun Microsystems, Inc. - Sun Software Group User Experience Engineering: G11N: X Window System a0634@xxxxxxxxxxxx wrote: > Hallo, > > i have aproblem when compiling xrender-0.8.3 on SunOS with gcc295: > > > /vol/gnu/bin/gmake all-am > gmake[1]: Entering directory `/afs/.rrz.uni-koeln.de/vol/src/sun4- > s2/graphics/xrender-0.8.3' > source='Color.c' object='Color.lo' libtool=yes \ > depfile='.deps/Color.Plo' tmpdepfile='.deps/Color.TPlo' \ > depmode=gcc /bin/ksh ./depcomp \ > /bin/ksh ./libtool --mode=compile /vol/gnu/bin/gcc295 -DHAVE_CONFIG_H -I. -I. - > I. -I/vol/graphics/include -g -O2 -c -o Color.lo `test -f 'Color.c' || > echo './'`Color.c > mkdir .libs > /vol/gnu/bin/gcc295 -DHAVE_CONFIG_H -I. -I. -I. -I/vol/graphics/include -g - > O2 -c Color.c -Wp,-MD,.deps/Color.TPlo -fPIC -o .libs/Color.o > In file included from Xrenderint.h:35, > from Color.c:25: > Xrender.h:101: parse error before `_Xconst' > Xrender.h:101: warning: no semicolon at end of struct or union > Xrender.h:105: parse error before `}' > Xrender.h:105: warning: data definition has no type or storage class > Xrender.h:109: parse error before `_Xconst' > Xrender.h:109: warning: no semicolon at end of struct or union > Xrender.h:113: parse error before `}' > Xrender.h:113: warning: data definition has no type or storage class > Xrender.h:117: parse error before `_Xconst' > Xrender.h:117: warning: no semicolon at end of struct or union > Xrender.h:121: parse error before `}' > Xrender.h:121: warning: data definition has no type or storage class > Xrender.h:187: parse error before `_Xconst' > Xrender.h:192: parse error before `_Xconst' > Xrender.h:208: parse error before `_Xconst' > Xrender.h:214: parse error before `_Xconst' > Xrender.h:222: parse error before `_Xconst' > Xrender.h:229: parse error before `_Xconst' > Xrender.h:262: parse error before `_Xconst' > Xrender.h:273: parse error before `_Xconst' > Xrender.h:282: parse error before `_Xconst' > Xrender.h:290: parse error before `_Xconst' > Xrender.h:304: parse error before `_Xconst' > Xrender.h:318: parse error before `_Xconst' > Xrender.h:332: parse error before `_Xconst' > Xrender.h:345: parse error before `_Xconst' > Xrender.h:358: parse error before `_Xconst' > Xrender.h:370: parse error before `_Xconst' > Xrender.h:380: parse error before `_Xconst' > Xrender.h:389: parse error before `_Xconst' > Xrender.h:400: parse error before `_Xconst' > Xrender.h:411: parse error before `_Xconst' > Xrender.h:422: parse error before `_Xconst' > Xrender.h:433: parse error before `_Xconst' > gmake[1]: *** [Color.lo] Error 1 > gmake[1]: Leaving directory `/afs/.rrz.uni-koeln.de/vol/src/sun4- > s2/graphics/xrender-0.8.3' > gmake: *** [all] Error 2 > > > So, what can be wrong with _Xconst ? > > Thanks in advance for your help. > > Boris > > _______________________________________________ > Fontconfig mailing list > Fontconfig@xxxxxxxxxxxxxx > http://mail.fontconfig.org/mailman/listinfo/fontconfig