LinuxSir.cn,穿越时空的Linuxsir!

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

Xorg 6.9.0 编译错误……

[复制链接]
发表于 2006-9-23 23:03:03 | 显示全部楼层 |阅读模式
我已经装了libpng,编译时输出如下(make World 出错后又重新make):
  1. make[1]: Entering directory `/root/build'
  2. make[1]: Nothing to be done for `xmakefile-exists'.
  3. make[1]: Leaving directory `/root/build'
  4. make[1]: Entering directory `/root/build'
  5. making all in ./include...
  6. make[2]: Entering directory `/root/build/include'
  7. making all in include/bitmaps...
  8. make[3]: Entering directory `/root/build/include/bitmaps'
  9. make[3]: Nothing to be done for `all'.
  10. make[3]: Leaving directory `/root/build/include/bitmaps'
  11. making all in include/extensions...
  12. make[3]: Entering directory `/root/build/include/extensions'
  13. make[3]: Nothing to be done for `all'.
  14. make[3]: Leaving directory `/root/build/include/extensions'
  15. making all in include/fonts...
  16. make[3]: Entering directory `/root/build/include/fonts'
  17. make[3]: Nothing to be done for `all'.
  18. make[3]: Leaving directory `/root/build/include/fonts'
  19. making all in include/GL...
  20. make[3]: Entering directory `/root/build/include/GL'
  21. make[3]: Nothing to be done for `all'.
  22. make[3]: Leaving directory `/root/build/include/GL'
  23. make[2]: Leaving directory `/root/build/include'
  24. making all in ./config...
  25. make[2]: Entering directory `/root/build/config'
  26. making all in config/cf...
  27. make[3]: Entering directory `/root/build/config/cf'
  28. make[3]: Nothing to be done for `all'.
  29. make[3]: Leaving directory `/root/build/config/cf'
  30. making all in config/imake...
  31. make[3]: Entering directory `/root/build/config/imake'
  32. make[3]: Nothing to be done for `all'.
  33. make[3]: Leaving directory `/root/build/config/imake'
  34. making all in config/makedepend...
  35. make[3]: Entering directory `/root/build/config/makedepend'
  36. make[3]: Nothing to be done for `all'.
  37. make[3]: Leaving directory `/root/build/config/makedepend'
  38. making all in config/util...
  39. make[3]: Entering directory `/root/build/config/util'
  40. make[3]: Nothing to be done for `all'.
  41. make[3]: Leaving directory `/root/build/config/util'
  42. make[2]: Leaving directory `/root/build/config'
  43. making all in ./lib...
  44. make[2]: Entering directory `/root/build/lib'
  45. making all in lib/xtrans...
  46. make[3]: Entering directory `/root/build/lib/xtrans'
  47. make[3]: Nothing to be done for `all'.
  48. make[3]: Leaving directory `/root/build/lib/xtrans'
  49. making all in lib/Xau...
  50. make[3]: Entering directory `/root/build/lib/Xau'
  51. make[3]: Leaving directory `/root/build/lib/Xau'
  52. making all in lib/Xdmcp...
  53. make[3]: Entering directory `/root/build/lib/Xdmcp'
  54. make[3]: Leaving directory `/root/build/lib/Xdmcp'
  55. making all in lib/X11...
  56. make[3]: Entering directory `/root/build/lib/X11'
  57. making all in lib/X11/xlibi18n...
  58. make[4]: Entering directory `/root/build/lib/X11/xlibi18n'
  59. making all in lib/X11/xlibi18n/lc...
  60. make[5]: Entering directory `/root/build/lib/X11/xlibi18n/lc'
  61. making all in lib/X11/xlibi18n/lc/gen...
  62. make[6]: Entering directory `/root/build/lib/X11/xlibi18n/lc/gen'
  63. rm -f ../../../../../exports/lib/locale/lib/common/xlibi18n.so.2
  64. cd ../../../../../exports/lib/locale/lib/common && ln -s ../../../../../lib/X11/xlibi18n/lc/gen/libxlibi18n.so.2 ./xlibi18n.so.2
  65. make[6]: Leaving directory `/root/build/lib/X11/xlibi18n/lc/gen'
  66. making all in lib/X11/xlibi18n/lc/def...
  67. make[6]: Entering directory `/root/build/lib/X11/xlibi18n/lc/def'
  68. rm -f ../../../../../exports/lib/locale/lib/common/xlcDef.so.2
  69. cd ../../../../../exports/lib/locale/lib/common && ln -s ../../../../../lib/X11/xlibi18n/lc/def/libxlcDef.so.2 ./xlcDef.so.2
  70. make[6]: Leaving directory `/root/build/lib/X11/xlibi18n/lc/def'
  71. making all in lib/X11/xlibi18n/lc/Utf8...
  72. make[6]: Entering directory `/root/build/lib/X11/xlibi18n/lc/Utf8'
  73. rm -f ../../../../../exports/lib/locale/lib/common/xlcUTF8Load.so.2
  74. cd ../../../../../exports/lib/locale/lib/common && ln -s ../../../../../lib/X11/xlibi18n/lc/Utf8/libxlcUTF8Load.so.2 ./xlcUTF8Load.so.2
  75. make[6]: Leaving directory `/root/build/lib/X11/xlibi18n/lc/Utf8'
  76. making all in lib/X11/xlibi18n/lc/xlocale...
  77. make[6]: Entering directory `/root/build/lib/X11/xlibi18n/lc/xlocale'
  78. rm -f ../../../../../exports/lib/locale/lib/common/xlocale.so.2
  79. cd ../../../../../exports/lib/locale/lib/common && ln -s ../../../../../lib/X11/xlibi18n/lc/xlocale/libxlocale.so.2 ./xlocale.so.2
  80. make[6]: Leaving directory `/root/build/lib/X11/xlibi18n/lc/xlocale'
  81. make[5]: Leaving directory `/root/build/lib/X11/xlibi18n/lc'
  82. making all in lib/X11/xlibi18n/im...
  83. make[5]: Entering directory `/root/build/lib/X11/xlibi18n/im'
  84. making all in lib/X11/xlibi18n/im/ximcp...
  85. make[6]: Entering directory `/root/build/lib/X11/xlibi18n/im/ximcp'
  86. rm -f ../../../../../exports/lib/locale/lib/common/ximcp.so.2
  87. cd ../../../../../exports/lib/locale/lib/common && ln -s ../../../../../lib/X11/xlibi18n/im/ximcp/libximcp.so.2 ./ximcp.so.2
  88. make[6]: Leaving directory `/root/build/lib/X11/xlibi18n/im/ximcp'
  89. make[5]: Leaving directory `/root/build/lib/X11/xlibi18n/im'
  90. making all in lib/X11/xlibi18n/om...
  91. make[5]: Entering directory `/root/build/lib/X11/xlibi18n/om'
  92. making all in lib/X11/xlibi18n/om/generic...
  93. make[6]: Entering directory `/root/build/lib/X11/xlibi18n/om/generic'
  94. rm -f ../../../../../exports/lib/locale/lib/common/xomGeneric.so.2
  95. cd ../../../../../exports/lib/locale/lib/common && ln -s ../../../../../lib/X11/xlibi18n/om/generic/libxomGeneric.so.2 ./xomGeneric.so.2
  96. make[6]: Leaving directory `/root/build/lib/X11/xlibi18n/om/generic'
  97. make[5]: Leaving directory `/root/build/lib/X11/xlibi18n/om'
  98. make[4]: Leaving directory `/root/build/lib/X11/xlibi18n'
  99. make[3]: Leaving directory `/root/build/lib/X11'
  100. making all in lib/oldX...
  101. make[3]: Entering directory `/root/build/lib/oldX'
  102. make[3]: Leaving directory `/root/build/lib/oldX'
  103. making all in lib/ICE...
  104. make[3]: Entering directory `/root/build/lib/ICE'
  105. make[3]: Leaving directory `/root/build/lib/ICE'
  106. making all in lib/SM...
  107. make[3]: Entering directory `/root/build/lib/SM'
  108. make[3]: Leaving directory `/root/build/lib/SM'
  109. making all in lib/Xext...
  110. make[3]: Entering directory `/root/build/lib/Xext'
  111. make[3]: Leaving directory `/root/build/lib/Xext'
  112. making all in lib/Xt...
  113. make[3]: Entering directory `/root/build/lib/Xt'
  114. make[3]: Leaving directory `/root/build/lib/Xt'
  115. making all in lib/Xss...
  116. make[3]: Entering directory `/root/build/lib/Xss'
  117. make[3]: Leaving directory `/root/build/lib/Xss'
  118. making all in lib/Xxf86misc...
  119. make[3]: Entering directory `/root/build/lib/Xxf86misc'
  120. make[3]: Leaving directory `/root/build/lib/Xxf86misc'
  121. making all in lib/Xxf86vm...
  122. make[3]: Entering directory `/root/build/lib/Xxf86vm'
  123. make[3]: Leaving directory `/root/build/lib/Xxf86vm'
  124. making all in lib/Xxf86dga...
  125. make[3]: Entering directory `/root/build/lib/Xxf86dga'
  126. make[3]: Leaving directory `/root/build/lib/Xxf86dga'
  127. making all in lib/Xxf86rush...
  128. make[3]: Entering directory `/root/build/lib/Xxf86rush'
  129. make[3]: Leaving directory `/root/build/lib/Xxf86rush'
  130. making all in lib/Xmu...
  131. make[3]: Entering directory `/root/build/lib/Xmu'
  132. make[3]: Leaving directory `/root/build/lib/Xmu'
  133. making all in lib/Xmuu...
  134. make[3]: Entering directory `/root/build/lib/Xmuu'
  135. make[3]: Leaving directory `/root/build/lib/Xmuu'
  136. making all in lib/Xpm...
  137. make[3]: Entering directory `/root/build/lib/Xpm'
  138. make[3]: Leaving directory `/root/build/lib/Xpm'
  139. making all in lib/Xp...
  140. make[3]: Entering directory `/root/build/lib/Xp'
  141. make[3]: Leaving directory `/root/build/lib/Xp'
  142. making all in lib/XprintUtil...
  143. make[3]: Entering directory `/root/build/lib/XprintUtil'
  144. make[3]: Leaving directory `/root/build/lib/XprintUtil'
  145. making all in lib/XprintAppUtil...
  146. make[3]: Entering directory `/root/build/lib/XprintAppUtil'
  147. make[3]: Leaving directory `/root/build/lib/XprintAppUtil'
  148. making all in lib/Xaw6...
  149. make[3]: Entering directory `/root/build/lib/Xaw6'
  150. make[3]: Leaving directory `/root/build/lib/Xaw6'
  151. making all in lib/Xaw7...
  152. make[3]: Entering directory `/root/build/lib/Xaw7'
  153. make[3]: Leaving directory `/root/build/lib/Xaw7'
  154. making all in lib/Xaw...
  155. make[3]: Entering directory `/root/build/lib/Xaw'
  156. make[3]: Leaving directory `/root/build/lib/Xaw'
  157. making all in lib/Xi...
  158. make[3]: Entering directory `/root/build/lib/Xi'
  159. make[3]: Leaving directory `/root/build/lib/Xi'
  160. making all in lib/Xtst...
  161. make[3]: Entering directory `/root/build/lib/Xtst'
  162. make[3]: Leaving directory `/root/build/lib/Xtst'
  163. making all in lib/FS...
  164. make[3]: Entering directory `/root/build/lib/FS'
  165. make[3]: Leaving directory `/root/build/lib/FS'
  166. making all in lib/xkbfile...
  167. make[3]: Entering directory `/root/build/lib/xkbfile'
  168. make[3]: Leaving directory `/root/build/lib/xkbfile'
  169. making all in lib/xkbui...
  170. make[3]: Entering directory `/root/build/lib/xkbui'
  171. make[3]: Leaving directory `/root/build/lib/xkbui'
  172. making all in lib/lbxutil...
  173. make[3]: Entering directory `/root/build/lib/lbxutil'
  174. making all in lib/lbxutil/lbx_zlib...
  175. make[4]: Entering directory `/root/build/lib/lbxutil/lbx_zlib'
  176. make[4]: Nothing to be done for `all'.
  177. make[4]: Leaving directory `/root/build/lib/lbxutil/lbx_zlib'
  178. making all in lib/lbxutil/delta...
  179. make[4]: Entering directory `/root/build/lib/lbxutil/delta'
  180. make[4]: Nothing to be done for `all'.
  181. make[4]: Leaving directory `/root/build/lib/lbxutil/delta'
  182. making all in lib/lbxutil/image...
  183. make[4]: Entering directory `/root/build/lib/lbxutil/image'
  184. make[4]: Nothing to be done for `all'.
  185. make[4]: Leaving directory `/root/build/lib/lbxutil/image'
  186. make[3]: Leaving directory `/root/build/lib/lbxutil'
  187. making all in lib/Xv...
  188. make[3]: Entering directory `/root/build/lib/Xv'
  189. make[3]: Leaving directory `/root/build/lib/Xv'
  190. making all in lib/GL...
  191. make[3]: Entering directory `/root/build/lib/GL'
  192. making all in lib/GL/mesa...
  193. make[4]: Entering directory `/root/build/lib/GL/mesa'
  194. making all in lib/GL/mesa/x86...
  195. make[5]: Entering directory `/root/build/lib/GL/mesa/x86'
  196. make[5]: Leaving directory `/root/build/lib/GL/mesa/x86'
  197. making all in lib/GL/mesa/array_cache...
  198. make[5]: Entering directory `/root/build/lib/GL/mesa/array_cache'
  199. make[5]: Leaving directory `/root/build/lib/GL/mesa/array_cache'
  200. making all in lib/GL/mesa/main...
  201. make[5]: Entering directory `/root/build/lib/GL/mesa/main'
  202. make[5]: Leaving directory `/root/build/lib/GL/mesa/main'
  203. making all in lib/GL/mesa/math...
  204. make[5]: Entering directory `/root/build/lib/GL/mesa/math'
  205. make[5]: Leaving directory `/root/build/lib/GL/mesa/math'
  206. making all in lib/GL/mesa/swrast...
  207. make[5]: Entering directory `/root/build/lib/GL/mesa/swrast'
  208. make[5]: Leaving directory `/root/build/lib/GL/mesa/swrast'
  209. making all in lib/GL/mesa/swrast_setup...
  210. make[5]: Entering directory `/root/build/lib/GL/mesa/swrast_setup'
  211. make[5]: Leaving directory `/root/build/lib/GL/mesa/swrast_setup'
  212. making all in lib/GL/mesa/tnl...
  213. make[5]: Entering directory `/root/build/lib/GL/mesa/tnl'
  214. make[5]: Leaving directory `/root/build/lib/GL/mesa/tnl'
  215. making all in lib/GL/mesa/tnl_dd...
  216. make[5]: Entering directory `/root/build/lib/GL/mesa/tnl_dd'
  217. make[5]: Leaving directory `/root/build/lib/GL/mesa/tnl_dd'
  218. making all in lib/GL/mesa/shader...
  219. make[5]: Entering directory `/root/build/lib/GL/mesa/shader'
  220. making all in lib/GL/mesa/shader/grammar...
  221. make[6]: Entering directory `/root/build/lib/GL/mesa/shader/grammar'
  222. make[6]: Leaving directory `/root/build/lib/GL/mesa/shader/grammar'
  223. making all in lib/GL/mesa/shader/slang...
  224. make[6]: Entering directory `/root/build/lib/GL/mesa/shader/slang'
  225. making all in lib/GL/mesa/shader/slang/library...
  226. make[7]: Entering directory `/root/build/lib/GL/mesa/shader/slang/library'
  227. make[7]: Nothing to be done for `all'.
  228. make[7]: Leaving directory `/root/build/lib/GL/mesa/shader/slang/library'
  229. make[6]: Leaving directory `/root/build/lib/GL/mesa/shader/slang'
  230. make[5]: Leaving directory `/root/build/lib/GL/mesa/shader'
  231. make[4]: Leaving directory `/root/build/lib/GL/mesa'
  232. making all in lib/GL/glx...
  233. make[4]: Entering directory `/root/build/lib/GL/glx'
  234. make[4]: Leaving directory `/root/build/lib/GL/glx'
  235. making all in lib/GL/dri/drm...
  236. make[4]: Entering directory `/root/build/lib/GL/dri/drm'
  237. make[4]: Leaving directory `/root/build/lib/GL/dri/drm'
  238. making all in lib/GL/GL...
  239. make[4]: Entering directory `/root/build/lib/GL/GL'
  240. make[4]: Nothing to be done for `all'.
  241. make[4]: Leaving directory `/root/build/lib/GL/GL'
  242. making all in lib/GL/mesa/drivers/osmesa...
  243. make[4]: Entering directory `/root/build/lib/GL/mesa/drivers/osmesa'
  244. make[4]: Leaving directory `/root/build/lib/GL/mesa/drivers/osmesa'
  245. making all in lib/GL/mesa/drivers/dri...
  246. make[4]: Entering directory `/root/build/lib/GL/mesa/drivers/dri'
  247. making all in lib/GL/mesa/drivers/dri/common...
  248. make[5]: Entering directory `/root/build/lib/GL/mesa/drivers/dri/common'
  249. make[5]: Leaving directory `/root/build/lib/GL/mesa/drivers/dri/common'
  250. making all in lib/GL/mesa/drivers/dri/i810...
  251. make[5]: Entering directory `/root/build/lib/GL/mesa/drivers/dri/i810'
  252. rm -f ../../../../../../exports/lib/modules/dri/i810_dri.so
  253. + cd ../../../../../../exports/lib/modules/dri
  254. + ln -s ../../../../lib/GL/mesa/drivers/dri/i810/i810_dri.so .
  255. make[5]: Leaving directory `/root/build/lib/GL/mesa/drivers/dri/i810'
  256. making all in lib/GL/mesa/drivers/dri/i915...
  257. make[5]: Entering directory `/root/build/lib/GL/mesa/drivers/dri/i915'
  258. rm -f ../../../../../../exports/lib/modules/dri/i915_dri.so
  259. + cd ../../../../../../exports/lib/modules/dri
  260. + ln -s ../../../../lib/GL/mesa/drivers/dri/i915/i915_dri.so .
  261. make[5]: Leaving directory `/root/build/lib/GL/mesa/drivers/dri/i915'
  262. making all in lib/GL/mesa/drivers/dri/sis...
  263. make[5]: Entering directory `/root/build/lib/GL/mesa/drivers/dri/sis'
  264. rm -f ../../../../../../exports/lib/modules/dri/sis_dri.so
  265. + cd ../../../../../../exports/lib/modules/dri
  266. + ln -s ../../../../lib/GL/mesa/drivers/dri/sis/sis_dri.so .
  267. make[5]: Leaving directory `/root/build/lib/GL/mesa/drivers/dri/sis'
  268. making all in lib/GL/mesa/drivers/dri/mga...
  269. make[5]: Entering directory `/root/build/lib/GL/mesa/drivers/dri/mga'
  270. rm -f ../../../../../../exports/lib/modules/dri/mga_dri.so
  271. + cd ../../../../../../exports/lib/modules/dri
  272. + ln -s ../../../../lib/GL/mesa/drivers/dri/mga/mga_dri.so .
  273. make[5]: Leaving directory `/root/build/lib/GL/mesa/drivers/dri/mga'
  274. making all in lib/GL/mesa/drivers/dri/r128...
  275. make[5]: Entering directory `/root/build/lib/GL/mesa/drivers/dri/r128'
  276. rm -f ../../../../../../exports/lib/modules/dri/r128_dri.so
  277. + cd ../../../../../../exports/lib/modules/dri
  278. + ln -s ../../../../lib/GL/mesa/drivers/dri/r128/r128_dri.so .
  279. make[5]: Leaving directory `/root/build/lib/GL/mesa/drivers/dri/r128'
  280. making all in lib/GL/mesa/drivers/dri/radeon...
  281. make[5]: Entering directory `/root/build/lib/GL/mesa/drivers/dri/radeon'
  282. rm -f ../../../../../../exports/lib/modules/dri/radeon_dri.so
  283. + cd ../../../../../../exports/lib/modules/dri
  284. + ln -s ../../../../lib/GL/mesa/drivers/dri/radeon/radeon_dri.so .
  285. make[5]: Leaving directory `/root/build/lib/GL/mesa/drivers/dri/radeon'
  286. making all in lib/GL/mesa/drivers/dri/r200...
  287. make[5]: Entering directory `/root/build/lib/GL/mesa/drivers/dri/r200'
  288. rm -f ../../../../../../exports/lib/modules/dri/r200_dri.so
  289. + cd ../../../../../../exports/lib/modules/dri
  290. + ln -s ../../../../lib/GL/mesa/drivers/dri/r200/r200_dri.so .
  291. make[5]: Leaving directory `/root/build/lib/GL/mesa/drivers/dri/r200'
  292. making all in lib/GL/mesa/drivers/dri/tdfx...
  293. make[5]: Entering directory `/root/build/lib/GL/mesa/drivers/dri/tdfx'
  294. rm -f ../../../../../../exports/lib/modules/dri/tdfx_dri.so
  295. + cd ../../../../../../exports/lib/modules/dri
  296. + ln -s ../../../../lib/GL/mesa/drivers/dri/tdfx/tdfx_dri.so .
  297. make[5]: Leaving directory `/root/build/lib/GL/mesa/drivers/dri/tdfx'
  298. make[4]: Leaving directory `/root/build/lib/GL/mesa/drivers/dri'
  299. make[3]: Leaving directory `/root/build/lib/GL'
  300. making all in lib/GLU...
  301. make[3]: Entering directory `/root/build/lib/GLU'
  302. making all in lib/GLU/include...
  303. make[4]: Entering directory `/root/build/lib/GLU/include'
  304. make[4]: Nothing to be done for `all'.
  305. make[4]: Leaving directory `/root/build/lib/GLU/include'
  306. making all in lib/GLU/libutil...
  307. make[4]: Entering directory `/root/build/lib/GLU/libutil'
  308. make[4]: Leaving directory `/root/build/lib/GLU/libutil'
  309. making all in lib/GLU/libtess...
  310. make[4]: Entering directory `/root/build/lib/GLU/libtess'
  311. make[4]: Leaving directory `/root/build/lib/GLU/libtess'
  312. making all in lib/GLU/libnurbs/internals...
  313. make[4]: Entering directory `/root/build/lib/GLU/libnurbs/internals'
  314. make[4]: Leaving directory `/root/build/lib/GLU/libnurbs/internals'
  315. making all in lib/GLU/libnurbs/interface...
  316. make[4]: Entering directory `/root/build/lib/GLU/libnurbs/interface'
  317. make[4]: Leaving directory `/root/build/lib/GLU/libnurbs/interface'
  318. making all in lib/GLU/libnurbs/nurbtess...
  319. make[4]: Entering directory `/root/build/lib/GLU/libnurbs/nurbtess'
  320. make[4]: Leaving directory `/root/build/lib/GLU/libnurbs/nurbtess'
  321. make[3]: Leaving directory `/root/build/lib/GLU'
  322. making all in lib/GLw...
  323. make[3]: Entering directory `/root/build/lib/GLw'
  324. make[3]: Leaving directory `/root/build/lib/GLw'
  325. making all in lib/Xinerama...
  326. make[3]: Entering directory `/root/build/lib/Xinerama'
  327. make[3]: Leaving directory `/root/build/lib/Xinerama'
  328. making all in lib/Xrender...
  329. make[3]: Entering directory `/root/build/lib/Xrender'
  330. make[3]: Leaving directory `/root/build/lib/Xrender'
  331. making all in lib/fontconfig...
  332. make[3]: Entering directory `/root/build/lib/fontconfig'
  333. rm -f fcatomic.o
  334. gcc -m32 -c -O2 -fno-strength-reduce -fno-strict-aliasing  -ansi -Wall -Wpointer-arith -Wundef   -I/usr/include/freetype2 -I/usr/include/freetype2/config -I../../extras/fontconfig/src         -I../../extras/fontconfig -I../../exports/include/X11  -I../.. -I../../exports/include   -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L                                 -D_POSIX_SOURCE -D_XOPEN_SOURCE                                 -D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64                                  -D_GNU_SOURCE                                   -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS  -D_REENTRANT -DXUSE_MTSAFE_API    -DFC_DEFAULT_FONTS='""' -DHAVE_EXPAT -DXFREE86_FT2         -DFONTCONFIG_PATH='"/etc/fonts"'         -DHAVE_MKSTEMP -DHAVE_FT_GET_BDF_PROPERTY -DHAVE_FT_GET_NEXT_CHAR         -DHAVE_FT_GET_PS_FONT_INFO -DHAVE_FT_GET_X11_FONT_FORMAT         -DHAVE_FT_HAS_PS_GLYPH_NAMES -DHAVE_LINK -DHAVE_GETUID -DHAVE_GETEUID     -fPIC fcatomic.c
  335. In file included from ../../extras/fontconfig/fontconfig/fcfreetype.h:27,
  336.                  from ../../extras/fontconfig/src/fcint.h:39,
  337.                  from fcatomic.c:50:
  338. /usr/local/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory
  339. In file included from ../../extras/fontconfig/src/fcint.h:39,
  340.                  from fcatomic.c:50:
  341. ../../extras/fontconfig/fontconfig/fcfreetype.h:28:10: error: #include expects "FILENAME" or <FILENAME>
  342. In file included from ../../extras/fontconfig/src/fcint.h:39,
  343.                  from fcatomic.c:50:
  344. ../../extras/fontconfig/fontconfig/fcfreetype.h:33: error: syntax error before 'FcFreeTypeCharIndex'
  345. ../../extras/fontconfig/fontconfig/fcfreetype.h:33: error: syntax error before 'face'
  346. ../../extras/fontconfig/fontconfig/fcfreetype.h:33: warning: type defaults to 'int' in declaration of 'FcFreeTypeCharIndex'
  347. ../../extras/fontconfig/fontconfig/fcfreetype.h:33: warning: data definition has no type or storage class
  348. ../../extras/fontconfig/fontconfig/fcfreetype.h:36: error: syntax error before 'face'
  349. ../../extras/fontconfig/fontconfig/fcfreetype.h:39: error: syntax error before 'face'
  350. ../../extras/fontconfig/fontconfig/fcfreetype.h:42: error: syntax error before 'FT_Face'
  351. ../../extras/fontconfig/fontconfig/fcfreetype.h:45: warning: type defaults to 'int' in declaration of 'FT_Face'
  352. ../../extras/fontconfig/fontconfig/fcfreetype.h:45: error: syntax error before 'f'
  353. In file included from fcatomic.c:50:
  354. ../../extras/fontconfig/src/fcint.h:596: error: syntax error before 'encoding'
  355. make[3]: *** [fcatomic.o] Error 1
  356. make[3]: Leaving directory `/root/build/lib/fontconfig'
  357. make[2]: *** [all] Error 2
  358. make[2]: Leaving directory `/root/build/lib'
  359. make[1]: *** [all] Error 2
  360. make[1]: Leaving directory `/root/build'
  361. make: *** [all] Error 2
复制代码

究竟是什么问题呢?
发表于 2006-9-23 23:22:21 | 显示全部楼层
你是不是定义的时候,定义需要编译 fontconfig ?
回复 支持 反对

使用道具 举报

发表于 2006-9-24 00:00:40 | 显示全部楼层
-I/usr/include/freetype2 -I/usr/include/freetype2/config

可以看出定义了需要包含freetype2和fontconfig.
所以你在编译之前需要先安装了freetype2和fontconfig.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-24 14:08:07 | 显示全部楼层
freetype2和fontconfig我都装了,并且按照blfs创建config/cf/host.def,不过还是不行……
  1. make[4]: Leaving directory `/root/build/lib/Xrender'
  2. making all in lib/Xft1...
  3. make[4]: Entering directory `/root/build/lib/Xft1'
  4. rm -f xftcfg.o
  5. gcc -m32 -c -O2 -fno-strength-reduce -fno-strict-aliasing  -ansi -Wall -Wpointer-arith -Wundef   -I/usr/include/freetype2 -I/usr/include/freetype2/config -I../../exports/include/X11  -I../.. -I../../exports/include   -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L                                 -D_POSIX_SOURCE -D_XOPEN_SOURCE                                 -D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64                                  -D_GNU_SOURCE                                   -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS  -D_REENTRANT -DXUSE_MTSAFE_API    -DFREETYPE2  -DXFREE86_FT2     -fPIC xftcfg.c
  6. In file included from XftFreetype.h:29,
  7.                  from xftint.h:31,
  8.                  from xftcfg.c:28:
  9. /usr/local/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No such file or directory
  10. In file included from xftint.h:31,
  11.                  from xftcfg.c:28:
  12. XftFreetype.h:30:10: error: #include expects "FILENAME" or <FILENAME>
  13. In file included from xftint.h:31,
  14.                  from xftcfg.c:28:
  15. XftFreetype.h:35: error: syntax error before '_XftFTlibrary'
  16. XftFreetype.h:35: warning: type defaults to 'int' in declaration of '_XftFTlibrary'
  17. XftFreetype.h:35: warning: data definition has no type or storage class
  18. XftFreetype.h:38: error: syntax error before 'FT_Face'
  19. XftFreetype.h:38: warning: no semicolon at end of struct or union
  20. XftFreetype.h:42: error: syntax error before 'size'
  21. XftFreetype.h:42: warning: type defaults to 'int' in declaration of 'size'
  22. XftFreetype.h:42: warning: data definition has no type or storage class
  23. XftFreetype.h:55: error: syntax error before 'matrix'
  24. XftFreetype.h:55: warning: type defaults to 'int' in declaration of 'matrix'
  25. XftFreetype.h:55: warning: data definition has no type or storage class
  26. XftFreetype.h:74: error: syntax error before 'face'
  27. make[4]: *** [xftcfg.o] Error 1
  28. make[4]: Leaving directory `/root/build/lib/Xft1'
  29. make[3]: *** [all] Error 2
  30. make[3]: Leaving directory `/root/build/lib'
  31. make[2]: *** [all] Error 2
  32. make[2]: Leaving directory `/root/build'
  33. make[1]: *** [World] Error 2
  34. make[1]: Leaving directory `/root/build'
  35. make: *** [World] Error 2
复制代码
回复 支持 反对

使用道具 举报

发表于 2006-9-24 15:00:34 | 显示全部楼层
BLFS 的样板 host.def 是要自己去修改来满足自己的硬件,不是创建了就算的,把你的 host.def 贴出来看看
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-24 15:20:57 | 显示全部楼层
我就用blfs上的host.def
  1. /* Begin Xorg host.def file */

  2. /* System Related Information.  If you read and configure only one
  3. * section then it should be this one.  The Intel architecture defaults
  4. * are set for a i686 and higher.  Axp is for the Alpha architecture
  5. * and Ppc is for the Power PC.  AMD64 is for the Opteron processor.
  6. * Note that there have been reports that the Ppc optimization line
  7. * causes segmentation faults during build.  If that happens, try
  8. * building without the DefaultGcc2PpcOpt line.  ***********/

  9. /* #define DefaultGcc2i386Opt  -O2 -fno-strength-reduce \
  10.                                -fno-strict-aliasing -march=i686 */
  11. /* #define DefaultGcc2AMD64Opt -O2 -fno-strength-reduce \
  12.                                -fno-strict-aliasing */
  13. /* #define DefaultGcc2AxpOpt   -O2 -mcpu=ev6 */
  14. /* #define DefaultGcc2PpcOpt   -O2 -mcpu=750 */

  15. #define HasFreetype2            YES
  16. #define HasFontconfig           YES
  17. #define HasExpat                YES
  18. #define HasLibpng               YES
  19. #define HasZlib                 YES

  20. /*
  21. * Which drivers to build.  When building a static server, each of
  22. * these will be included in it.  When building the loadable server
  23. * each of these modules will be built.
  24. *
  25. #define XF86CardDrivers         mga glint nv tga s3virge sis rendition \
  26.                                 neomagic i740 tdfx savage \
  27.                                 cirrus vmware tseng trident chips apm \
  28.                                 GlideDriver fbdev i128 \
  29.                                 ati DevelDrivers ark \
  30.                                 cyrix siliconmotion vesa vga \
  31.                                 XF86OSCardDrivers XF86ExtraCardDrivers
  32. */

  33. /*
  34. * Select the XInput devices you want by uncommenting this.
  35. *
  36. #define XInputDrivers           mouse keyboard acecad calcomp citron \
  37.                                 digitaledge dmc dynapro elographics \
  38.                                 microtouch mutouch penmount spaceorb \
  39.                                 summa wacom void magictouch aiptek
  40. */

  41. /* Most installs will only need this */

  42. #define XInputDrivers           mouse keyboard

  43. /* Xterm is no longer built by default */
  44. #define BuildXterm              YES

  45. /* Disable building Xprint server and clients until we get them figured
  46. * out but build Xprint libraries to allow precompiled binaries such as
  47. * Acrobat Reader to run.
  48. */

  49. #define XprtServer              NO
  50. #define BuildXprintClients      NO

  51. /* Uncomment the following define if you would prefer to install X into
  52. * /usr or change it to any other location that you prefer.
  53. * The GL related defines disable compatibility symlinks (the links
  54. * are not needed when X is installed in /usr).
  55. #define ProjectRoot             /usr
  56. #define LinkGLToUsrInclude      NO
  57. #define LinkGLToUsrLib          NO
  58. */

  59. /* End Xorg host.def file */
复制代码

  1. #define HasFreetype2            YES
  2. #define HasFontconfig           YES
  3. #define HasExpat                YES
  4. #define HasLibpng               YES
  5. #define HasZlib                 YES
复制代码

这一部分是什么意思?改成NO会怎样呢?
回复 支持 反对

使用道具 举报

发表于 2006-9-24 15:23:52 | 显示全部楼层
没有修改过 == 没有任何设定!
回复 支持 反对

使用道具 举报

发表于 2006-9-24 19:04:22 | 显示全部楼层
那个不是常数定义吗?
回复 支持 反对

使用道具 举报

发表于 2006-9-24 19:06:57 | 显示全部楼层
fontconfig/freetype 最好外部安装。。。。
回复 支持 反对

使用道具 举报

发表于 2006-9-24 19:07:57 | 显示全部楼层
问问,fontconfig/freetype安装不会自动修改添加确认标志?
要手动成这个样子?
回复 支持 反对

使用道具 举报

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

本版积分规则

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