[Fontconfig] Errors when compiling Xft

Roland Gänßler fontconfig@fontconfig.org
Fri, 21 Mar 2003 06:00:58 +0100


Hello,

I tried to compile Xft. For that I loaded fcpackage.2_1.tar.gz.

As a first step I made ./configure as usual.
Then I typed in "make".

Then I get the following log:
  
cc -g -O2 -I. -DHAVE_CONFIG_H -I/usr/X11R6/include -fPIC -DPIC -c xftcolor.c -o xftcolor.o
In file included from xftint.h:39,
                 from xftcolor.c:25:
Xft.h:52: parse error before `_XftFTlibrary'
Xft.h:52: warning: data definition has no type or storage class
Xft.h:86: parse error before `FT_UInt'
Xft.h:86: warning: no semicolon at end of struct or union
Xft.h:89: parse error before `}'
Xft.h:89: 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 `}'
Xft.h:96: warning: data definition has no type or storage class
Xft.h:190: parse error before `*'
Xft.h:256: parse error before `*'
Xft.h:262: parse error before `*'
Xft.h:295: parse error before `*'
Xft.h:353: parse error before `XftLockFace'
Xft.h:353: warning: data definition has no type or storage class
Xft.h:392: parse error before `*'
Xft.h:398: parse error before `*'
Xft.h:407: parse error before `FT_UInt'
Xft.h:417: parse error before `XftCharIndex'
Xft.h:419: warning: data definition has no type or storage class
Xft.h:460: parse error before `*'
Xft.h:471: parse error before `*'
Xft.h:492: parse error before `*'
In file included from xftint.h:41,
                 from xftcolor.c:25:
/usr/include/fontconfig/fcfreetype.h:30: parse error before `FcFreeTypeCharIndex'
/usr/include/fontconfig/fcfreetype.h:30: parse error before `face'
/usr/include/fontconfig/fcfreetype.h:30: warning: data definition has no type or storage class
/usr/include/fontconfig/fcfreetype.h:33: parse error before `face'
/usr/include/fontconfig/fcfreetype.h:36: parse error before `FT_Face'
/usr/include/fontconfig/fcfreetype.h:39: 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 `}'
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 `}'
xftint.h:155: warning: data definition has no type or storage class
xftint.h:312: parse error before `*'
xftint.h:319: parse error before `*'
xftint.h:325: parse error before `*'
xftint.h:370: parse error before `*'
make: *** [xftcolor.o] Fehler 1


Can you please tell me, what I've to do to correct the bugs and install Xft2?

Yours,
Roland Gänßler
-- 
---------------------------------

Roland Gänßler
Talstr. 231

72250 Freudenstadt


Tel.: 0172/2474941

This message was sent by Sylpheed-0.8.11a
----------------------------------