got still some problems. not in pango, but in xft. when i compile xft: [szhbqn@svapollo ~/src/xft-2.1.2]$ make make all-am make[1]: Entering directory `/home/szhbqn/src/xft-2.1.2' if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I/home/szhbqn/include -I/home/szhbqn/include/freetype2 -I/home/szhbqn/include -I/home/szhbqn/xft-2.1.2-sparc-sunos5.8/include -g -O2 -MT xftcolor.lo -MD -MP -MF ".deps/xftcolor.Tpo" \ -c -o xftcolor.lo `test -f 'xftcolor.c' || echo './'`xftcolor.c; \ then mv ".deps/xftcolor.Tpo" ".deps/xftcolor.Plo"; \ else rm -f ".deps/xftcolor.Tpo"; exit 1; \ fi gcc -DHAVE_CONFIG_H -I. -I. -I. -I/home/szhbqn/include -I/home/szhbqn/include/freetype2 -I/home/szhbqn/include -I/home/szhbqn/xft-2.1.2-sparc-sunos5.8/include -g -O2 -MT xftcolor.lo -MD -MP -MF .deps/xftcolor.Tpo -c xftcolor.c -fPIC -o .libs/xftcolor.o In file included from xftint.h:39, from xftcolor.c:25: Xft.h:59: parse error before "_XftFTlibrary" Xft.h:59: warning: data definition has no type or storage class Xft.h:93: parse error before "FT_UInt" Xft.h:93: warning: no semicolon at end of struct or union Xft.h:96: parse error before '}' token Xft.h:96: warning: data definition has no type or storage class Xft.h:100: parse error before "FT_UInt" Xft.h:100: warning: no semicolon at end of struct or union Xft.h:103: parse error before '}' token Xft.h:103: warning: data definition has no type or storage class Xft.h:197: parse error before '*' token Xft.h:263: parse error before '*' token Xft.h:269: parse error before '*' token Xft.h:302: parse error before '*' token Xft.h:361: parse error before "XftLockFace" Xft.h:361: warning: data definition has no type or storage class Xft.h:400: parse error before '*' token Xft.h:406: parse error before '*' token Xft.h:415: parse error before "FT_UInt" Xft.h:425: parse error before "XftCharIndex" Xft.h:427: warning: data definition has no type or storage class Xft.h:468: parse error before '*' token Xft.h:479: parse error before '*' token Xft.h:500: parse error before '*' token In file included from xftint.h:41, from xftcolor.c:25: /home/szhbqn/include/fontconfig/fcfreetype.h:30: parse error before "FcFreeTypeCharIndex" /home/szhbqn/include/fontconfig/fcfreetype.h:30: parse error before "face" /home/szhbqn/include/fontconfig/fcfreetype.h:30: warning: data definition has no type or storage class /home/szhbqn/include/fontconfig/fcfreetype.h:33: parse error before "face" /home/szhbqn/include/fontconfig/fcfreetype.h:36: parse error before "face" /home/szhbqn/include/fontconfig/fcfreetype.h:39: parse error before "FT_Face" /home/szhbqn/include/fontconfig/fcfreetype.h:42: parse error before "f" In file included from xftcolor.c:25: xftint.h:67: parse error before "FT_UInt" xftint.h:67: warning: no semicolon at end of struct or union xftint.h:68: warning: data definition has no type or storage class xftint.h:84: parse error before "FT_F26Dot6" xftint.h:84: warning: no semicolon at end of struct or union xftint.h:85: warning: data definition has no type or storage class xftint.h:86: parse error before "matrix" xftint.h:86: warning: data definition has no type or storage class xftint.h:89: parse error before "face" xftint.h:89: warning: data definition has no type or storage class xftint.h:90: warning: data definition has no type or storage class xftint.h:102: parse error before "XftFtFile" xftint.h:102: warning: no semicolon at end of struct or union xftint.h:106: warning: data definition has no type or storage class xftint.h:109: parse error before "matrix" xftint.h:109: warning: data definition has no type or storage class xftint.h:111: parse error before "load_flags" xftint.h:111: warning: data definition has no type or storage class xftint.h:119: parse error before '}' token xftint.h:129: field `info' has incomplete type xftint.h:141: parse error before "XftUcsHash" xftint.h:141: warning: no semicolon at end of struct or union xftint.h:155: parse error before '}' token xftint.h:155: warning: data definition has no type or storage class xftint.h:312: parse error before '*' token xftint.h:319: parse error before '*' token xftint.h:325: parse error before '*' token xftint.h:370: parse error before '*' token make[1]: *** [xftcolor.lo] Error 1 make[1]: Leaving directory `/home/szhbqn/src/xft-2.1.2' make: *** [all] Error 2 so i included 'freetype/fttypes.h' and most of this warning and parse errors disappear. [szhbqn@svapollo ~/src/xft-2.1.2]$ make make all-am make[1]: Entering directory `/home/szhbqn/src/xft-2.1.2' if /bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I/home/szhbqn/include -I/home/szhbqn/include/freetype2 -I/home/szhbqn/include -I/home/szhbqn/xft-2.1.2-sparc-sunos5.8/include -g -O2 -MT xftcolor.lo -MD -MP -MF ".deps/xftcolor.Tpo" \ -c -o xftcolor.lo `test -f 'xftcolor.c' || echo './'`xftcolor.c; \ then mv ".deps/xftcolor.Tpo" ".deps/xftcolor.Plo"; \ else rm -f ".deps/xftcolor.Tpo"; exit 1; \ fi gcc -DHAVE_CONFIG_H -I. -I. -I. -I/home/szhbqn/include -I/home/szhbqn/include/freetype2 -I/home/szhbqn/include -I/home/szhbqn/xft-2.1.2-sparc-sunos5.8/include -g -O2 -MT xftcolor.lo -MD -MP -MF .deps/xftcolor.Tpo -c xftcolor.c -fPIC -o .libs/xftcolor.o In file included from xftint.h:39, from xftcolor.c:25: Xft.h:59: parse error before "_XftFTlibrary" Xft.h:59: warning: data definition has no type or storage class Xft.h:361: parse error before "XftLockFace" Xft.h:361: warning: data definition has no type or storage class In file included from xftint.h:41, from xftcolor.c:25: /home/szhbqn/include/fontconfig/fcfreetype.h:30: parse error before "face" /home/szhbqn/include/fontconfig/fcfreetype.h:33: parse error before "face" /home/szhbqn/include/fontconfig/fcfreetype.h:36: parse error before "face" /home/szhbqn/include/fontconfig/fcfreetype.h:39: parse error before "FT_Face" /home/szhbqn/include/fontconfig/fcfreetype.h:42: parse error before "f" In file included from xftcolor.c:25: xftint.h:89: parse error before "FT_Face" xftint.h:89: warning: no semicolon at end of struct or union xftint.h:90: warning: data definition has no type or storage class xftint.h:102: parse error before "XftFtFile" xftint.h:102: warning: no semicolon at end of struct or union xftint.h:119: parse error before '}' token xftint.h:129: field `info' has incomplete type xftint.h:155: confused by earlier errors, bailing out make[1]: *** [xftcolor.lo] Error 1 make[1]: Leaving directory `/home/szhbqn/src/xft-2.1.2' make: *** [all] Error 2 the first error, 'extern FT_Library _XftFTlibrary', is defined in xftfreetype.c... why is it a 'parse error'??? have you got any ideas, what should I do? greets Andreas _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list