On Sat, 16 Nov 2002 23:50:56 +0059, Han Boetes wrote:

> --82I3+IH0IqGh5yIs
> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
> 
> Hi,
> 
> During the build of the new fluxbox I try to link against -lXft2, in the
> config.log there is:
> 
> 
> configure:5765: g++ -o conftest -g -O2  -I/usr/X11R6/include -DSHAPE     
> -= L/usr/X11R6/lib  -lSM -lICE conftest.cc -lXft2    -L/usr/X11R6/lib
> -lX11  -= lXext >&5
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcPatternAddInteger'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcPatternAddBool'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcPatternGetBool'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcFreeTypeCharSet'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcNameUnparse'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcNameConstant'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcObjectSetDestroy'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcPatternDuplicate'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcCharSetHasChar'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcFontList'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcUtf16ToUcs4'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcUtf8ToUcs4'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcPatternVaBuild'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcPatternGetDouble'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcPatternGetString'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcInit'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcPatternGetInteger'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcPatternGetCharSet'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcPatternCreate'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcPatternAddString'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcPatternGet'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcPatternAddDouble'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcConfigSubstitute'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcObjectSetCreate'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcPatternDestroy'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcCharSetCount'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcNameRegisterObjectTypes'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcObjectSetAdd'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcPatternAdd'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcStrCmpIgnoreCase'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcConfigGetBlanks'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcFreeTypeCharIndex'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcNameParse'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcPatternGetFTFace'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcPatternGetMatrix'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcPatternPrint'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcFontMatch'
> /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2/../../../libXft2.so:
> undefined=
>  reference to `FcDefaultSubstitute'
> collect2: ld returned 1 exit status
> 
> 
> Seems like there is something missing here.
> 
> So I tried rebuilding the Xft2-srpm, and I got stuck here:
> 
> 
> cc -O3 -fomit-frame-pointer -pipe -mcpu=3Dpentiumpro -march=3Di586
> -ffast-m= ath -fno-strength-reduce -I. -DHAVE_CONFIG_H
> -I/usr/X11R6/include -I/usr/in= clude/freetype2 -fPIC -DPIC -c
> xftfreetype.c -o xftfreetype.o xftfreetype.c: In function
> `XftFontInfoFill': xftfreetype.c:473: `FT_HINT_NO_INTEGER_STEM' undeclared
> (first use in this = function)
> xftfreetype.c:473: (Each undeclared identifier is reported only once
> xftfreetype.c:473: for each function it appears in.) xftfreetype.c:473:
> `FT_HINT_NO_VSTEM_ALIGN' undeclared (first use in this f= unction)
> make[1]: *** [xftfreetype.o] Error 1

Check you have freetype2 2.1.2-2mdk at least on your system..

> Also there is only a make build done in the Xft dir and not in the
> font-config dir. I don't know all details about that but I had to install
> ``ed-0.2-29mdk'' which is not on the deps list. Not that it helped much. I
> still couldn't build.

Because fontconfig has its own package..

-- 
Frederic Crozat
MandrakeSoft


Reply via email to