[Xorg] CVS HEAD -- ftfuncs.c:931: error: structure has no membernamed `find_sbit_image'
Eric Anholt
eta at lclark.edu
Thu Jul 29 20:13:14 PDT 2004
On Thu, 2004-07-29 at 20:01, Roland Mainz wrote:
> Eric Anholt wrote:
> > > > 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
> > >
> > > Or build the freetype2 version in the xc/-tree statically into the
> > > applications...
> >
> > Or go and wrap the commit in tests for 2.1.8 being available, which
> > seems to be the clear solution:
>
> That will _BREAK_ XTT like it happened in the last release. This should
> not happen again. Please link libFreeType2 statically if the platform
> really does not have Freetype2 >= 2.1.8 and cannot use the copy in the
> xc/-tree...
OK, I assumed from that changelog that an optimization was simply
removed by accident with all of the changes that had been going on in
freetype areas. Is there really no way to do this with older FreeType?
--
Eric Anholt eta at lclark.edu
http://people.freebsd.org/~anholt/ anholt at FreeBSD.org
More information about the xorg
mailing list