LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 790|回复: 2

各位帮忙看看,编译xorg6.8.2通不过,按BLFS上一步一步做的

[复制链接]
发表于 2006-1-18 19:48:58 | 显示全部楼层 |阅读模式
出错提示如下:

In file included from xftcfg.c:28:
xftint.h:29:35: fontconfig/fontconfig.h: No such file or directory
In file included from XftFreetype.h:28,
                 from xftint.h:31,
                 from xftcfg.c:28:
Xft.h:89: error: parse error before "XftType"
Xft.h:89: warning: type defaults to `int' in declaration of `XftType'
Xft.h:89: error: ISO C forbids data definition with no type or storage class
Xft.h:91: error: parse error before "XftMatrix"
Xft.h:91: warning: type defaults to `int' in declaration of `XftMatrix'
Xft.h:91: error: ISO C forbids data definition with no type or storage class
Xft.h:95: error: parse error before "XftResult"
Xft.h:95: warning: type defaults to `int' in declaration of `XftResult'
Xft.h:95: error: ISO C forbids data definition with no type or storage class
Xft.h:109: error: parse error before "XftValue"
Xft.h:109: warning: type defaults to `int' in declaration of `XftValue'
Xft.h:109: error: ISO C forbids data definition with no type or storage class
Xft.h:112: error: parse error before "XftPattern"
Xft.h:112: warning: type defaults to `int' in declaration of `XftPattern'
Xft.h:112: error: ISO C forbids data definition with no type or storage class
Xft.h:114: error: parse error before "XftFontSet"
Xft.h:114: warning: type defaults to `int' in declaration of `XftFontSet'
Xft.h:114: error: ISO C forbids data definition with no type or storage class
Xft.h:124: error: parse error before "XftPattern"
Xft.h:124: warning: no semicolon at end of struct or union
Xft.h:133: error: parse error before '}' token
Xft.h:133: warning: type defaults to `int' in declaration of `XftFont'
Xft.h:133: error: ISO C forbids data definition with no type or storage class
Xft.h:142: error: parse error before "XftObjectSet"
Xft.h:142: warning: type defaults to `int' in declaration of `XftObjectSet'
Xft.h:142: error: ISO C forbids data definition with no type or storage class
Xft.h:148: error: parse error before '*' token
Xft.h:175: error: parse error before "v"
Xft.h:178: error: parse error before '*' token
Xft.h:181: error: parse error before '*' token
Xft.h:189: error: parse error before "XftPattern"
Xft.h:192: error: parse error before "XftPattern"
Xft.h:216: error: parse error before "XftFont"
Xft.h:225: error: parse error before "XftFont"
Xft.h:234: error: parse error before "XftFont"
Xft.h:243: error: parse error before "XftFont"
Xft.h:266: error: parse error before "XftFont"
Xft.h:273: error: parse error before "XftFont"
Xft.h:280: error: parse error before "XftFont"
Xft.h:287: error: parse error before "XftFont"
Xft.h:293: error: parse error before '*' token
Xft.h:294: error: parse error before "XftPattern"
Xft.h:294: warning: type defaults to `int' in declaration of `XftFontMatch'
Xft.h:294: error: ISO C forbids data definition with no type or storage class
Xft.h:296: error: parse error before '*' token
Xft.h:297: error: parse error before "XftPattern"
Xft.h:297: warning: type defaults to `int' in declaration of `XftFontOpenPattern'
Xft.h:297: error: ISO C forbids data definition with no type or storage class
Xft.h:299: error: parse error before '*' token
Xft.h:300: warning: type defaults to `int' in declaration of `XftFontOpen'
Xft.h:300: error: ISO C forbids data definition with no type or storage class
Xft.h:302: error: parse error before '*' token
Xft.h:303: warning: type defaults to `int' in declaration of `XftFontOpenName'
Xft.h:303: error: ISO C forbids data definition with no type or storage class
Xft.h:305: error: parse error before '*' token
Xft.h:306: warning: type defaults to `int' in declaration of `XftFontOpenXlfd'
Xft.h:306: error: ISO C forbids data definition with no type or storage class
Xft.h:309: error: parse error before "XftFont"
Xft.h:312: error: parse error before "XftFont"
Xft.h:317: error: parse error before '*' token
Xft.h:318: warning: type defaults to `int' in declaration of `XftFontSetCreate'
Xft.h:318: error: ISO C forbids data definition with no type or storage class
Xft.h:321: error: parse error before '*' token
Xft.h:324: error: parse error before '*' token
Xft.h:338: error: parse error before '*' token
Xft.h:339: warning: type defaults to `int' in declaration of `XftObjectSetCreate'
Xft.h:339: error: ISO C forbids data definition with no type or storage class
Xft.h:342: error: parse error before '*' token
Xft.h:345: error: parse error before '*' token
Xft.h:347: error: parse error before '*' token
Xft.h:348: warning: type defaults to `int' in declaration of `XftObjectSetVaBuild'
Xft.h:348: error: ISO C forbids data definition with no type or storage class
Xft.h:350: error: parse error before '*' token
Xft.h:351: warning: type defaults to `int' in declaration of `XftObjectSetBuild'Xft.h:351: error: ISO C forbids data definition with no type or storage class
Xft.h:353: error: parse error before '*' token
Xft.h:354: error: parse error before '*' token
Xft.h:357: warning: type defaults to `int' in declaration of `XftListFontSets'
Xft.h:357: error: ISO C forbids data definition with no type or storage class
Xft.h:359: error: parse error before '*' token
Xft.h:362: error: parse error before "XftPattern"
Xft.h:363: warning: type defaults to `int' in declaration of `XftListFontsPatternObjects'
Xft.h:363: error: ISO C forbids data definition with no type or storage class
Xft.h:365: error: parse error before '*' token
Xft.h:368: warning: type defaults to `int' in declaration of `XftListFonts'
Xft.h:368: error: ISO C forbids data definition with no type or storage class
Xft.h:371: error: parse error before '*' token
Xft.h:372: error: parse error before '*' token
Xft.h:375: warning: type defaults to `int' in declaration of `XftFontSetMatch'
Xft.h:375: error: ISO C forbids data definition with no type or storage class
Xft.h:379: warning: type defaults to `int' in declaration of `XftMatrix'
Xft.h:379: error: parse error before '*' token
Xft.h:382: error: parse error before '*' token
Xft.h:385: error: parse error before '*' token
Xft.h:388: error: parse error before '*' token
Xft.h:391: error: parse error before '*' token
Xft.h:394: error: parse error before '*' token
Xft.h:395: warning: type defaults to `int' in declaration of `XftNameParse'
Xft.h:395: error: ISO C forbids data definition with no type or storage class
Xft.h:398: error: parse error before '*' token
Xft.h:401: error: parse error before '*' token
Xft.h:402: warning: type defaults to `int' in declaration of `XftPatternCreate'
Xft.h:402: error: ISO C forbids data definition with no type or storage class
Xft.h:404: error: parse error before '*' token
Xft.h:405: error: parse error before '*' token
Xft.h:405: warning: type defaults to `int' in declaration of `XftPatternDuplicate'
Xft.h:405: error: ISO C forbids data definition with no type or storage class
Xft.h:408: error: parse error before "v"
Xft.h:411: error: parse error before '*' token
Xft.h:414: error: parse error before '*' token
Xft.h:417: error: parse error before "XftPatternGet"
Xft.h:417: error: parse error before '*' token
Xft.h:417: warning: type defaults to `int' in declaration of `XftPatternGet'
Xft.h:417: error: ISO C forbids data definition with no type or storage class
Xft.h:420: error: parse error before '*' token
Xft.h:423: error: parse error before '*' token
Xft.h:426: error: parse error before '*' token
Xft.h:429: error: parse error before '*' token
Xft.h:432: error: parse error before '*' token
Xft.h:435: error: parse error before '*' token
Xft.h:438: error: parse error before "XftPatternGetInteger"
Xft.h:438: error: parse error before '*' token
Xft.h:438: warning: type defaults to `int' in declaration of `XftPatternGetInteger'
Xft.h:438: error: ISO C forbids data definition with no type or storage class
Xft.h:441: error: parse error before "XftPatternGetDouble"
Xft.h:441: error: parse error before '*' token
Xft.h:441: warning: type defaults to `int' in declaration of `XftPatternGetDouble'
Xft.h:441: error: ISO C forbids data definition with no type or storage class
Xft.h:444: error: parse error before "XftPatternGetString"
Xft.h:444: error: parse error before '*' token
Xft.h:444: warning: type defaults to `int' in declaration of `XftPatternGetString'
Xft.h:444: error: ISO C forbids data definition with no type or storage class
Xft.h:447: error: parse error before "XftPatternGetMatrix"
Xft.h:447: error: parse error before '*' token
Xft.h:447: warning: type defaults to `int' in declaration of `XftPatternGetMatrix'
Xft.h:447: error: ISO C forbids data definition with no type or storage class
Xft.h:450: error: parse error before "XftPatternGetBool"
Xft.h:450: error: parse error before '*' token
Xft.h:450: warning: type defaults to `int' in declaration of `XftPatternGetBool'Xft.h:450: error: ISO C forbids data definition with no type or storage class
Xft.h:452: error: parse error before '*' token
Xft.h:453: error: parse error before '*' token
Xft.h:453: warning: type defaults to `int' in declaration of `XftPatternVaBuild'Xft.h:453: error: ISO C forbids data definition with no type or storage class
Xft.h:455: error: parse error before '*' token
Xft.h:456: error: parse error before '*' token
Xft.h:456: warning: type defaults to `int' in declaration of `XftPatternBuild'
Xft.h:456: error: ISO C forbids data definition with no type or storage class
Xft.h:475: error: parse error before '*' token
Xft.h:476: warning: type defaults to `int' in declaration of `XftXlfdParse'
Xft.h:476: error: ISO C forbids data definition with no type or storage class
Xft.h:479: error: parse error before "XftPattern"
In file included from xftint.h:31,
                 from xftcfg.c:28:
XftFreetype.h:29:22: ft2build.h: No such file or directory
XftFreetype.h:30:10: #include expects "FILENAME" or <FILENAME>
In file included from xftint.h:31,
                 from xftcfg.c:28:
XftFreetype.h:35: error: parse error before "_XftFTlibrary"
XftFreetype.h:35: warning: type defaults to `int' in declaration of `_XftFTlibrary'
XftFreetype.h:35: error: ISO C forbids data definition with no type or storage class
XftFreetype.h:38: error: parse error before "FT_Face"
XftFreetype.h:38: warning: no semicolon at end of struct or union
XftFreetype.h:42: error: parse error before "size"
XftFreetype.h:42: warning: type defaults to `int' in declaration of `size'
XftFreetype.h:42: error: ISO C forbids data definition with no type or storage class
XftFreetype.h:55: error: parse error before "matrix"
XftFreetype.h:55: warning: type defaults to `int' in declaration of `matrix'
XftFreetype.h:55: error: ISO C forbids data definition with no type or storage class
XftFreetype.h:56: warning: ISO C does not allow extra `;' outside of a function
XftFreetype.h:64: error: parse error before '*' token
XftFreetype.h:67: error: parse error before '*' token
XftFreetype.h:70: error: parse error before '*' token
XftFreetype.h:71: warning: type defaults to `int' in declaration of `XftFreeTypeQuery'
XftFreetype.h:71: error: ISO C forbids data definition with no type or storage class
XftFreetype.h:74: error: parse error before "face"
XftFreetype.h:77: error: parse error before "XftPattern"
XftFreetype.h:83: 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: warning: type defaults to `int' in declaration of `coreFonts'
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: warning: type defaults to `int' in declaration of `XftDisplayInfo'
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: warning: type defaults to `int' in declaration of `_XftGlobalFontSet'
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: warning: type defaults to `int' in declaration of `_XftDisplayInfo'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: warning: type defaults to `int' in declaration of `_XftFontSet'
xftint.h:87: error: ISO C forbids data definition with no type or storage class
xftint.h:95: warning: type defaults to `int' in declaration of `FcPattern'
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: warning: type defaults to `int' in declaration of `u'
xftint.h:144: error: conflicting types for 'u'
Xft.h:132: error: previous declaration of 'u' was here
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: warning: type defaults to `int' in declaration of `XftExpr'
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: warning: type defaults to `int' in declaration of `XftTest'
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: warning: type defaults to `int' in declaration of `XftEdit'
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: warning: type defaults to `int' in declaration of `edit'
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: warning: type defaults to `int' in declaration of `XftSubst'
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: warning: type defaults to `int' in declaration of `_XftDisplayInfoGet'
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: warning: type defaults to `int' in declaration of `XftDisplayGetFontSet'
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: warning: type defaults to `int' in declaration of `XftTestCreate'
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: warning: type defaults to `int' in declaration of `XftExprCreateInteger'
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: warning: type defaults to `int' in declaration of `XftExprCreateDouble'
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: warning: type defaults to `int' in declaration of `XftExprCreateString'
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: warning: type defaults to `int' in declaration of `XftMatrix'
xftint.h:405: error: parse error before '*' token
xftint.h:405: warning: type defaults to `int' in declaration of `XftExprCreateMatrix'
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: warning: type defaults to `int' in declaration of `XftExprCreateBool'
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: warning: type defaults to `int' in declaration of `XftExprCreateNil'
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: warning: type defaults to `int' in declaration of `XftExprCreateField'
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: warning: type defaults to `int' in declaration of `XftExprCreateOp'
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: warning: type defaults to `int' in declaration of `XftEditCreate'
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: warning: type defaults to `int' in declaration of `XftMatrix'
xftint.h:477: error: parse error before '*' token
xftint.h:477: warning: type defaults to `int' in declaration of `_XftSaveMatrix'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: warning: implicit declaration of function `FcConfigSubstitute'
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[4]: *** [xftcfg.o] Error 1
make[4]: Leaving directory `/usr/src/xcbuild/lib/Xft1'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/xcbuild/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/xcbuild'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/usr/src/xcbuild'
make: *** [World] Error 2
发表于 2006-1-18 20:44:07 | 显示全部楼层
没有安装 fontconfig
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-1-18 21:18:47 | 显示全部楼层
感谢youbest兄
把 fontconfig 的依赖包装了,却忘记装 fontconfig 。
决定重新再编译一次试试。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表