Building Xorg CVS, FcMatchFont, FcMatchPattern error

swygue swygue at gmail.com
Wed Jul 6 10:29:57 GMT 2005


I am trying to install Xorg from CVS. I created /usr/Xorg6.8.3 and
linked it to /usr/X11R6.
Then I went to Xorg cvs directory on my computer and issued:

# make World

Then I got this error:

*** Error code 1

Stop in /usr/src/cvs/xc/lib/Xft1.
*** Error code 1

Stop in /usr/src/cvs/xc/lib.
*** Error code 1

Stop in /usr/src/cvs/xc.
*** Error code 1

Stop in /usr/src/cvs/xc.
*** Error code 1

Stop in /usr/src/cvs/xc.

I verified that /usr/X11R6/include/fontconfig/fontconfig.h exists. 
Here is the entire error message:

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: syntax 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: syntax 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: syntax 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: syntax 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: syntax 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: syntax 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: syntax error before "XftPattern"
Xft.h:142: error: syntax 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: syntax error before '*' token
Xft.h:148: warning: function declaration isn't a prototype
Xft.h:175: error: syntax error before "v"
Xft.h:175: warning: function declaration isn't a prototype
Xft.h:178: error: syntax error before '*' token
Xft.h:178: warning: function declaration isn't a prototype
Xft.h:181: error: syntax error before '*' token
Xft.h:181: warning: function declaration isn't a prototype
Xft.h:189: error: syntax error before "XftPattern"
Xft.h:189: warning: function declaration isn't a prototype
Xft.h:192: error: syntax error before "XftPattern"
Xft.h:192: warning: function declaration isn't a prototype
Xft.h:293: error: syntax error before '*' token
Xft.h:294: error: syntax error before "XftPattern"
Xft.h:294: warning: type defaults to `int' in declaration of `XftFontMatch'
Xft.h:294: warning: function declaration isn't a prototype
Xft.h:294: error: ISO C forbids data definition with no type or storage class
Xft.h:297: error: syntax error before "XftPattern"
Xft.h:297: warning: function declaration isn't a prototype
Xft.h:317: error: syntax 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: syntax error before '*' token
Xft.h:321: warning: function declaration isn't a prototype
Xft.h:324: error: syntax error before '*' token
Xft.h:324: warning: function declaration isn't a prototype
Xft.h:338: error: syntax 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: syntax error before '*' token
Xft.h:342: warning: function declaration isn't a prototype
Xft.h:345: error: syntax error before '*' token
Xft.h:345: warning: function declaration isn't a prototype
Xft.h:347: error: syntax 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: syntax 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: syntax error before '*' token
Xft.h:354: error: syntax error before '*' token
Xft.h:357: warning: type defaults to `int' in declaration of `XftListFontSets'
Xft.h:357: warning: function declaration isn't a prototype
Xft.h:357: error: ISO C forbids data definition with no type or storage class
Xft.h:359: error: syntax error before '*' token
Xft.h:362: error: syntax error before "XftPattern"
Xft.h:363: warning: type defaults to `int' in declaration of
`XftListFontsPatternObjects'
Xft.h:363: warning: function declaration isn't a prototype
Xft.h:363: error: ISO C forbids data definition with no type or storage class
Xft.h:365: error: syntax 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: syntax error before '*' token
Xft.h:372: error: syntax error before '*' token
Xft.h:375: warning: type defaults to `int' in declaration of `XftFontSetMatch'
Xft.h:375: warning: function declaration isn't a prototype
Xft.h:375: error: ISO C forbids data definition with no type or storage class
Xft.h:379: error: syntax error before '*' token
Xft.h:379: warning: type defaults to `int' in declaration of `XftMatrixEqual'
Xft.h:379: warning: function declaration isn't a prototype
Xft.h:382: error: syntax error before '*' token
Xft.h:382: warning: function declaration isn't a prototype
Xft.h:385: error: syntax error before '*' token
Xft.h:385: warning: function declaration isn't a prototype
Xft.h:388: error: syntax error before '*' token
Xft.h:388: warning: function declaration isn't a prototype
Xft.h:391: error: syntax error before '*' token
Xft.h:391: warning: function declaration isn't a prototype
Xft.h:394: error: syntax 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: syntax error before '*' token
Xft.h:398: warning: function declaration isn't a prototype
Xft.h:401: error: syntax 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: syntax error before '*' token
Xft.h:405: error: syntax error before '*' token
Xft.h:405: warning: type defaults to `int' in declaration of
`XftPatternDuplicate'
Xft.h:405: warning: function declaration isn't a prototype
Xft.h:405: error: ISO C forbids data definition with no type or storage class
Xft.h:408: error: syntax error before "v"
Xft.h:408: warning: function declaration isn't a prototype
Xft.h:411: error: syntax error before '*' token
Xft.h:411: warning: function declaration isn't a prototype
Xft.h:414: error: syntax error before '*' token
Xft.h:414: warning: function declaration isn't a prototype
Xft.h:417: error: syntax error before "XftPatternGet"
Xft.h:417: error: syntax error before '*' token
Xft.h:417: warning: type defaults to `int' in declaration of `XftPatternGet'
Xft.h:417: warning: function declaration isn't a prototype
Xft.h:417: error: ISO C forbids data definition with no type or storage class
Xft.h:420: error: syntax error before '*' token
Xft.h:420: warning: function declaration isn't a prototype
Xft.h:423: error: syntax error before '*' token
Xft.h:423: warning: function declaration isn't a prototype
Xft.h:426: error: syntax error before '*' token
Xft.h:426: warning: function declaration isn't a prototype
Xft.h:429: error: syntax error before '*' token
Xft.h:429: warning: function declaration isn't a prototype
Xft.h:432: error: syntax error before '*' token
Xft.h:432: warning: function declaration isn't a prototype
Xft.h:435: error: syntax error before '*' token
Xft.h:435: warning: function declaration isn't a prototype
Xft.h:438: error: syntax error before "XftPatternGetInteger"
Xft.h:438: error: syntax error before '*' token
Xft.h:438: warning: type defaults to `int' in declaration of
`XftPatternGetInteger'
Xft.h:438: warning: function declaration isn't a prototype
Xft.h:438: error: ISO C forbids data definition with no type or storage class
Xft.h:441: error: syntax error before "XftPatternGetDouble"
Xft.h:441: error: syntax error before '*' token
Xft.h:441: warning: type defaults to `int' in declaration of
`XftPatternGetDouble'
Xft.h:441: warning: function declaration isn't a prototype
Xft.h:441: error: ISO C forbids data definition with no type or storage class
Xft.h:444: error: syntax error before "XftPatternGetString"
Xft.h:444: error: syntax error before '*' token
Xft.h:444: warning: type defaults to `int' in declaration of
`XftPatternGetString'
Xft.h:444: warning: function declaration isn't a prototype
Xft.h:444: error: ISO C forbids data definition with no type or storage class
Xft.h:447: error: syntax error before "XftPatternGetMatrix"
Xft.h:447: error: syntax error before '*' token
Xft.h:447: warning: type defaults to `int' in declaration of
`XftPatternGetMatrix'
Xft.h:447: warning: function declaration isn't a prototype
Xft.h:447: error: ISO C forbids data definition with no type or storage class
Xft.h:450: error: syntax error before "XftPatternGetBool"
Xft.h:450: error: syntax error before '*' token
Xft.h:450: warning: type defaults to `int' in declaration of `XftPatternGetBool'
Xft.h:450: warning: function declaration isn't a prototype
Xft.h:450: error: ISO C forbids data definition with no type or storage class
Xft.h:452: error: syntax error before '*' token
Xft.h:453: error: syntax error before '*' token
Xft.h:453: warning: type defaults to `int' in declaration of `XftPatternVaBuild'
Xft.h:453: warning: function declaration isn't a prototype
Xft.h:453: error: ISO C forbids data definition with no type or storage class
Xft.h:455: error: syntax error before '*' token
Xft.h:456: error: syntax error before '*' token
Xft.h:456: warning: type defaults to `int' in declaration of `XftPatternBuild'
Xft.h:456: warning: function declaration isn't a prototype
Xft.h:456: error: ISO C forbids data definition with no type or storage class
Xft.h:475: error: syntax 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: syntax error before "XftPattern"
Xft.h:479: warning: function declaration isn't a prototype
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: syntax 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: syntax error before "FT_Face"
XftFreetype.h:42: error: syntax error before "FT_F26Dot6"
XftFreetype.h:55: error: syntax error before "FT_Matrix"
XftFreetype.h:64: error: syntax error before '*' token
XftFreetype.h:64: warning: function declaration isn't a prototype
XftFreetype.h:67: error: syntax error before '*' token
XftFreetype.h:67: warning: function declaration isn't a prototype
XftFreetype.h:70: error: syntax 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: syntax error before "face"
XftFreetype.h:74: warning: function declaration isn't a prototype
XftFreetype.h:77: error: syntax error before "XftPattern"
XftFreetype.h:77: warning: function declaration isn't a prototype
In file included from xftcfg.c:28:
xftint.h:38: error: syntax error before "XftValue"
xftint.h:38: warning: function declaration isn't a prototype
xftint.h:78: error: syntax error before "XftPattern"
xftint.h:84: error: syntax 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:87: error: syntax 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: error: syntax error before '*' token
xftint.h:95: warning: type defaults to `int' in declaration of
`FcPatternFindElt'
xftint.h:95: warning: function declaration isn't a prototype
xftint.h:98: error: syntax error before '*' token
xftint.h:98: warning: function declaration isn't a prototype
xftint.h:138: error: syntax error before "XftMatrix"
xftint.h:156: error: syntax error before "XftValue"
xftint.h:250: error: syntax error before '*' token
xftint.h:250: warning: function declaration isn't a prototype
xftint.h:253: error: syntax error before '*' token
xftint.h:253: warning: function declaration isn't a prototype
xftint.h:269: error: syntax error before "m"
xftint.h:271: warning: function declaration isn't a prototype
xftint.h:358: error: syntax 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 class
xftint.h:393: error: syntax error before "XftValue"
xftint.h:393: warning: function declaration isn't a prototype
xftint.h:405: error: syntax error before '*' token
xftint.h:405: warning: type defaults to `int' in declaration of
`XftExprCreateMatrix'
xftint.h:405: warning: function declaration isn't a prototype
xftint.h:445: error: syntax error before "v1"
xftint.h:446: warning: function declaration isn't a prototype
xftint.h:449: error: syntax error before '*' token
xftint.h:451: warning: function declaration isn't a prototype
xftint.h:454: error: syntax error before '*' token
xftint.h:456: warning: function declaration isn't a prototype
xftint.h:468: error: syntax error before '*' token
xftint.h:468: warning: function declaration isn't a prototype
xftint.h:471: error: syntax error before '*' token
xftint.h:471: warning: function declaration isn't a prototype
xftint.h:476: error: syntax error before '*' token
xftint.h:477: error: syntax error before '*' token
xftint.h:477: warning: type defaults to `int' in declaration of `_XftSaveMatrix'
xftint.h:477: warning: function declaration isn't a prototype
xftint.h:477: error: ISO C forbids data definition with no type or storage class
xftint.h:506: error: syntax error before '*' token
xftint.h:506: warning: function declaration isn't a prototype
xftcfg.c:31: error: syntax error before '*' token
xftcfg.c:32: warning: function declaration isn't a prototype
xftcfg.c: In function `XftConfigSubstitute':
xftcfg.c:33: warning: implicit declaration of function `FcConfigSubstitute'
xftcfg.c:33: warning: nested extern declaration of `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)
*** Error code 1

Stop in /usr/src/cvs/xc/lib/Xft1.
*** Error code 1

Stop in /usr/src/cvs/xc/lib.
*** Error code 1

Stop in /usr/src/cvs/xc.
*** Error code 1

Stop in /usr/src/cvs/xc.
*** Error code 1

Stop in /usr/src/cvs/xc.


-- 
<!-- Rod --*
---------------------------------------


More information about the freebsd-questions mailing list