[Fontconfig] problem with fontconfig

Keith Packard keithp at keithp.com
Mon Jul 21 03:15:33 EST 2003


Around 18 o'clock on Jul 20, Tomasz Grobelny wrote:

> .libs/kfont.o(.text+0x422): In function `KFont::run()':
> : undefined reference to `FcPatternGetFTFace(_FcPattern const*, char const*,

Looks like fcfreetype.h doesn't have extern "C" around the functions.

I committed a fix to fontconfig/fontconfig/fcfreettype.h to add
_FCFUNCPROTOBEGIN/_FCFUNCPROTOEND to the header files.  Should work now.

-keith








More information about the Fontconfig mailing list