[Fontconfig] Fontconfig or FreeType broken (was Re: Build Issue)

Frederic Crozat fcrozat at mandrakesoft.com
Tue May 4 18:24:05 EST 2004


Le lun 03/05/2004 à 23:06, Frédéric L. W. Meunier a écrit :
> On Sat, 24 Apr 2004, Jeff Prickett wrote:
> 
> > ../src/.libs/libfontconfig.so: undefined reference to `MAX'
> > ../src/.libs/libfontconfig.so: undefined reference to `ABS'
> > ../src/.libs/libfontconfig.so: undefined reference to `MIN'
> 
> At the time I exchanged some e-mails with Jeff, sent one to
> this mailing-list (which never made into), later sent one to
> the Freetype mailing-list (no replies, see
> http://www.freetype.org/pipermail/freetype/2004-April/007042.html),
> and another to Keith.
> 
> At least another person has the same problem - see
> http://linuxquestions.org/questions/history/172177 . I don't
> know what's broken, but I assume FreeType or Fontconfig are.

It is because Freetype 2.1.8 has renamed ABS, MAX and MIN macros to
FT_ABS, FT_MAX and FT_MIN.

Try the attached patch, it fixes the build. 
-- 
Frederic Crozat <fcrozat at mandrakesoft.com>
Mandrakesoft
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fontconfig-freetype218.patch
Type: text/x-patch
Size: 672 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20040504/3a09109c/fontconfig-freetype218.bin


More information about the Fontconfig mailing list