[Xorg] CVS HEAD -- ftfuncs.c:931: error: structure has no membernamed `find_sbit_image'
Roland Mainz
roland.mainz at nrubsig.org
Thu Jul 29 20:27:26 PDT 2004
Eric Anholt wrote:
>
> 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.
That wasn't an accident. Initially it was removed because the XTT code
was using a "private" Freetype2 API - but the side-effects were that
drastic that the FreeType2 library got an extra "public" API to get the
functionality back.
> Is there really no way to do this with older FreeType?
AFAIK not without causing trouble for CJKV users. Even Xfree86 has
updated it's FreeType2 copy in CVS to FreeType 2.1.8 to ensure the XTT
code works properly (using the new "public" API which was extra added
for that purpose) - and AFAIK that indicates the importance of the
issue...
----
Bye,
Roland
--
__ . . __
(o.\ \/ /.o) roland.mainz at nrubsig.org
\__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer
/O /==\ O\ TEL +49 641 7950090
(;O/ \/ \O;)
More information about the xorg
mailing list