[Wine-20010629] compilation problems with freetype

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!

I tried to compile Wine-20010629, but compiltaion stops at
dlls/wineps/truetype.c with:

truetype.c:55: parse error before `library'
truetype.c:55: warning: type defaults to `int' in declaration of `library'
truetype.c:55: warning: data definition has no type or storage class
truetype.c:56: parse error before `face'
truetype.c:56: warning: type defaults to `int' in declaration of `face'
truetype.c:56: warning: data definition has no type or storage class
truetype.c:57: parse error before `charmap'
truetype.c:57: warning: type defaults to `int' in declaration of `charmap'
truetype.c:57: warning: data definition has no type or storage class
truetype.c:61: parse error before `*'
truetype.c:61: warning: type defaults to `int' in declaration of `hhea'
truetype.c:61: warning: data definition has no type or storage class
truetype.c: In function `FindCharMap':
truetype.c:86: `FT_Int' undeclared (first use in this function)
truetype.c:86: (Each undeclared identifier is reported only once
truetype.c:86: for each function it appears in.)
truetype.c:86: parse error before `i'
truetype.c:87: `FT_Error' undeclared (first use in this function)
truetype.c:89: warning: assignment makes integer from pointer without a cast
truetype.c:91: `i' undeclared (first use in this function)
truetype.c:91: invalid type argument of `->'
truetype.c:93: invalid type argument of `->'
truetype.c:96: invalid type argument of `->'
truetype.c:98: invalid type argument of `->'
truetype.c:102: warning: comparison between pointer and integer
truetype.c:103: invalid type argument of `->'
truetype.c:106: warning: comparison between pointer and integer
truetype.c:109: `error' undeclared (first use in this function)
truetype.c:109: warning: implicit declaration of function `FT_Set_Charmap'
truetype.c:110: `FT_Err_Ok' undeclared (first use in this function)
truetype.c:116: invalid type argument of `->'
truetype.c:119: invalid type argument of `->'
truetype.c:131: invalid type argument of `->'
truetype.c: At top level:
truetype.c:151: warning: type defaults to `int' in declaration of `FT_SfntName'
truetype.c:151: parse error before `*'
truetype.c: In function `NameTableString':
truetype.c:153: `FT_UShort' undeclared (first use in this function)
truetype.c:153: parse error before `i'
truetype.c:156: `name' undeclared (first use in this function)
truetype.c:162: `len' undeclared (first use in this function)
truetype.c:163: `sz' undeclared (first use in this function)
truetype.c:166: `ws' undeclared (first use in this function)
truetype.c:166: parse error before `)'
truetype.c:168: `i' undeclared (first use in this function)
truetype.c:168: warning: left-hand operand of comma expression has no effect
truetype.c:170: parse error before `wc'
truetype.c:173: `wc' undeclared (first use in this function)
truetype.c:168: warning: value computed is not used
truetype.c: In function `ReadNameTable':
truetype.c:203: `FT_UInt' undeclared (first use in this function)
truetype.c:203: parse error before `numStrings'
truetype.c:204: `FT_SfntName' undeclared (first use in this function)
truetype.c:205: `FT_Error' undeclared (first use in this function)
truetype.c:207: `numStrings' undeclared (first use in this function)
truetype.c:207: warning: implicit declaration of function `FT_Get_Sfnt_Name_Count'
truetype.c:209: `stringIndex' undeclared (first use in this function)
truetype.c:211: `error' undeclared (first use in this function)
truetype.c:211: warning: implicit declaration of function `FT_Get_Sfnt_Name'
truetype.c:211: `name' undeclared (first use in this function)
truetype.c:212: `FT_Err_Ok' undeclared (first use in this function)
truetype.c:221: invalid type argument of `->'
truetype.c:222: invalid type argument of `->'
truetype.c:229: warning: unreachable code at beginning of switch statement
truetype.c: In function `ReadMetricsTables':
truetype.c:295: warning: implicit declaration of function `FT_Get_Sfnt_Table'
truetype.c:295: `ft_sfnt_head' undeclared (first use in this function)
truetype.c:295: warning: assignment makes pointer from integer without a cast
truetype.c:296: `ft_sfnt_post' undeclared (first use in this function)
truetype.c:296: warning: assignment makes pointer from integer without a cast
truetype.c:297: `ft_sfnt_hhea' undeclared (first use in this function)
truetype.c:297: warning: assignment makes pointer from integer without a cast
truetype.c:298: `ft_sfnt_os2' undeclared (first use in this function)
truetype.c:298: warning: assignment makes pointer from integer without a cast
truetype.c:324: request for member `Ascender' in something not a structure or union
truetype.c:325: request for member `Descender' in something not a structure or union
truetype.c:326: request for member `Line_Gap' in something not a structure or union
truetype.c: In function `ReadCharMetrics':
truetype.c:347: `FT_ULong' undeclared (first use in this function)
truetype.c:347: parse error before `charcode'
truetype.c:354: `charcode' undeclared (first use in this function)
truetype.c:354: invalid lvalue in assignment
truetype.c:354: warning: left-hand operand of comma expression has no effect
truetype.c:356: warning: implicit declaration of function `FT_Get_Char_Index'
truetype.c:357: wrong type argument to increment
truetype.c:360: warning: assignment makes integer from pointer without a cast
truetype.c:362: invalid operands to binary *
truetype.c:364: invalid operands to binary *
truetype.c:369: warning: assignment makes integer from pointer without a cast
truetype.c:372: invalid lvalue in assignment
truetype.c:372: warning: left-hand operand of comma expression has no effect
truetype.c:374: `FT_UInt' undeclared (first use in this function)
truetype.c:374: parse error before `glyph_index'
truetype.c:375: `FT_Error' undeclared (first use in this function)
truetype.c:376: `FT_Glyph' undeclared (first use in this function)
truetype.c:377: `FT_BBox' undeclared (first use in this function)
truetype.c:380: `glyph_index' undeclared (first use in this function)
truetype.c:383: `error' undeclared (first use in this function)
truetype.c:383: warning: implicit declaration of function `FT_Load_Glyph'
truetype.c:383: `FT_LOAD_NO_SCALE' undeclared (first use in this function)
truetype.c:384: `FT_LOAD_IGNORE_TRANSFORM' undeclared (first use in this function)
truetype.c:384: `FT_LOAD_LINEAR_DESIGN' undeclared (first use in this function)
truetype.c:385: `FT_Err_Ok' undeclared (first use in this function)
truetype.c:391: warning: implicit declaration of function `FT_Get_Glyph'
truetype.c:391: invalid type argument of `->'
truetype.c:391: `glyph' undeclared (first use in this function)
truetype.c:398: warning: implicit declaration of function `FT_Glyph_Get_CBox'
truetype.c:398: `ft_glyph_bbox_unscaled' undeclared (first use in this function)
truetype.c:398: `bbox' undeclared (first use in this function)
truetype.c:400: warning: implicit declaration of function `FT_Get_Glyph_Name'
truetype.c:407: array subscript is not an integer
truetype.c:408: array subscript is not an integer
truetype.c:411: array subscript is not an integer
truetype.c:412: array subscript is not an integer
truetype.c:413: array subscript is not an integer
truetype.c:413: invalid type argument of `->'
truetype.c:414: array subscript is not an integer
truetype.c:415: array subscript is not an integer
truetype.c:416: array subscript is not an integer
truetype.c:417: array subscript is not an integer
truetype.c:418: array subscript is not an integer
truetype.c:421: array subscript is not an integer
truetype.c:421: array subscript is not an integer
truetype.c:422: array subscript is not an integer
truetype.c:422: array subscript is not an integer
truetype.c:423: array subscript is not an integer
truetype.c:423: array subscript is not an integer
truetype.c:425: array subscript is not an integer
truetype.c:426: array subscript is not an integer
truetype.c:426: array subscript is not an integer
truetype.c:433: wrong type argument to increment
truetype.c: In function `ReadTrueTypeAFM':
truetype.c:450: invalid type argument of `->'
truetype.c:450: `FT_FACE_FLAG_SCALABLE' undeclared (first use in this function)
truetype.c:450: `FT_FACE_FLAG_HORIZONTAL' undeclared (first use in this function)
truetype.c:450: `FT_FACE_FLAG_SFNT' undeclared (first use in this function)
truetype.c:450: `FT_FACE_FLAG_GLYPH_NAMES' undeclared (first use in this function)
truetype.c:459: warning: comparison between pointer and integer
truetype.c: In function `ReadTrueTypeFile':
truetype.c:499: `FT_Error' undeclared (first use in this function)
truetype.c:499: parse error before `error'
truetype.c:508: `error' undeclared (first use in this function)
truetype.c:508: warning: implicit declaration of function `FT_New_Face'
truetype.c:510: `FT_Err_Ok' undeclared (first use in this function)
truetype.c:520: warning: implicit declaration of function `FT_Done_Face'
truetype.c: In function `PSDRV_GetTrueTypeMetrics':
truetype.c:565: `FT_Error' undeclared (first use in this function)
truetype.c:565: parse error before `error'
truetype.c:567: `error' undeclared (first use in this function)
truetype.c:567: warning: implicit declaration of function `FT_Init_FreeType'
truetype.c:568: `FT_Err_Ok' undeclared (first use in this function)
truetype.c:617: warning: implicit declaration of function `FT_Done_FreeType'
make[2]: *** [truetype.o] Error 1
make[1]: *** [wineps/libwineps.so] Error 2
make: *** [dlls] Error 2

freetype2-2.0.1 and freetype2-devel-2.0.1 packages are installed (SuSE
7.1). configure didn't complain about wrong or missing files.

System:

- Kernel 2.4.5
- glibc 2.2
- gcc 2.95.2
- Cyrix 6x86MX @166 MHz
- 128 MB RAM

Seems, that wine looks for freetype headers in the wrong directory:

gcc [...] -I/usr/local/include/freetype2

But it should be "-I/usr/include/freetype2". Why does it use the wrong
directory, /usr/local/include/freetype2 doesn't exist.

Bye,

Manfred
-- 
 /"\                        | PGP-Key available at Public Key Servers
 \ /  ASCII ribbon campaign | or "http://www.mahowi.de/pgp/mahowi.asc";
  X   against HTML mail     | RSA: 0xC05BC0F5 * DSS: 0x4613B5CA
 / \  and postings          | AIM: mahowi42   * ICQ: 61597169
_______________________________________________
wine-users mailing list
wine-users@winehq.com
http://www.winehq.com/mailman/listinfo/wine-users

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux