[Xorg] CVS HEAD -- ftfuncs.c:931: error: structure has no member named `find_sbit_image'

Alex Deucher alexdeucher at gmail.com
Thu Jul 29 16:45:26 PDT 2004


On Thu, 29 Jul 2004 16:39:28 -0400, Miles Lane <miles.lane at comcast.net> wrote:
> gcc -m32 -c -O2 -fno-strength-reduce -fno-strict-aliasing  -ansi
> -pedantic -Wall -Wpointer-arith -Wundef  -I/usr/include/freetype2
> -I/usr/include/freetype2/config -I. -I../../../include/fonts
> -I../include -I../../../exports/include/X11
> -I../../../programs/Xserver/include -I../../../exports/include
> -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_GNU_SOURCE
>   -DFUNCPROTO=15 -DNARROWPROTO -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV
> -DSINGLEDEPTH             -DXFreeXDGA -DXvExtension   -DXFree86LOADER
> -DXFree86Server         -DXF86VIDMODE     -DXvMCExtension
> -DSMART_SCHEDULE                       -DBUILDDEBUG -DXResExtension
>      -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DXORG_VERSION_CURRENT="(((6) *
> 10000000) + ((7) * 100000) + ((0) * 1000) + 0)"            -DXFREE86_FT2
>     ftfuncs.c
> ftfuncs.c: In function `FT_Do_SBit_Metrics':
> ftfuncs.c:931: error: structure has no member named `find_sbit_image'
> ftfuncs.c:955: error: structure has no member named `load_sbit_metrics'
> make[4]: *** [ftfuncs.o] Error 1
> make[4]: Leaving directory `/usr/src/xc/lib/font/FreeType'


either upgrade to freetype 2.1.8 or add:
#define HasFreetype2 NO
to your host.def

Alex



More information about the xorg mailing list