Re: [Fonts]problem with pango cvs



mike <mike redtux demon co uk> writes:

> I am trying to compile pango after installing fcpackage but I get the
> following error

I think what's going on is that -lXft is picking up Xft1 instead
of Xft2. You basically have two options:

 1) Remove /usr/include/X11R6/libXft.so from your system.
 2) Rename the libXft.so that fcpakcage installs to 
    libXft2.so and edit the pkg-config file for Xft
    (xft.pc) to specify -lXft2 not -lXft.

Regards,
                                        Owen

> /bin/sh ../libtool --mode=link gcc  -O3 -march=k6 -Wall -D_REENTRANT
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -o
> pango-querymodules  querymodules.o libpangoft2-1.0.la libpangox-1.0.la
> libpangoxft-1.0.la -Wl,--export-dynamic  -lgobject-2.0 -lgmodule-2.0
> -ldl -lglib-2.0    -L/usr/X11R6/lib -lXft -lfreetype -lXrender
> -lfontconfig   -lfontconfig   
> gcc -O3 -march=k6 -Wall -D_REENTRANT -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -o .libs/pango-querymodules querymodules.o
> -Wl,--export-dynamic  ./.libs/libpangoft2-1.0.so -lfontconfig
> ./.libs/libpangox-1.0.so -L/usr/X11R6/lib -lX11
> ./.libs/libpangoxft-1.0.so /root/pango/pango/.libs/libpango-1.0.so
> -lfontconfig -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lXft
> -lfreetype -lXrender -lfontconfig -lfontconfig
> ./.libs/libpangoxft-1.0.so: undefined reference to `XftGlyphExtents'
> ./.libs/libpangoxft-1.0.so: undefined reference to `XftCharIndex'
> ./.libs/libpangoxft-1.0.so: undefined reference to `XftGlyphSpecRender'
> ./.libs/libpangoxft-1.0.so: undefined reference to `XftDrawGlyphSpec'
> ./.libs/libpangoxft-1.0.so: undefined reference to `XftLockFace'
> ./.libs/libpangoxft-1.0.so: undefined reference to `XftUnlockFace'
> ./.libs/libpangoxft-1.0.so: undefined reference to `XftDrawCharSpec'
> ./.libs/libpangoxft-1.0.so: undefined reference to `XftCharSpecRender'
> ./.libs/libpangoxft-1.0.so: undefined reference to `XftCharExists'
> collect2: ld returned 1 exit status
> make[3]: *** [pango-querymodules] Error 1
> make[3]: Leaving directory `/root/pango/pango'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/root/pango/pango'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/root/pango'
> 
> any help appreciated
> _______________________________________________
> Fonts mailing list
> Fonts XFree86 Org
> http://XFree86.Org/mailman/listinfo/fonts



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]