On Tue, 16 May 2006, Mr E_T wrote:
I am trying to build XFree86 4.6.0 with the following libraries already installed - fontconfig freetype2 expat zlib
However the freetype font module spits because it is picking up differences between the external and internal libraries.
In file included from ftbase.c:26: ../../../../extras/freetype2/src/base/ftcalc.c:217: error: parse error before "FT_Int64" ../../../../extras/freetype2/src/base/ftcalc.c: In function `ft_multo64': ../../../../extras/freetype2/src/base/ftcalc.c:222: error: `x' undeclared (first use in this function) ../../../../extras/freetype2/src/base/ftcalc.c:222: error: (Each undeclared identifier is reported only once ../../../../extras/freetype2/src/base/ftcalc.c:222: error: for each function it appears in.) ../../../../extras/freetype2/src/base/ftcalc.c:223: error: `y' undeclared (first use in this function) ../../../../extras/freetype2/src/base/ftcalc.c:241: error: `z' undeclared (first use in this function) ../../../../extras/freetype2/src/base/ftcalc.c: At top level: ../../../../extras/freetype2/src/base/ftcalc.c:283: error: parse error before '*' token ../../../../extras/freetype2/src/base/ftcalc.c: In function `FT_Add64': ../../../../extras/freetype2/src/base/ftcalc.c:290: error: `x' undeclared (first use in this function) ../../../../extras/freetype2/src/base/ftcalc.c:290: error: `y' undeclared (first use in this function) ../../../../extras/freetype2/src/base/ftcalc.c:294: error: `z' undeclared (first use in this function) ../../../../extras/freetype2/src/base/ftcalc.c: In function `FT_MulDiv': ../../../../extras/freetype2/src/base/ftcalc.c:321: error: `FT_Int64' undeclared (first use in this function) ../../../../extras/freetype2/src/base/ftcalc.c:321: error: parse error before "temp" ../../../../extras/freetype2/src/base/ftcalc.c:324: error: `temp' undeclared (first use in this function) ../../../../extras/freetype2/src/base/ftcalc.c:326: error: `temp2' undeclared (first use in this function) ../../../../extras/freetype2/src/base/ftcalc.c: In function `FT_DivFix': ../../../../extras/freetype2/src/base/ftcalc.c:437: error: `FT_Int64' undeclared (first use in this function) ../../../../extras/freetype2/src/base/ftcalc.c:437: error: parse error before "temp" ../../../../extras/freetype2/src/base/ftcalc.c:439: error: `temp' undeclared (first use in this function) ../../../../extras/freetype2/src/base/ftcalc.c:441: error: `temp2' undeclared (first use in this function) ../../../../extras/freetype2/src/base/ftcalc.c: At top level: ../../../../extras/freetype2/src/base/ftcalc.c:456: error: parse error before "FT_Int64" ../../../../extras/freetype2/src/base/ftcalc.c: In function `FT_MulTo64': ../../../../extras/freetype2/src/base/ftcalc.c:461: error: `x' undeclared (first use in this function) ../../../../extras/freetype2/src/base/ftcalc.c:462: error: `y' undeclared (first use in this function) ../../../../extras/freetype2/src/base/ftcalc.c:464: error: `z' undeclared (first use in this function) ../../../../extras/freetype2/src/base/ftcalc.c: At top level: ../../../../extras/freetype2/src/base/ftcalc.c:482: error: parse error before '*' token ../../../../extras/freetype2/src/base/ftcalc.c: In function `FT_Div64by32': ../../../../extras/freetype2/src/base/ftcalc.c:489: error: `x' undeclared (first use in this function) ../../../../extras/freetype2/src/base/ftcalc.c:495: error: `y' undeclared (first use in this function) In file included from ftbase.c:28: ../../../../extras/freetype2/src/base/ftoutln.c: At top level: ../../../../extras/freetype2/src/base/ftoutln.c:352: error: conflicting types for 'FT_Outline_Copy' /usr/include/freetype2/freetype/ftoutln.h:280: error: previous declaration of 'FT_Outline_Copy' was here ../../../../extras/freetype2/src/base/ftoutln.c:352: error: conflicting types for 'FT_Outline_Copy' /usr/include/freetype2/freetype/ftoutln.h:280: error: previous declaration of 'FT_Outline_Copy' was here ../../../../extras/freetype2/src/base/ftoutln.c:419: error: conflicting types for 'FT_Outline_Get_CBox' /usr/include/freetype2/freetype/ftoutln.h:234: error: previous declaration of 'FT_Outline_Get_CBox' was here ../../../../extras/freetype2/src/base/ftoutln.c:419: error: conflicting types for 'FT_Outline_Get_CBox' /usr/include/freetype2/freetype/ftoutln.h:234: error: previous declaration of 'FT_Outline_Get_CBox' was here ../../../../extras/freetype2/src/base/ftoutln.c:470: error: conflicting types for 'FT_Outline_Translate' /usr/include/freetype2/freetype/ftoutln.h:256: error: previous declaration of 'FT_Outline_Translate' was here ../../../../extras/freetype2/src/base/ftoutln.c:470: error: conflicting types for 'FT_Outline_Translate' /usr/include/freetype2/freetype/ftoutln.h:256: error: previous declaration of 'FT_Outline_Translate' was here ../../../../extras/freetype2/src/base/ftoutln.c:597: error: conflicting types for 'FT_Outline_Get_Bitmap' /usr/include/freetype2/freetype/ftoutln.h:384: error: previous declaration of 'FT_Outline_Get_Bitmap' was here ../../../../extras/freetype2/src/base/ftoutln.c:597: error: conflicting types for 'FT_Outline_Get_Bitmap' /usr/include/freetype2/freetype/ftoutln.h:384: error: previous declaration of 'FT_Outline_Get_Bitmap' was here ../../../../extras/freetype2/src/base/ftoutln.c:623: error: conflicting types for 'FT_Vector_Transform' /usr/include/freetype2/freetype/freetype.h:3078: error: previous declaration of 'FT_Vector_Transform' was here ../../../../extras/freetype2/src/base/ftoutln.c:623: error: conflicting types for 'FT_Vector_Transform' /usr/include/freetype2/freetype/freetype.h:3078: error: previous declaration of 'FT_Vector_Transform' was here ../../../../extras/freetype2/src/base/ftoutln.c:646: error: conflicting types for 'FT_Outline_Transform' /usr/include/freetype2/freetype/ftoutln.h:304: error: previous declaration of 'FT_Outline_Transform' was here ../../../../extras/freetype2/src/base/ftoutln.c:646: error: conflicting types for 'FT_Outline_Transform' /usr/include/freetype2/freetype/ftoutln.h:304: error: previous declaration of 'FT_Outline_Transform' was here In file included from ftbase.c:30: ../../../../extras/freetype2/src/base/ftobjs.c:62: error: parse error before "valid" ../../../../extras/freetype2/src/base/ftobjs.c: In function `ft_validator_init': ../../../../extras/freetype2/src/base/ftobjs.c:67: error: `valid' undeclared (first use in this function) ../../../../extras/freetype2/src/base/ftobjs.c:67: error: `base' undeclared (first use in this function) ../../../../extras/freetype2/src/base/ftobjs.c:68: error: `limit' undeclared (first use in this function) ../../../../extras/freetype2/src/base/ftobjs.c:69: error: `level' undeclared (first use in this function) ../../../../extras/freetype2/src/base/ftobjs.c: At top level: ../../../../extras/freetype2/src/base/ftobjs.c:75: error: parse error before "valid" ../../../../extras/freetype2/src/base/ftobjs.c: In function `ft_validator_run': ../../../../extras/freetype2/src/base/ftobjs.c:80: error: `valid' undeclared (first use in this function) ../../../../extras/freetype2/src/base/ftobjs.c: At top level: ../../../../extras/freetype2/src/base/ftobjs.c:86: error: parse error before "valid" ../../../../extras/freetype2/src/base/ftobjs.c: In function `ft_validator_error': ../../../../extras/freetype2/src/base/ftobjs.c:89: error: `valid' undeclared (first use in this function) ../../../../extras/freetype2/src/base/ftobjs.c:89: error: `error' undeclared (first use in this function) make[6]: *** [ftbase.o] Error 1 make[6]: Leaving directory `/home/conon/projects/Builds/XFree86-4.6.0.0/lib/font/FreeType/module'
Please post the compile command line that produced these messages. Marc. +----------------------------------+-----------------------------------+ | Marc Aurele La France | work: 1-780-492-9310 | | Academic Information and | fax: 1-780-492-1729 | | Communications Technologies | email: tsi@xxxxxxxxxxx | | 352 General Services Building +-----------------------------------+ | University of Alberta | | | Edmonton, Alberta | Standard disclaimers apply | | T6G 2H1 | | | CANADA | | +----------------------------------+-----------------------------------+ XFree86 developer and VP. ATI driver and X server internals. _______________________________________________ XFree86 mailing list XFree86@xxxxxxxxxxx http://XFree86.Org/mailman/listinfo/xfree86