|
错误如下,要怎么解决?
In file included from xftint.h:31,
from xftcfg.c:28:
XftFreetype.h:29:31: freetype/freetype.h: No such file or directory
In file included from xftint.h:31,
from xftcfg.c:28:
XftFreetype.h:34: error: parse error before "_XftFTlibrary"
XftFreetype.h:34: error: ISO C forbids data definition with no type or storage class
XftFreetype.h:37: error: parse error before "FT_Face"
XftFreetype.h:37: warning: no semicolon at end of struct or union
XftFreetype.h:41: error: parse error before "size"
XftFreetype.h:41: error: ISO C forbids data definition with no type or storage class
XftFreetype.h:54: error: parse error before "matrix"
XftFreetype.h:54: error: ISO C forbids data definition with no type or storage class
XftFreetype.h:55: warning: ISO C does not allow extra `;' outside of a function
XftFreetype.h:63: error: parse error before '*' token
XftFreetype.h:66: error: parse error before '*' token
XftFreetype.h:69: error: parse error before '*' token
XftFreetype.h:70: error: ISO C forbids data definition with no type or storage class
XftFreetype.h:73: error: parse error before "face"
XftFreetype.h:76: error: parse error before "XftPattern"
XftFreetype.h:82: error: parse error before '*' token
In file included from xftcfg.c:28:
xftint.h:38: error: parse error before "XftValue"
xftint.h:78: error: parse error before "XftPattern"
xftint.h:78: warning: no semicolon at end of struct or union
xftint.h:79: error: ISO C forbids data definition with no type or storage class
xftint.h:82: error: parse error before '}' token
xftint.h:82: error: ISO C forbids data definition with no type or storage class
xftint.h:84: error: parse error before '*' token
xftint.h:84: error: ISO C forbids data definition with no type or storage class
xftint.h:85: error: parse error before '*' token
xftint.h:85: error: ISO C forbids data definition with no type or storage class
xftint.h:87: error: parse error before '*' token
xftint.h:87: error: ISO C forbids data definition with no type or storage class
xftint.h:95: error: parse error before '*' token
xftint.h:98: error: parse error before '*' token
xftint.h:138: error: parse error before "XftMatrix"
xftint.h:138: warning: no semicolon at end of struct or union
xftint.h:138: warning: no semicolon at end of struct or union
xftint.h:144: error: parse error before '}' token
xftint.h:144: error: conflicting types for `u'
Xft.h:132: error: previous declaration of `u'
xftint.h:144: error: ISO C forbids data definition with no type or storage classxftint.h:145: error: parse error before '}' token
xftint.h:145: error: ISO C forbids data definition with no type or storage classxftint.h:156: error: parse error before "XftValue"
xftint.h:156: warning: no semicolon at end of struct or union
xftint.h:157: error: ISO C forbids data definition with no type or storage classxftint.h:163: error: parse error before "XftExpr"
xftint.h:163: warning: no semicolon at end of struct or union
xftint.h:164: error: ISO C forbids data definition with no type or storage classxftint.h:168: error: parse error before "XftTest"
xftint.h:168: warning: no semicolon at end of struct or union
xftint.h:169: error: ISO C forbids data definition with no type or storage classxftint.h:170: error: parse error before '}' token
xftint.h:170: error: ISO C forbids data definition with no type or storage classxftint.h:250: error: parse error before '*' token
xftint.h:253: error: parse error before '*' token
xftint.h:266: error: parse error before '*' token
xftint.h:269: error: parse error before "m"
xftint.h:331: error: parse error before '*' token
xftint.h:334: error: parse error before '*' token
xftint.h:337: error: parse error before '*' token
xftint.h:340: error: parse error before '*' token
xftint.h:343: error: parse error before '*' token
xftint.h:344: error: ISO C forbids data definition with no type or storage classxftint.h:358: error: parse error before '*' token
xftint.h:359: error: ISO C forbids data definition with no type or storage classxftint.h:365: error: parse error before "XftFont"
xftint.h:371: error: parse error before "XftFont"
xftint.h:392: error: parse error before '*' token
xftint.h:393: error: parse error before "XftValue"
xftint.h:393: error: ISO C forbids data definition with no type or storage classxftint.h:395: error: parse error before '*' token
xftint.h:396: error: ISO C forbids data definition with no type or storage classxftint.h:398: error: parse error before '*' token
xftint.h:399: error: ISO C forbids data definition with no type or storage classxftint.h:401: error: parse error before '*' token
xftint.h:402: error: ISO C forbids data definition with no type or storage classxftint.h:404: error: parse error before '*' token
xftint.h:405: error: parse error before '*' token
xftint.h:405: error: ISO C forbids data definition with no type or storage classxftint.h:407: error: parse error before '*' token
xftint.h:408: error: ISO C forbids data definition with no type or storage classxftint.h:410: error: parse error before '*' token
xftint.h:411: error: ISO C forbids data definition with no type or storage classxftint.h:413: error: parse error before '*' token
xftint.h:414: error: ISO C forbids data definition with no type or storage classxftint.h:416: error: parse error before '*' token
xftint.h:417: error: parse error before '*' token
xftint.h:417: error: ISO C forbids data definition with no type or storage classxftint.h:420: error: parse error before '*' token
xftint.h:422: error: parse error before '*' token
xftint.h:423: error: parse error before "XftExpr"
xftint.h:423: error: ISO C forbids data definition with no type or storage classxftint.h:426: error: parse error before '*' token
xftint.h:445: error: parse error before "v1"
xftint.h:449: error: parse error before '*' token
xftint.h:454: error: parse error before '*' token
xftint.h:468: error: parse error before '*' token
xftint.h:471: error: parse error before '*' token
xftint.h:476: error: parse error before '*' token
xftint.h:477: error: parse error before '*' token
xftint.h:477: error: ISO C forbids data definition with no type or storage classxftint.h:506: error: parse error before '*' token
xftcfg.c:31: error: parse error before '*' token
xftcfg.c: In function `XftConfigSubstitute':
xftcfg.c:33: error: `p' undeclared (first use in this function)
xftcfg.c:33: error: (Each undeclared identifier is reported only once
xftcfg.c:33: error: for each function it appears in.)
xftcfg.c:33: error: `FcMatchPattern' undeclared (first use in this function)
xftcfg.c:34: error: `FcMatchFont' undeclared (first use in this function)
make[3]: *** [xftcfg.o] Error 1
make[3]: Leaving directory `/usr/src/4.3.0/source/xc/lib/Xft1'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/usr/src/4.3.0/source/xc/lib'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/usr/src/4.3.0/source/xc'
make: *** [install] Error 2
[root@qspy /usr/src/4.3.0/source/xc]# |
|