Re: FreeType2 broken?
Andreas Otte <[email protected]> Wed, 10 Apr 2002 20:16:21 +0200
| Newsgroups | gmane.comp.mozilla.builds |
|---|---|
| Organization | Another Netscape Collabra Server User |
| Message-ID | <[email protected]> |
Morten Nilsen wrote:
> I have never seen these build problems before, so it must be a
> regression...
>
> c++ -o nsAntiAliasedGlyph.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\"
> -DOJI -D_IMPL_NS_GFXNONXP -D_BSD_SOURCE -DUSE_POSTSCRIPT -DUSE_XPRINT
[...]
> declaration `int FT_EXPORT()'
> /usr/include/freetype2/freetype/ftglyph.h:486: parse error before `('
> /usr/include/freetype2/freetype/ftglyph.h:486: `FT_Matrix' undeclared
> (first use this function)
> /usr/include/freetype2/freetype/ftglyph.h:486: `a' undeclared (first use
> this function)
> /usr/include/freetype2/freetype/ftglyph.h:487: `b' undeclared (first use
> this function)
> /usr/include/freetype2/freetype/ftglyph.h:487: confused by earlier
> errors, bailing out
> cpp0: output pipe has been closed
> make[2]: *** [nsAntiAliasedGlyph.o] Error 1
> make[2]: Leaving directory `/usr/src/mozilla-optimized/gfx/src/gtk'
> make[1]: *** [libs] Error 2
> make[1]: Leaving directory `/usr/src/mozilla-optimized/gfx/src'
> make: *** [all] Error 2
>
> What is going on?
>
I've seen something like this when I had different freetype versions
installed (SuSE 7.3) and it found the wrong header files. Look for
example for a preinstalled freetype or for freetype1. I renamed the
directory where the old includes were located and all was fine.
Andreas