Wine build failed
Nikolay Sivov
bunglehead at gmail.com
Tue Dec 23 04:01:25 CST 2008
Stefan Leichter wrote:
> Hello,
>
> building current git tree fails to me on Debian Etch (x86) with:
>
> ccache gcc -c -I../../../wine-git/dlls/gdi32 -I. -I../../../wine-git/include
> -I../../include -I/usr/include/freetype2 -D__WINESRC__ -D_GDI32_
> -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing
> -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -o
> font.o ../../../wine-git/dlls/gdi32/font.c ccache gcc -c
> -I../../../wine-git/dlls/gdi32 -I. -I../../../wine-git/include
> -I../../include -I/usr/include/freetype2 -D__WINESRC__ -D_GDI32_
> -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing
> -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -g -O2 -o
> freetype.o ../../../wine-git/dlls/gdi32/freetype.c
> ../../../wine-git/dlls/gdi32/freetype.c:187: error: expected declaration
> specifiers or ‘...’ before ‘FT_LcdFilter’
> ../../../wine-git/dlls/gdi32/freetype.c: In function
> ‘WineEngGetGlyphOutline’: ../../../wine-git/dlls/gdi32/freetype.c:4776:
> error: ‘FT_LcdFilter’ undeclared (first use in this function)
> ../../../wine-git/dlls/gdi32/freetype.c:4776: error: (Each undeclared
> identifier is reported only once
> ../../../wine-git/dlls/gdi32/freetype.c:4776: error: for each function it
> appears in.) ../../../wine-git/dlls/gdi32/freetype.c:4776: error: expected
> ‘;’ before ‘lcdfilter’ ../../../wine-git/dlls/gdi32/freetype.c:4777:
> warning: ISO C90 forbids mixed declarations and code
> ../../../wine-git/dlls/gdi32/freetype.c:4785: error: ‘lcdfilter’ undeclared
> (first use in this function) ../../../wine-git/dlls/gdi32/freetype.c:4785:
> error: too many arguments to function ‘pFT_Library_SetLcdFilter’
> ../../../wine-git/dlls/gdi32/freetype.c:4803: error: ‘FT_LCD_FILTER_DEFAULT’
> undeclared (first use in this function)
> ../../../wine-git/dlls/gdi32/freetype.c:4803: error: ‘FT_LCD_FILTER_LIGHT’
> undeclared (first use in this function)
> ../../../wine-git/dlls/gdi32/freetype.c: In function
> ‘is_subpixel_rendering_enabled’:
> ../../../wine-git/dlls/gdi32/freetype.c:5923: error: too many arguments to
> function ‘pFT_Library_SetLcdFilter’ make[2]: *** [freetype.o] Fehler 1
> make[2]: Leaving directory `/usr/src/wine/wine-build/dlls/gdi32'
> make[1]: *** [gdi32] Fehler 2
> make[1]: Leaving directory `/usr/src/wine/wine-build/dlls'
> make: *** [dlls] Fehler 2
>
>
> ------------------------------------------------------------------------
You need update freetype2 package. Version 2.3.7-2 from Sid builds
without any problems.
More information about the wine-devel
mailing list