[cairo] compilation error PLZ HELP

Kalle Vahlman kalle.vahlman at gmail.com
Tue Apr 11 00:27:05 PDT 2006


On 4/11/06, tasos <tas0s at yahoo.com> wrote:
> hello and nice to meet you.I'm using slackware 10.2
>
> gcc -g -O2 -o .libs/imagediff imagediff.o
> ./.libs/libcairotest.a ../src/.libs/libcairo.so
> -L/usr/X11R6/lib -lXrender -lXext -lX11
> -L/usr/local/lib -lpng12
> /usr/X11R6/lib/libfontconfig.so
> /usr/lib/libfreetype.so /usr/lib/libexpat.so
> /usr/local/lib/libfreetype.so -lz -lpthread -lm
> ./.libs/libcairotest.a(cairo-test.o)(.text+0x7e9): In
> function `cairo_test_expecting':
> /home/tasoss/gtk/cairo-1.0.4/test/cairo-test.c:635:
> undefined reference to `FcFini'
> ../src/.libs/libcairo.so: undefined reference to
> `FT_GlyphSlot_Embolden'
> collect2: ld returned 1 exit status
> make[2]: *** [imagediff] Error 1
> make[2]: Leaving directory
> `/home/tasoss/gtk/cairo-1.0.4/test'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/tasoss/gtk/cairo-1.0.4'
> make: *** [all] Error 2
>
> can you please help me?i'm trying to install gtk and
> gtk needs pango which needs cairo ;)

Looks like FT_GlyphSlot_Embolden has been introduced in freetype2
version 2.1.3, so apparently you'll need that or later.

I guess the build system should require  this (from configure.in it
looks like only a check for existence is made, not version)?

--
Kalle Vahlman, zuh at iki.fi
Powered by http://movial.fi
Interesting stuff at http://syslog.movial.fi


More information about the cairo mailing list